Microsoft KB Archive/318061

= FIX: Reloading the solution from Visual SourceSafe changes the startup project in Visual Studio .NET 2002 and Visual Studio .NET 2003 =

Article ID: 318061

Article Last Modified on 8/25/2005

-

APPLIES TO

 Microsoft Visual SourceSafe 6.0C, when used with:  Microsoft Visual Studio .NET 2002 Professional Edition

 Microsoft Visual Studio .NET 2002 Enterprise Architect

 Microsoft Visual Studio .NET 2002 Enterprise Developer

 Microsoft Visual Studio .NET 2003 Professional Edition</li></ul>

 Microsoft Visual Studio .NET 2003 Enterprise Architect</li></ul>

 Microsoft Visual Studio .NET 2003 Enterprise Developer</li></ul> </li></ul>

-

<div class="notice_section">

This article was previously published under Q318061

<div class="symptoms_section">

SYMPTOMS
In Visual Studio .NET, when you reload the solution that contains multiple projects from Visual SourceSafe, the startup project may be changed.

<div class="cause_section">

CAUSE
This is in the environment code. When the solution is closed, the startup project is reset to NULL, which makes another project the startup project.

<div class="resolution_section">

RESOLUTION
Set the startup project manually.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

Steps to Reproduce Behavior

 * 1) Use Visual Basic .NET to create a Web Service Project named MyWebService. (Visual Basic .NET also creates the solution MyWebService.)
 * 2) Create a Web Application Project named MyWebApplication, and then add it to the MyWebService solution.
 * 3) Set the project as the startup project, and then set the WebForm1.aspx as the start page.
 * 4) Add this solution to Source Control.

Note Microsoft recommends that you always allow addition of Web projects that use File Share to have access to Source Control.
 * 1) To run the web form, press F5.
 * 2) Close both the solution and Microsoft Internet Explorer.
 * 3) Open the solution from Visual Source Control: On the File menu, click Source Control, and then click Open From Source Control. (You must create a new folder named NewMyWebService for the reload process.)

Note that the startup project is changed to the MyWebService project.

Keywords: kbbug kbnofix kbvs2002sp1sweep KB318061

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.