When I open a web project from a sandbox, Visual Studio reports:
“The project you are trying to open is a Web project. You need to
open it by specifying its URL path”
The project is checked out from a repository into a sandbox. I don’t
want the developer to have to setup IIS on their local machine to
enable the editing of the web project – I want to configure the web
project so that it only references files in the developer’s sandbox.
The application’s system dependencies, anyway, require all the
binaries to be copied to a test server for anyone to be able to run
and check their work.
I heard it is possible to bypass IIS by enabling web sharing on a
sandbox’s folder. I did this by clicking properties, selecting Web
Sharing, and chosing “Share this folder” and giving the same alias
name as the virtual folder name IIS uses on the test server.
Despite doing this, I still get the Web Project error. What am I
doing wrong?
Here’s my current configuration of the solution, project, and files in
the sandbox, any help would be much apprecieated:
Sandbox:
G:\MySandBox\My WebApp.sln
G:\MySandBox\My WebApp.csproj.w ebinfo
G:\MySandBox\My WebApp.csproj
G:\MySandBox\de fault.aspx
G:\MySandBox\de fault.aspx.cs
G:\MySandBox\de fault.aspx.resx
G:\MySandBox\Gl obal.asax
G:\MySandBox\Gl obal.asax.cs
G:\MySandBox\Gl obal.asax.resx
MyWebApp.csproj .webinfo:
<VisualStudioUN CWeb>
<Web URLPath = file:\\MyWebApp .csproj />
</VisualStudioUNC Web>
MyWebApp.sln:
Microsoft Visual Studio Solution File, Format Version 8.00
Project(“{FAE04 EC0-301F-11D3-BF4B-00C04F79EFBC}”) = “MyWebApp”,
“MyWebApp.cspro j”, “{DB706866-A668-BD49-9501FCC23690}”
ProjectSection( ProjectDependen cies) = postProject
EndProjectSecti on
EndProject
Thanks in advance, Andy