Nuke doesn't work with GitVersion 5.1.3
See original GitHub issueDescription
Nuke 0.23.4 fails when trying to use GitVersion 5.1.3. Nuke specifies framework netcoreapp3.0 when launching the tool, but GitVersion uses netcoreapp3.1.
Steps to reproduce
- Add GitVersionAttribute to a field in the Build class.
 - Run build
 
Relevant log output
Assertion failed: Package executable GitVersion.dll, or GitVersion.exe [GitVersion.Tool|GitVersion.CommandLine] requires a framework:
 - netcoreapp2.1
 - netcoreapp3.1
   at Nuke.Common.ControlFlow.Fail(String text)
   at Nuke.Common.ControlFlow.Assert(Boolean condition, String text)
   at Nuke.Common.Tooling.ToolPathResolver.GetPackageExecutable(String packageId, String packageExecutable, String version, String framework)
   at Nuke.Common.Tools.GitVersion.GitVersionTasks.GetToolPath(String framework)
   at Nuke.Common.Tools.GitVersion.GitVersionSettings.GetToolPath()
   at Nuke.Common.Tools.GitVersion.GitVersionSettings.get_ToolPath()
   at Nuke.Common.Tooling.ProcessTasks.StartProcess(ToolSettings toolSettings)
   at Nuke.Common.Tools.GitVersion.GitVersionTasks.GitVersion(GitVersionSettings toolSettings)
   at Nuke.Common.Tools.GitVersion.GitVersionTasks.GitVersion(Configure`1 configurator)
   at Nuke.Common.Tools.GitVersion.GitVersionAttribute.GetValue(MemberInfo member, Object instance)
   at Nuke.Common.Execution.InjectionUtility.InjectValuesInternal[T](T instance, IEnumerable`1 tuples)
   at Nuke.Common.Execution.InjectionUtility.InjectValues[T](T instance, Func`2 filter)
   at Nuke.Common.Execution.BuildManager.Execute[T](Expression`1[] defaultTargetExpressions)
Issue Analytics
- State:
 - Created 4 years ago
 - Comments:13 (7 by maintainers)
 
Top Results From Across the Web
Versioning Artifacts | NUKE
NUKE supports 4 different tools that help generating version numbers from your repository and its commits. Each of these tools comes with its ......
Read more >Nuke.Common 0.5.0
Version Downloads Last updated
7.0.2 7,256 12 days ago
7.0.1 3,625 16 days ago
7.0.0 22,607 25 days ago
Read more >Removing sensitive data from your Git history with BFG
Here's how to remove sensitive data, like certificate files or passwords in your files, from your git repo and history with BFG Repo-Cleaner ......
Read more >git : give me the repo, nuke everything local, I don't care
git branch -D tempBranch. If that doesn't work, the "strategic nuke" option is to delete the repo and clone it again.
Read more >2.5 Git Basics - Working with Remotes
To be able to collaborate on any Git project, you need to know how to manage your remote repositories. Remote repositories are versions...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This can be resolved currently by giving a framework to the attribute:
Please vote everyone: https://github.com/GitTools/GitVersion/issues/2024