PDA

View Full Version : VS 2015 - RC file in vcxproj file not updated


cpede
07-06-2017, 07:26 AM
I'm building a VS2015 solution and uses the Properties page in the step to update the project properties for each project in the solution.

For most project I get something like this:

d:\code\sln\..\myproject.vcxproj...setting properties...setting version...

but for some reason it does not do this for all project in the solution?

Any idea how it finds the RC files for each project and how why it skips some even it exists?

-cpede

kinook
07-06-2017, 11:33 AM
The Make VS actions parse a .vcxproj file for any .rc files in Compile, ClCompile, and ResourceCompile items. Please send or post the project file(s) that aren't working.

http://www.kinook.com/Forum/showthread.php?t=3044

Thanks.

cpede
07-06-2017, 01:00 PM
Project examples sent to support email.

kinook
07-07-2017, 07:37 AM
It's finding the .rc file, but since it looks for

\s*VS_VERSION_INFO\s+VERSIONINFO

to identify a VERSIONINFO resource, and the .rc file in your project has

1 VERSIONINFO

it doesn't process the versions. Changing that to

VS_VERSION_INFO VERSIONINFO

in the .rc file will make it work.

cpede
07-07-2017, 08:19 AM
That's it thanks.

-cpede

kinook
07-08-2017, 12:39 PM
In the latest download, the Make VS actions have been updated to handle values other than VS_VERSION_INFO for the VERSIONINFO resource version ID.