 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
murphys811
Joined: 25 Jan 2008 Posts: 4
|
Posted: Fri Jan 25, 2008 10:28 am MSBuild cannot map path to server side include |
|
|
|
I am trying to use automated builds for my website. This uses MSBuild to compile everything and then it ships it out.
I just recently added a server side include to my main page. When I just save the file and throw it on the server, the server side include works. However, when I try to build the project in Visual Studio 2005 I get a "Failed to map the path '/X/Y/Z.html'" and the automated build fails each time because MSBuild fails.
Any suggestions?
| Code: |
| <!-- #include virtual="/X/Y/Z.html" --> |
|
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8749 Location: Castle Pines North, CO USA
|
|
murphys811
Joined: 25 Jan 2008 Posts: 4
|
Posted: Tue Jan 29, 2008 5:30 am |
|
|
|
| It is .NET 2.0 and the tilda did not help. I am starting to look if there are MSBuild options to ignore server side include errors. So far, nothing. |
|
murphys811
Joined: 25 Jan 2008 Posts: 4
|
Posted: Tue Jan 29, 2008 5:35 am |
|
|
|
Here is another bit of information that might change the situation:
The include file is not within the website's virtual folder, only the server's.
\\SERVER\BASE_FOLDER\INCLUDE_FOLDER\INCLUDE_FILE.html
\\SERVER\BASE_FOLDER\WEBSITE_FOLDER\... |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8749 Location: Castle Pines North, CO USA
|
|
murphys811
Joined: 25 Jan 2008 Posts: 4
|
Posted: Sat Feb 09, 2008 4:15 am |
|
|
|
| What kind of internet permissions are you talking about. This doesn't even build locally. |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8749 Location: Castle Pines North, CO USA
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|