devbuild failing - sfxca.rc #7387
Replies: 2 comments
-
Worked on another machine. Complete uninstall/reinstall of VS and the problem is gone. |
Beta Was this translation helpful? Give feedback.
-
I've seen this on another machine. I tried installing different Git versions but no luck. Uninstall/reinstall of VS fixed the problem again. This time I captured what components were installed befroe and after. The following are new components that weren't previously installed. Microsoft.VisualStudio.Component.Roslyn.Compiler The problem is coming out of this block. Some how %(Culture) doesn't resolve when it fails. %(PreprocessorDefinitions); GITVER_FILEVER=$(FileVersion.Replace('.', ',')); GITVER_PRODUCTVER=$(AssemblyVersion.Replace('.', ',')); GITVER_FILE_VERSION=$(FileVersion); GITVER_PRODUCT_VERSION=$(AssemblyVersion); GITVER_FILE_TYPE=$(_ResourceFileType); GITVER_CODEPAGE=0; GITVER_LCID=$([System.Convert]::ToInt32('%(Culture)', 16)); GITVER_VERSION_BLOCK=$([System.Convert]::ToString($([MSBuild]::Multiply($([System.Convert]::ToUint64('%(Culture)', 16)), 65536)), 16).PadLeft(8, '0')); GITVER_COMPANY=$(Company); GITVER_COPYRIGHT=$(Copyright); GITVER_TITLE=$(Title); GITVER_PRODUCT=$(Product); GITVER_INFORMATIONAL_VERSION=$(InformationalVersion); GITVER_INTERNAL_NAME=$(TargetName); GITVER_FILE_NAME=$(TargetFileName); |
Beta Was this translation helpful? Give feedback.
-
I have VS Community 17.5.3 with the workloads and components specified in the README.rc. My fork is in sync and I'm on the develop branch. When I run devbuild.cmd I get this error:
C:\GitHub\wix4\src\Directory.vcxproj.targets(21,5): error MSB4096: The item "SfxCA.rc" in item list "ResourceCompile" d
oes not define a value for metadata "Culture". In order to use this metadata, either qualify it by specifying %(Resour
ceCompile.Culture), or ensure that all items in this list define a value for this metadata. [C:\GitHub\wix4\src\dtf\Sfx
CA\SfxCA.vcxproj]
What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions