Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Pre-processing of vcproj file is failing (rc file) (https://www.kinook.com/Forum/showthread.php?t=1994)

craiga 08-14-2006 12:47 PM

Pre-processing of vcproj file is failing (rc file)
 
Using Visual Studio 2003, we have a .mc source file that at build time generates a .rc file which the vcproj is configured to run the rc tool against.

Our problem is that when we try to build using VBP, we get an error preprocessing the vcproj file since it cannot find the .rc file, which won't be generated until after the project is compiled.

Pre-processing...
Error pre-processing project file 'C:\test\Core.MessageCatalog.vcproj': Could not find file 'C:\test\my-messages.rc'.

8/14/2006 12:28:35 PM: Step 'Compile Core sln' failed
8/14/2006 12:28:35 PM: Build ended.



It is nice that VBP seems to be trying to help me by pre-processing the Visual Studio file, but is there a way to turn this off and just have it go ahead and build the solution? I have included the sections from the vcproj file below:



Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jp e;resx"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">

Name="Debug|Win32">
ShowProgress="TRUE"/>


Name="VCResourceCompilerTool"
ShowProgress="TRUE"/>





Name="Debug|Win32">
CommandLine=""$(VSInstallDir)"\common7\tools\bin\mc.exe $(InputPath) -h $(ProjectDir) -r $(ProjectDir)"
Outputs=""$(ProjectDir)"$(InputName).h"/>

Name="Release|Win32">
Outputs=""$(ProjectDir)"$(InputName).h"/>


kinook 08-14-2006 04:45 PM

Don't use any options that would cause the Make VS.NET action to modify the .rc file (set/increment versions or set properties).


All times are GMT -5. The time now is 03:40 AM.


Copyright © 1999-2023 Kinook Software, Inc.