You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following error message when i want to use Nerdbank.GitVersioning on WixToolset Bundle (output .exe) project: CodeDomProvider not available for language: wix. No version info will be embedded into assembly.
The property <NBGV_EmitThisAssemblyClass>false</NBGV_EmitThisAssemblyClass> it doesn't solve the problem.
As a workaround using this <GenerateAssemblyVersionInfo>false</GenerateAssemblyVersionInfo> it's possible to use Nerdbank.GitVersioning in Wix Bundle projects.
What do you think about the following solution?
I would add the following lines in Nerdbank.GitVersioning.targets files to the line: 42 <!-- Suppress assembly version info generation for WixToolset Bundle project. --> <GenerateAssemblyVersionInfo Condition=" '$(GenerateAssemblyVersionInfo)' == '' and '$(Language)' == 'wix' and '$(TargetExt)' == '.exe' ">false</GenerateAssemblyVersionInfo>
Your workaround and proposed code change looks good to me. What if you drop the $(TargetExt) part of the condition though, since that seems irrelevant. Wanna send a PR?
I have the following error message when i want to use Nerdbank.GitVersioning on WixToolset Bundle (output .exe) project:
CodeDomProvider not available for language: wix. No version info will be embedded into assembly.
The property <NBGV_EmitThisAssemblyClass>false</NBGV_EmitThisAssemblyClass> it doesn't solve the problem.
Do you think this can be handled in AssemblyVersionInfo.cs?
The text was updated successfully, but these errors were encountered: