Adding a new website to existing WCSF solution

Topics: Web Client Software Factory
Nov 19 2010 at 9:25 PM

I have a WCSF solution and I am using Visual Studio 2008 and have Web Client Development package (February 2008) installed. It was created in VS 2005 but we migrated the Solution to VS 2008. Now I want to add a new website (web project) by going to Web Client Factory > Add Business Module (C#). I get a Add Module screen but the website dropdown list is empty. I cannot see the existing websites either. What is it that is causing it not to load websites?

Nov 22 2010 at 3:14 PM

This is a dead forum. Anybody?

Nov 23 2010 at 1:02 PM

boo!

Nov 23 2010 at 6:39 PM

Hi,

Sorry for the delay, first of all please take into account that it is supported only one web site project for each solution. if you need to see your web project listed when adding modules to your solution, you must ensure that the .csproj file of your Web Site contains the ProjectExtensions section and that the UserProperties tag contains the attribute IsWebProject with value True.

  <ProjectExtensions>
    <VisualStudio>
      <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
        <WebProjectProperties>
          <UseIIS>False</UseIIS>
          <AutoAssignPort>True</AutoAssignPort>
          <DevelopmentServerPort>3801</DevelopmentServerPort>
          <DevelopmentServerVPath>/</DevelopmentServerVPath>
          <IISUrl>http://localhost/WebApplication</IISUrl>
          <NTLMAuthentication>False</NTLMAuthentication>
          <UseCustomServer>False</UseCustomServer>
          <CustomServerUrl>
          </CustomServerUrl>
          <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
        </WebProjectProperties>
      </FlavorProperties>
      <UserProperties IsWebProject="true" />
    </VisualStudio>
  </ProjectExtensions>

Hope this helps.

Fernando Antivero
http://blogs.southworks.net/fantivero

Nov 29 2010 at 5:03 PM

We have one root website proj with several subs that were created by the guidance packages (Add Business Module) but now when we try to add a new Business Module with a sub website the root site is not showing in the drop down. 

I checked the project file of the root and here is the values you listed to check:

<UserProperties IsWebProject="true" IsFolderOfRootWebProject="true" />

So everything looks correct there. What else would cause the guidance package to not locate the root website. If I add a Foundation Module the namespace of the root website is found. I find it odd that the Add Business Module is unable to load the Root website into the drop down.

 

Any suggestions?

Jan 5 at 4:08 AM

Hi,

I am sailing in the same boat. I am unable to see the website nor when I tried to add a Page with Presenter(VB) the Module Project dropdown is empty and the Website is also empty.

Recently I changed the website to IIS website that is the only change I made

Any help in this matter is appreciated.

Thanks

Satish

Jan 5 at 4:36 PM

Hi,

Based on my understanding, you might find the following discussions useful, where similar issues are addressed:

Also you could check the following blog post. Although this may be a different scenario, I believe the issue: "Website is not being recognized as a WebProject" described in the Known Issues section could be related to yours:

I hope you find this handy,

Agustin Adami
http://blogs.southworks.net/aadami