Skip to content

[Bug] "UpdateAssemblyInfo" task was not given a value for the required parameter "Language" #2539

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
curicm opened this issue Jan 14, 2021 · 2 comments · Fixed by #2529
Closed
Labels
Milestone

Comments

@curicm
Copy link

curicm commented Jan 14, 2021

Describe the bug
After switching from GitVersionTask to GitVersion.MSbuild, error occurs in UpdateAssemblyInfo.

Expected Behavior

Build should succeed as is did using GitVersionTask on the same project. Nothing was changed on the project file.

Actual Behavior

msbuild igm.Installer.wixproj /p:configuration=release
Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 14/01/2021 07:42:18.
Project "igm.Installer.wixproj" on node 1 (default targets).
RunGitVersion:
C:\dev\AutoStore\asigm\asigm\packages\GitVersion.MsBuild.5.6.3\tools\net48/gitversion.exe igm.Installer -outp
ut file -outputfile /gitversion.json
C:\dev\AutoStore\asigm\asigm\packages\GitVersion.MsBuild.5.6.3\tools\GitVersion.MsBuild.targets(134,9): error MSB4044: The "UpdateAssemb
lyInfo" task was not given a value for the required parameter "Language". [C:\dev\igm\igm.Installer\igm.Installer.wixpro
j]
Done Building Project "C:\dev\igm\igm.Installer.wixproj" (default targets) -- FAILED.
Build Failed

Steps to Reproduce

clone https://github.com/curicm/GitVersionWixIssue
run:
msbuild WixInstallerTest.wixproj
error as described above occurs
exclude GitVersion.MSBuild and run msbuild WixInstallerTest.wixproj
error does not occur

Context

msbuild fails building a Wix installer project

Your Environment

Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

  • Version Used:
  • Operating System: Windows 10
@curicm curicm added the bug label Jan 14, 2021
@curicm curicm changed the title [Bug] [Bug] : "UpdateAssemblyInfo" task was not given a value for the required parameter "Language". Jan 14, 2021
@curicm curicm changed the title [Bug] : "UpdateAssemblyInfo" task was not given a value for the required parameter "Language". [Bug] "UpdateAssemblyInfo" task was not given a value for the required parameter "Language" Jan 14, 2021
@arturcic
Copy link
Member

It was fixed in #2529

@github-actions
Copy link

🎉 This issue has been resolved in version 5.6.4 🎉
The release is available on:

Your GitReleaseManager bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants