Skip to content
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]: Fails with Net48 project #4189

Closed
2 tasks done
drewcassidy opened this issue Aug 31, 2024 · 1 comment
Closed
2 tasks done

[ISSUE]: Fails with Net48 project #4189

drewcassidy opened this issue Aug 31, 2024 · 1 comment

Comments

@drewcassidy
Copy link

Prerequisites

  • I have written a descriptive issue title
  • I have searched issues to ensure it has not already been reported

GitVersion package

GitVersion.MsBuild

GitVersion version

6.0.2

Operating system

macOS

What are you seeing?

I attempted to add this to my project, and when I try to build I get this error

dotnet --roll-forward Major "/Users/drewcassidy/.nuget/packages/gitversion.msbuild/6.0.2/tools/net48/gitversion.dll" "/Users/drewcassidy/Code/Shabby/Source"  -output file -outputfile "obj/gitversion.json"
Could not execute because the specified command or file was not found.
Possible reasons for this include:
  * You misspelled a built-in dotnet command.
  * You intended to execute a .NET program, but dotnet---roll-forward does not exist.
  * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.

I can confirm that dll path does not exist, but does exist for other dotnet versions

What is expected?

Build succeeds

Steps to Reproduce

Clone this repo, attempt to build

RepositoryFixture Test

No response

Output log or link to your CI build (if appropriate).

https://github.com/KSPModdingLibs/Shabby/actions/runs/10642923789/job/29505883955
@arturcic
Copy link
Member

arturcic commented Aug 31, 2024

Support for .net 4.8 was dropped #2997

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

No branches or pull requests

3 participants
@arturcic @drewcassidy and others