dawson
12-03-2003, 11:30 AM
Hi,
I am trying to build a .NET Solution that contains a web project. Everything is C#.
The solution file has a reference to the Web Application that is http:\\localhost\logonapp\LogonWebforms.csproj. The project is located at C:\MyFiles\LogonApp\LogonWebForms.
When I build the solution using BuildIt, I create virtual directory called "logonapp" that points to the web application files (ie. C:\MyFiles\LogonApp\LogonWebforms). I use the following script:
vbld_CreateVirtualDir "C:\MyFiles\LogonApp\LogonWebforms", "logonapp". Then I build the solution.
Everything looks good in IIS, the virtual directory is there and pointing the right location with the proper .csproj files. However, during the project build the output states the following error:
Unable to open Web project 'logonapp'. The file path 'C:\Inetpub\wwwroot\logonapp' does not correspond to the URL 'http://localhost/logonapp'. The two need to map to the same server location. HTTP Error 404: Object Not Found------ Build started: Project: LogonComponents, Configuration: Debug .NET ------
I can't figure out why this happens. Any help would be greatly appreciated.
Regards,
Dawson
I am trying to build a .NET Solution that contains a web project. Everything is C#.
The solution file has a reference to the Web Application that is http:\\localhost\logonapp\LogonWebforms.csproj. The project is located at C:\MyFiles\LogonApp\LogonWebForms.
When I build the solution using BuildIt, I create virtual directory called "logonapp" that points to the web application files (ie. C:\MyFiles\LogonApp\LogonWebforms). I use the following script:
vbld_CreateVirtualDir "C:\MyFiles\LogonApp\LogonWebforms", "logonapp". Then I build the solution.
Everything looks good in IIS, the virtual directory is there and pointing the right location with the proper .csproj files. However, during the project build the output states the following error:
Unable to open Web project 'logonapp'. The file path 'C:\Inetpub\wwwroot\logonapp' does not correspond to the URL 'http://localhost/logonapp'. The two need to map to the same server location. HTTP Error 404: Object Not Found------ Build started: Project: LogonComponents, Configuration: Debug .NET ------
I can't figure out why this happens. Any help would be greatly appreciated.
Regards,
Dawson