This project is read-only.
1
Vote

Failed increment on VS2010 and MFC

description

1) Create a new MFC project (unmanaged C++)
2) Enable the BVI plugin
3) Set the properties: "Detect changes" = FALSE, "Update AssemblyFile Version" = TRUE, "Update Assembly Version" = TRUE, "Versioning Style" = "None.None.Increment.None"
4) Build

The BVI fails with the error:

[Error] Failed to locate attribute "ProductVersion" in file "E:\Documents and Settings\serpea\Documenti\Visual Studio 2010\Projects\TLV++\TLV++\TLV++.rc".
[Error] Failed to locate attribute "PRODUCTVERSION" in file "E:\Documents and Settings\serpea\Documenti\Visual Studio 2010\Projects\TLV++\TLV++\TLV++.rc".
[Error] Failed to locate attribute "FileVersion" in file "E:\Documents and Settings\serpea\Documenti\Visual Studio 2010\Projects\TLV++\TLV++\TLV++.rc".
[Error] Failed to locate attribute "FILEVERSION" in file "E:\Documents and Settings\serpea\Documenti\Visual Studio 2010\Projects\TLV++\TLV++\TLV++.rc".

WORKAROUND: I manually removed white space in .rc file between attributes and values. After saving the file, the BVI plugin correctly works.

comments