Skip to content

Commit

Permalink
Update SDK version in global.json
Browse files Browse the repository at this point in the history
The SDK version in global.json file has been updated from 7.0.400 to 8.0.100-rc.2.23502.2. Additionally, the "allowPrerelease" attribute has been added and set to true.
  • Loading branch information
arturcic committed Nov 5, 2023
1 parent 495cbbd commit f18e0cf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions build/CI.sln
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ProjectSection(SolutionItems) = preProject
Directory.Build.props = Directory.Build.props
Directory.Packages.props = Directory.Packages.props
..\dotnet-tools.json = ..\dotnet-tools.json
..\global.json = ..\global.json
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "build", "build\build.csproj", "{1AC00FB2-E28A-46B7-9683-AA7A1AFC29EB}"
Expand Down
2 changes: 1 addition & 1 deletion build/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>
<OutputPath>..\..\run\</OutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
Expand Down
3 changes: 3 additions & 0 deletions build/build/BuildLifetime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,8 @@ private static void SetMsBuildSettingsVersion(BuildContext context)
msBuildSettings.WithProperty("RepositoryCommit", version.GitVersion.Sha);
msBuildSettings.WithProperty("NoPackageAnalysis", "true");
msBuildSettings.WithProperty("UseSharedCompilation", "false");

// https://github.com/dotnet/docs/issues/37674
msBuildSettings.WithProperty("IncludeSourceRevisionInInformationalVersion", "false");
}
}
4 changes: 3 additions & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"sdk": {
"version": "7.0.400"
"version": "8.0.100-rc.2.23502.2",
"allowPrerelease": true,
"rollForward": "latestMajor"
}
}

0 comments on commit f18e0cf

Please sign in to comment.