You cannot change the value of the Link Repair property of a Web Application project in Visual Studio .NET (837227)
The information in this article applies to:
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2003), Academic Edition
- Microsoft Visual Studio .NET (2002), Professional Edition
- Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2002), Academic Edition
SYMPTOMSIn Microsoft Visual Studio
.NET , when you try to change the value of the Link Repair property of a Microsoft ASP.NET Web Application project to True, you may notice that the change is not accepted and that the value of the Link Repair property remains set to
False.WORKAROUNDTo work around this behavior, you must first change the Web Access Mode option from File Share to
FrontPage, close the solution, open the
solution again, and then change the value of the Link Repair property. To change the value of Link Repair property, follow these steps:
- In Microsoft Visual Studio .NET, create an ASP.NET Web application by using Visual C# .NET or
Visual Basic .NET. Name the project MyApplication.
- In Solution Explorer, right-click
MyApplication, and then click Properties. The
MyApplication Property Pages dialog box appears.
- Under Common
Properties in the right pane, click Web Settings.
- Change the Web Access Mode option to FrontPage. To do this, use one of the following methods, depending on whether you used Visual C# .NET or Visual Basic .NET to create your Web Application project:
- Visual C# .NET
In the Web Access Mode box, click FrontPage. - Visual Basic .NET
Under
Web Access Method, click FrontPage.
- Click OK.
- On the File menu, click Close
Solution.
- On the File menu, point to
Open, and then click Project. The
Open Project dialog box appears.
- Double-click the MyApplication project folder, click MyApplication.sln, and then click Open.
- In Solution Explorer, right-click
MyApplication, and then click Properties. The
MyApplication Property Pages dialog
box appears.
- Under Common
Properties in the right pane, click Web Settings.
- Change the value of the Link Repair property to True. To do this, use one of the following methods, depending on whether you used Visual C# .NET or Visual Basic .NET to create your Web Application project:
- Visual C# .NET
In the Link Repair box, click True. - Visual Basic .NET
Under
Web Access Method, click to select the Link Repair check box.
- Click Apply. Visual Studio .NET accepts
your change to the value of the Link Repair property.
STATUS This
behavior is by design.REFERENCESFor more information about the Link Repair property and about other Web project options, visit the following
Microsoft Developer Network (MSDN) Web sites:
Modification Type: | Minor | Last Reviewed: | 2/14/2006 |
---|
Keywords: | kbvs2005doesnotapply kbvs2005swept kbweb kbProperties kbprb KB837227 kbAudDeveloper |
---|
|