#1
|
|||
|
|||
C# Pre-Build step corrupted by Visual Build
If a C# project (using VS.NET 2003) has a pre-build step defined which contains quotes (e.g. dir "c:\windows") and you have 'Set the base address to a random value if not set' selected in the Visual Build Step Properties on the Versions page, then Visual Build replaces the quotes in the project file with ';quote' (converts to valid xml).
Since the pre-build step is executed as a batch file, you get an invalid syntax. To get around the problem, I changed the Visual Build setting to 'No' since I don't think the option is doing anything for a C# project anyway. But it could pose a problem if my solution also contained C++ projects. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|