File tree Expand file tree Collapse file tree
GitVersion.Output.Tests/Output Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ If you want to override the target framework that GitVersion uses to determine t
239239```xml
240240<PropertyGroup >
241241 ...
242- <GitVersionTargetFramework >net8 .0</GitVersionTargetFramework >
242+ <GitVersionTargetFramework >net10 .0</GitVersionTargetFramework >
243243 ...
244244</PropertyGroup >
245245```
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ exclude:
112112# Execute shell command before Qodana execution (Applied in CI/CD pipeline)
113113bootstrap : curl -fsSL https://dot.net/v1/dotnet-install.sh | bash -s -- --jsonfile /data/project/global.json -i /usr/share/dotnet && dotnet build src/GitVersion.slnx
114114dotnet :
115- frameworks : net8.0;net9.0
115+ frameworks : net8.0;net9.0;net10.0
116116 solution : src/GitVersion.slnx
117117
118118# Install IDE plugins before Qodana execution (Applied in CI/CD pipeline)
Original file line number Diff line number Diff line change 11<component name =" ProjectRunConfigurationManager" >
22 <configuration default =" false" name =" cli (help)" type =" DotNetProject" factoryName =" .NET Project" >
3- <option name =" EXE_PATH" value =" $PROJECT_DIR$/GitVersion.App/bin/Debug/net9 .0/gitversion" />
3+ <option name =" EXE_PATH" value =" $PROJECT_DIR$/GitVersion.App/bin/Debug/net10 .0/gitversion" />
44 <option name =" PROGRAM_PARAMETERS" value =" -help" />
5- <option name =" WORKING_DIRECTORY" value =" $PROJECT_DIR$/../.. " />
5+ <option name =" WORKING_DIRECTORY" value =" $PROJECT_DIR$/GitVersion.App/bin/Debug/net10.0 " />
66 <option name =" PASS_PARENT_ENVS" value =" 1" />
7- <option name =" USE_EXTERNAL_CONSOLE" value =" 0" />
7+ <option name =" ENV_FILE_PATHS" value =" " />
8+ <option name =" REDIRECT_INPUT_PATH" value =" " />
9+ <option name =" MIXED_MODE_DEBUG" value =" 0" />
810 <option name =" USE_MONO" value =" 0" />
911 <option name =" RUNTIME_ARGUMENTS" value =" " />
12+ <option name =" AUTO_ATTACH_CHILDREN" value =" 0" />
1013 <option name =" PROJECT_PATH" value =" $PROJECT_DIR$/GitVersion.App/GitVersion.App.csproj" />
1114 <option name =" PROJECT_EXE_PATH_TRACKING" value =" 1" />
1215 <option name =" PROJECT_ARGUMENTS_TRACKING" value =" 1" />
13- <option name =" PROJECT_WORKING_DIRECTORY_TRACKING" value =" 0 " />
16+ <option name =" PROJECT_WORKING_DIRECTORY_TRACKING" value =" 1 " />
1417 <option name =" PROJECT_KIND" value =" DotNetCore" />
15- <option name =" PROJECT_TFM" value =" net9 .0" />
18+ <option name =" PROJECT_TFM" value =" net10 .0" />
1619 <method v =" 2" >
1720 <option name =" Build" />
1821 </method >
Original file line number Diff line number Diff line change 11<component name =" ProjectRunConfigurationManager" >
22 <configuration default =" false" name =" cli (showconfig)" type =" DotNetProject" factoryName =" .NET Project" >
3- <option name =" EXE_PATH" value =" $PROJECT_DIR$/GitVersion.App/bin/Debug/net9 .0/gitversion" />
3+ <option name =" EXE_PATH" value =" $PROJECT_DIR$/GitVersion.App/bin/Debug/net10 .0/gitversion" />
44 <option name =" PROGRAM_PARAMETERS" value =" -showconfig" />
5- <option name =" WORKING_DIRECTORY" value =" $PROJECT_DIR$/.. " />
5+ <option name =" WORKING_DIRECTORY" value =" $PROJECT_DIR$/GitVersion.App/bin/Debug/net10.0 " />
66 <option name =" PASS_PARENT_ENVS" value =" 1" />
7- <option name =" USE_EXTERNAL_CONSOLE" value =" 0" />
7+ <option name =" ENV_FILE_PATHS" value =" " />
8+ <option name =" REDIRECT_INPUT_PATH" value =" " />
9+ <option name =" MIXED_MODE_DEBUG" value =" 0" />
810 <option name =" USE_MONO" value =" 0" />
911 <option name =" RUNTIME_ARGUMENTS" value =" " />
12+ <option name =" AUTO_ATTACH_CHILDREN" value =" 0" />
1013 <option name =" PROJECT_PATH" value =" $PROJECT_DIR$/GitVersion.App/GitVersion.App.csproj" />
1114 <option name =" PROJECT_EXE_PATH_TRACKING" value =" 1" />
1215 <option name =" PROJECT_ARGUMENTS_TRACKING" value =" 1" />
13- <option name =" PROJECT_WORKING_DIRECTORY_TRACKING" value =" 0 " />
16+ <option name =" PROJECT_WORKING_DIRECTORY_TRACKING" value =" 1 " />
1417 <option name =" PROJECT_KIND" value =" DotNetCore" />
15- <option name =" PROJECT_TFM" value =" net9 .0" />
18+ <option name =" PROJECT_TFM" value =" net10 .0" />
1619 <method v =" 2" >
1720 <option name =" Build" />
1821 </method >
Original file line number Diff line number Diff line change 11<component name =" ProjectRunConfigurationManager" >
22 <configuration default =" false" name =" cli (version)" type =" DotNetProject" factoryName =" .NET Project" >
3- <option name =" EXE_PATH" value =" $PROJECT_DIR$/GitVersion.App/bin/Debug/net9 .0/gitversion" />
3+ <option name =" EXE_PATH" value =" $PROJECT_DIR$/GitVersion.App/bin/Debug/net10 .0/gitversion" />
44 <option name =" PROGRAM_PARAMETERS" value =" -version" />
55 <option name =" WORKING_DIRECTORY" value =" $PROJECT_DIR$/../.." />
66 <option name =" PASS_PARENT_ENVS" value =" 1" />
7- <option name =" USE_EXTERNAL_CONSOLE" value =" 0" />
7+ <option name =" ENV_FILE_PATHS" value =" " />
8+ <option name =" REDIRECT_INPUT_PATH" value =" " />
9+ <option name =" MIXED_MODE_DEBUG" value =" 0" />
810 <option name =" USE_MONO" value =" 0" />
911 <option name =" RUNTIME_ARGUMENTS" value =" " />
12+ <option name =" AUTO_ATTACH_CHILDREN" value =" 0" />
1013 <option name =" PROJECT_PATH" value =" $PROJECT_DIR$/GitVersion.App/GitVersion.App.csproj" />
1114 <option name =" PROJECT_EXE_PATH_TRACKING" value =" 1" />
1215 <option name =" PROJECT_ARGUMENTS_TRACKING" value =" 1" />
13- <option name =" PROJECT_WORKING_DIRECTORY_TRACKING" value =" 0 " />
16+ <option name =" PROJECT_WORKING_DIRECTORY_TRACKING" value =" 1 " />
1417 <option name =" PROJECT_KIND" value =" DotNetCore" />
15- <option name =" PROJECT_TFM" value =" net9 .0" />
18+ <option name =" PROJECT_TFM" value =" net10 .0" />
1619 <method v =" 2" >
1720 <option name =" Build" />
1821 </method >
Original file line number Diff line number Diff line change 11<component name =" ProjectRunConfigurationManager" >
22 <configuration default =" false" name =" cli" type =" DotNetProject" factoryName =" .NET Project" >
3- <option name =" EXE_PATH" value =" $PROJECT_DIR$/GitVersion.App/bin/Debug/net9 .0/gitversion" />
3+ <option name =" EXE_PATH" value =" $PROJECT_DIR$/GitVersion.App/bin/Debug/net10 .0/gitversion" />
44 <option name =" PROGRAM_PARAMETERS" value =" -nocache -l console" />
5- <option name =" WORKING_DIRECTORY" value =" $PROJECT_DIR$/GitVersion.App/bin/Debug/net9 .0" />
5+ <option name =" WORKING_DIRECTORY" value =" $PROJECT_DIR$/GitVersion.App/bin/Debug/net10 .0" />
66 <option name =" PASS_PARENT_ENVS" value =" 1" />
7- <option name =" USE_EXTERNAL_CONSOLE" value =" 0" />
7+ <option name =" ENV_FILE_PATHS" value =" " />
8+ <option name =" REDIRECT_INPUT_PATH" value =" " />
9+ <option name =" MIXED_MODE_DEBUG" value =" 0" />
810 <option name =" USE_MONO" value =" 0" />
911 <option name =" RUNTIME_ARGUMENTS" value =" " />
12+ <option name =" AUTO_ATTACH_CHILDREN" value =" 0" />
1013 <option name =" PROJECT_PATH" value =" $PROJECT_DIR$/GitVersion.App/GitVersion.App.csproj" />
1114 <option name =" PROJECT_EXE_PATH_TRACKING" value =" 1" />
1215 <option name =" PROJECT_ARGUMENTS_TRACKING" value =" 1" />
1316 <option name =" PROJECT_WORKING_DIRECTORY_TRACKING" value =" 1" />
1417 <option name =" PROJECT_KIND" value =" DotNetCore" />
15- <option name =" PROJECT_TFM" value =" net9 .0" />
18+ <option name =" PROJECT_TFM" value =" net10 .0" />
1619 <method v =" 2" >
1720 <option name =" Build" />
1821 </method >
Original file line number Diff line number Diff line change 11<component name =" ProjectRunConfigurationManager" >
22 <configuration default =" false" name =" schema" type =" DotNetProject" factoryName =" .NET Project" >
3- <option name =" EXE_PATH" value =" $PROJECT_DIR$/GitVersion.Schema/bin/Debug/net9 .0/schema" />
3+ <option name =" EXE_PATH" value =" $PROJECT_DIR$/GitVersion.Schema/bin/Debug/net10 .0/schema" />
44 <option name =" PROGRAM_PARAMETERS" value =" --OutputDirectory schemas --Version 6.1" />
5- <option name =" WORKING_DIRECTORY" value =" $PROJECT_DIR$/.. " />
5+ <option name =" WORKING_DIRECTORY" value =" $PROJECT_DIR$/GitVersion.Schema/bin/Debug/net10.0 " />
66 <option name =" PASS_PARENT_ENVS" value =" 1" />
7- <option name =" USE_EXTERNAL_CONSOLE" value =" 0" />
7+ <option name =" ENV_FILE_PATHS" value =" " />
8+ <option name =" REDIRECT_INPUT_PATH" value =" " />
9+ <option name =" MIXED_MODE_DEBUG" value =" 0" />
810 <option name =" USE_MONO" value =" 0" />
911 <option name =" RUNTIME_ARGUMENTS" value =" " />
12+ <option name =" AUTO_ATTACH_CHILDREN" value =" 0" />
1013 <option name =" PROJECT_PATH" value =" $PROJECT_DIR$/GitVersion.Schema/GitVersion.Schema.csproj" />
1114 <option name =" PROJECT_EXE_PATH_TRACKING" value =" 1" />
1215 <option name =" PROJECT_ARGUMENTS_TRACKING" value =" 1" />
13- <option name =" PROJECT_WORKING_DIRECTORY_TRACKING" value =" 0 " />
16+ <option name =" PROJECT_WORKING_DIRECTORY_TRACKING" value =" 1 " />
1417 <option name =" PROJECT_KIND" value =" DotNetCore" />
15- <option name =" PROJECT_TFM" value =" net9 .0" />
18+ <option name =" PROJECT_TFM" value =" net10 .0" />
1619 <method v =" 2" >
1720 <option name =" Build" />
1821 </method >
Original file line number Diff line number Diff line change 11<Project >
22 <PropertyGroup >
3- <TargetFrameworks >net8.0;net9.0</TargetFrameworks >
3+ <TargetFrameworks >net8.0;net9.0;net10.0 </TargetFrameworks >
44
55 <EndYear >$([System.DateTime]::Today.Year)</EndYear >
66 <Authors >GitTools and Contributors</Authors >
Original file line number Diff line number Diff line change 4141
4242 <None Include =" $(ExePublishPath)/net8.0/publish/**/*;$(BinPath)/net8.0/GitVersion.MsBuild.*" Pack =" true" PackagePath =" tools/net8.0" />
4343 <None Include =" $(ExePublishPath)/net9.0/publish/**/*;$(BinPath)/net9.0/GitVersion.MsBuild.*" Pack =" true" PackagePath =" tools/net9.0" />
44+ <None Include =" $(ExePublishPath)/net10.0/publish/**/*;$(BinPath)/net10.0/GitVersion.MsBuild.*" Pack =" true" PackagePath =" tools/net10.0" />
4445 </ItemGroup >
4546
4647</Project >
Original file line number Diff line number Diff line change 1111 <!-- Validates the target framework and sets the GitVersionTargetFramework property to the target framework that is compatible with the target framework of the project -->
1212 <GitVersionTargetFramework Condition =" '$(GitVersionTargetFramework)' == '' and $([MSBuild]::IsTargetFrameworkCompatible($(TargetFramework), 'net8.0')) == 'true'" >net8.0</GitVersionTargetFramework >
1313 <GitVersionTargetFramework Condition =" '$(GitVersionTargetFramework)' == '' and $([MSBuild]::IsTargetFrameworkCompatible($(TargetFramework), 'net9.0')) == 'true'" >net9.0</GitVersionTargetFramework >
14- <!-- Fall back to net8.0 if the target framework is not compatible with net9.0 and net8.0 -->
14+ <GitVersionTargetFramework Condition =" '$(GitVersionTargetFramework)' == '' and $([MSBuild]::IsTargetFrameworkCompatible($(TargetFramework), 'net10.0')) == 'true'" >net10.0</GitVersionTargetFramework >
15+ <!-- Fall back to net8.0 if the target framework is not compatible with net10.0, net9.0 and net8.0 -->
1516 <GitVersionTargetFramework Condition =" '$(GitVersionTargetFramework)' == ''" >net8.0</GitVersionTargetFramework >
1617 <GitVersionFileExe Condition =" '$(GitVersionFileExe)' == ''" >dotnet --roll-forward Major " $([MSBuild]::EnsureTrailingSlash($(MSBuildThisFileDirectory)$(GitVersionTargetFramework)))gitversion.dll" </GitVersionFileExe >
1718 <GitVersionAssemblyFile Condition =" '$(GitVersionAssemblyFile)' == ''" >$([MSBuild]::EnsureTrailingSlash($(MSBuildThisFileDirectory)$(GitVersionTargetFramework)))GitVersion.MsBuild.dll</GitVersionAssemblyFile >
You can’t perform that action at this time.
0 commit comments