Subscribe to
Posts
Comments

Web projects in VS.NET

Spent a couple of hours today trying to open a VS.NET web project in a solution. All inherited code so I can’t change things. Web project won’t open – keeps complaining about “file not found”, or “you are trying to open a web project, you must specify the full root path” etc.

Solution was to add a projectname.webinfo file into the web project folder – turns out this was missing…

<VisualStudioUNCWeb>
	<Web URLPath = "http://localhost/FOLDER/PROJECTNAME.csproj" />
</VisualStudioUNCWeb>

Et voila… the web project loads and all is good in the world.

Leave a Reply