View Single Post
  #1  
Old 11-19-2004, 11:55 AM
joes joes is online now
Registered User
 
Join Date: 11-17-2004
Posts: 13
csproj file containing "&" in a PreBuildEvent step fails to parse

In a csproj file I have a line like this:

PreBuildEvent = 'cd $(ProjectDir) & "$(DevEnvDir)\..\..\Vc7\Bin\nmake"'


When I try to build the solution containing this csproj file under Visual Build Pro I get this error:

Error loading info for project file 'C:\Foo.csproj': An error occurred while parsing EntityName. Line 19, position 52.

The character at position 52 is the "&".

Is there a way to change the PreBuildEvent command so both Visual Studio and Visual Build accept it?
Reply With Quote