Skip to content

Conversation

@Bi0T1N
Copy link
Contributor

@Bi0T1N Bi0T1N commented Jan 31, 2025

Description

One change avoids compiling git from source since the version provided by the OS is fine and can be installed quickly (compared to compiling git). The other one addresses the problem that the dotnet:dev-8.0 doesn't work out-of-the-box because the global.json defines SDK 9.0 (not sure if this is the problem but my changes fixed the issue and got the devcontainer running) so that you need dotnet:dev-9.0.

Motivation and Context

Better out-of-the-box experience.

How Has This Been Tested?

Setting up the project in VS Code and running the testsuite with dotnet test --framework net9.0 src/

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

use git version from OS to avoid compiling newest version
from source -> saves quite some time
the SDK version is defined as v9.0 in global.json and hence
it shows that NET 9.0 is missing in the dotnet v8.0 container

compiling and running the tests works now:
dotnet test --framework net9.0 src/
@arturcic
Copy link
Member

@Bi0T1N thank you for the updates, nowadays I use less devcontainer for GitVersion but glad there is still interest in this

@arturcic arturcic merged commit 0d5abd6 into GitTools:main Jan 31, 2025
7 checks passed
@mergify
Copy link
Contributor

mergify bot commented Jan 31, 2025

Thank you @Bi0T1N for your contribution!

@Bi0T1N Bi0T1N deleted the devcontainer_fixes branch January 31, 2025 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants