-
Notifications
You must be signed in to change notification settings - Fork 652
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
[ISSUE]: Building with target framework net8.0-windows requires a <GitVersionTargetFramework>
#4192
Comments
This workaround is currently needed for WIX5 installer projects, too (they usually don't have a target framework set). |
This is not only specific for I get the same issue:
Short update: I now have a project, where setting |
Please try version 6.0.2 |
@arturcic I already realized that I was using 6.0.0... It works again with |
Is there any further information missing, as the PR with a potential fix has been available since mid-September?#4206 |
Closed by #4206 |
🎉 This issue has been resolved in version 6.0.4 🎉 Your GitReleaseManager bot 📦🚀 |
Prerequisites
GitVersion package
GitVersion.MsBuild
GitVersion version
6.0.2
Operating system
Windows
What are you seeing?
Build fails when building a project that has
<TargetFramework>net8.0-windows</TargetFramework>
with a dependency on GitVersion.MsBuild 6.0.2. Build output:A workaround is to add
<GitVersionTargetFramework>net8.0</GitVersionTargetFramework>
to the project file.What is expected?
It should not be required to add
<GitVersionTargetFramework>net8.0</GitVersionTargetFramework>
to the project file.Steps to Reproduce
FlaUI/FlaUI.WebDriver#68
RepositoryFixture Test
No response
Output log or link to your CI build (if appropriate).
No response
The text was updated successfully, but these errors were encountered: