Skip to content

Commit ecacef4

Browse files
authored
[automated] Merge branch 'release/7.0.1xx' => 'release/7.0.2xx' (#15817)
2 parents 4efc827 + fe9bb21 commit ecacef4

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

eng/Versions.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@
215215
or minor release, prebuilts may be needed. When the release is mature, prebuilts are not
216216
necessary, and this property is removed from the file.
217217
-->
218-
<PrivateSourceBuiltSDKVersion>7.0.103</PrivateSourceBuiltSDKVersion>
219-
<PrivateSourceBuiltArtifactsPackageVersion>7.0.103</PrivateSourceBuiltArtifactsPackageVersion>
218+
<PrivateSourceBuiltSDKVersion>7.0.104</PrivateSourceBuiltSDKVersion>
219+
<PrivateSourceBuiltArtifactsPackageVersion>7.0.104</PrivateSourceBuiltArtifactsPackageVersion>
220220
</PropertyGroup>
221221
<!-- Workload manifest package versions -->
222222
<PropertyGroup>

src/SourceBuild/tarball/content/eng/bootstrap/OverrideBootstrapVersions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<!-- 7.0.0 produced improperly versioned runtime assets because the OfficialBuildId
44
was not set correctly. This is the actual shipping version that it should have been -->
5-
<NonshippingRuntimeVersionFor700>7.0.0-rtm.22518.5</NonshippingRuntimeVersionFor700>
5+
<NonshippingRuntimeVersionFor700>7.0.4-servicing.23107.6</NonshippingRuntimeVersionFor700>
66

77
<MicrosoftNETHostModelVersion>$(NonshippingRuntimeVersionFor700)</MicrosoftNETHostModelVersion>
88
<MicrosoftNETCoreTestHostVersion>$(NonshippingRuntimeVersionFor700)</MicrosoftNETCoreTestHostVersion>

src/SourceBuild/tarball/content/global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"tools": {
3-
"dotnet": "7.0.103"
3+
"dotnet": "7.0.104"
44
},
55
"msbuild-sdks": {
66
"Microsoft.Build.CentralPackageVersions": "2.0.1",

src/SourceBuild/tarball/content/test/Microsoft.DotNet.SourceBuild.SmokeTests/DotNetHelper.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ internal class DotNetHelper
1414
{
1515
private static readonly object s_lockObj = new();
1616

17-
private static bool IsMonoRuntime { get; } = DetermineIsMonoRuntime();
1817
public static string DotNetPath { get; } = Path.Combine(Config.DotNetDirectory, "dotnet");
1918
public static string LogsDirectory { get; } = Path.Combine(Directory.GetCurrentDirectory(), "logs");
2019
public static string PackagesDirectory { get; } = Path.Combine(Directory.GetCurrentDirectory(), "packages");
2120
public static string ProjectsDirectory { get; } = Path.Combine(Directory.GetCurrentDirectory(), $"projects-{DateTime.Now:yyyyMMddHHmmssffff}");
2221

2322
private ITestOutputHelper OutputHelper { get; }
23+
private bool IsMonoRuntime { get; }
2424

2525
public DotNetHelper(ITestOutputHelper outputHelper)
2626
{
@@ -38,6 +38,7 @@ public DotNetHelper(ITestOutputHelper outputHelper)
3838
Directory.CreateDirectory(Config.DotNetDirectory);
3939
ExecuteHelper.ExecuteProcessValidateExitCode("tar", $"xzf {Config.SdkTarballPath} -C {Config.DotNetDirectory}", outputHelper);
4040
}
41+
IsMonoRuntime = DetermineIsMonoRuntime(Config.DotNetDirectory);
4142

4243
if (!Directory.Exists(ProjectsDirectory))
4344
{
@@ -234,10 +235,8 @@ private static string GetBinLogOption(string projectName, string command, string
234235
return $"/bl:{Path.Combine(LogsDirectory, $"{fileName}.binlog")}";
235236
}
236237

237-
private static bool DetermineIsMonoRuntime()
238+
private static bool DetermineIsMonoRuntime(string dotnetRoot)
238239
{
239-
string dotnetRoot = Config.DotNetDirectory;
240-
241240
string sharedFrameworkRoot = Path.Combine(dotnetRoot, "shared", "Microsoft.NETCore.App");
242241
if (!Directory.Exists(sharedFrameworkRoot))
243242
{

0 commit comments

Comments
 (0)