Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
91390df
Stop building source-build in non-1xx branches (#50888)
NikolaMilosavljevic Oct 14, 2025
e8e78f5
Merge branch 'release/9.0.1xx' of https://github.com/dotnet/sdk into …
Oct 15, 2025
40296cd
Merge branch 'release/9.0.1xx' into merge/release/8.0.4xx-to-release/…
SimonZhao888 Oct 16, 2025
9060d53
Merge branch 'release/9.0.1xx' into merge/release/8.0.4xx-to-release/…
SimonZhao888 Oct 17, 2025
03519c6
Merge branch 'release/9.0.1xx' into merge/release/8.0.4xx-to-release/…
SimonZhao888 Oct 20, 2025
eb956b9
Merge branch 'release/9.0.1xx' into merge/release/8.0.4xx-to-release/…
SimonZhao888 Oct 20, 2025
7ba40be
Delete unused NuGet source
mthalman Oct 20, 2025
055c059
Update dependencies from https://github.com/dotnet/msbuild build 2025…
dotnet-maestro[bot] Oct 21, 2025
103eb52
Merge branch 'release/9.0.1xx' of https://github.com/dotnet/sdk into …
Oct 21, 2025
36c1c1f
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Oct 21, 2025
4e83d9a
Merge branch 'release/9.0.1xx' into merge/release/8.0.4xx-to-release/…
SimonZhao888 Oct 21, 2025
cdb2ea6
[release/9.0.1xx] Update dependencies from dotnet/msbuild (#51382)
SimonZhao888 Oct 21, 2025
bca2aa2
Merge branch 'release/9.0.1xx' into merge/release/8.0.4xx-to-release/…
SimonZhao888 Oct 21, 2025
4dcaf7a
[release/9.0.1xx] Update dependencies from dotnet/templating (#51394)
SimonZhao888 Oct 21, 2025
2b24918
Merge branch 'release/9.0.1xx' into merge/release/8.0.4xx-to-release/…
SimonZhao888 Oct 21, 2025
7efd8a4
Delete unused NuGet source (#51365)
mthalman Oct 21, 2025
6874475
Update dependencies from https://github.com/dotnet/source-build-refer…
dotnet-maestro[bot] Oct 22, 2025
93ce961
Update dependencies from https://github.com/dotnet/razor build 202510…
dotnet-maestro[bot] Oct 26, 2025
aeedabf
Update dependencies from https://github.com/dotnet/razor build 202510…
dotnet-maestro[bot] Oct 27, 2025
891123b
Merge branch 'release/9.0.1xx' into merge/release/8.0.4xx-to-release/…
SimonZhao888 Oct 27, 2025
6593ace
Update branding to 9.0.113
vseanreesermsft Nov 4, 2025
6c43a7f
Update branding to 9.0.113 (#51555)
nagilson Nov 7, 2025
f409271
[release/9.0.1xx] Update dependencies from dotnet/source-build-refere…
nagilson Nov 7, 2025
0686242
[release/9.0.1xx] Update dependencies from dotnet/razor (#51453)
nagilson Nov 7, 2025
7a08120
Update dependencies from https://github.com/dotnet/arcade build 20251…
dotnet-maestro[bot] Nov 7, 2025
0a8f835
Update dependencies from https://github.com/dotnet/arcade build 20251…
dotnet-maestro[bot] Nov 7, 2025
d916171
Merge branch 'release/9.0.1xx' into merge/release/8.0.4xx-to-release/…
DonnaChen888 Nov 7, 2025
40f8658
Merge branch 'release/9.0.3xx' into darc-release/9.0.3xx-8136a194-c7f…
DonnaChen888 Nov 7, 2025
92720ad
Merge branch 'release/9.0.3xx' of https://github.com/dotnet/sdk into …
DonnaChen888 Nov 7, 2025
ca31671
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Nov 7, 2025
f0e65c5
Set sdk.txt file to enable preview SDKs
nagilson Nov 7, 2025
dc66804
Get global json tools vs by default when locating VS
nagilson Nov 7, 2025
670a4a2
Merge branch 'release/9.0.3xx' into darc-release/9.0.3xx-8136a194-c7f…
nagilson Nov 7, 2025
e33eef8
Merge branch 'release/9.0.3xx' into darc-release/9.0.3xx-73fbc6fd-2e0…
nagilson Nov 7, 2025
138720d
Backflow from https://github.com/dotnet/dotnet / e17b0d0 build 289695
dotnet-maestro[bot] Nov 8, 2025
5ba0fa8
Merge release/10.0.1xx into darc-release/10.0.1xx-93f43bbb-dd87-4769-…
dotnet-maestro[bot] Nov 8, 2025
a9ba084
Update dependencies from https://github.com/dotnet/dotnet build 289695
dotnet-maestro[bot] Nov 8, 2025
b6c863c
Merge branch 'release/9.0.3xx' into merge/release/9.0.1xx-to-release/…
DonnaChen888 Nov 10, 2025
eaf2bf8
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Nov 10, 2025
6f8f2d1
[release/9.0.1xx] Fix `vs2022` Image rejecting preview sdks, failing …
marcpopMSFT Nov 10, 2025
392dcf4
[release/9.0.1xx] Update License Scan tests to use container (#51369)
MichaelSimons Nov 10, 2025
1a4f00a
Merge branch 'release/9.0.1xx' into darc-release/9.0.1xx-cf7c2d21-6af…
DonnaChen888 Nov 11, 2025
3c5dd1d
Merge branch 'release/9.0.3xx' into darc-release/9.0.3xx-73fbc6fd-2e0…
DonnaChen888 Nov 11, 2025
3775df2
Merge branch 'release/9.0.1xx' into darc-release/9.0.1xx-7da53fa1-bf2…
DonnaChen888 Nov 11, 2025
c1dec81
Merge branch 'release/9.0.3xx' into darc-release/9.0.3xx-8136a194-c7f…
DonnaChen888 Nov 11, 2025
2fd622e
Merge branch 'release/9.0.1xx' into merge/release/8.0.4xx-to-release/…
DonnaChen888 Nov 11, 2025
088d4be
Merge branch 'release/9.0.3xx' into merge/release/9.0.1xx-to-release/…
DonnaChen888 Nov 11, 2025
6b3b377
Merge branch 'release/9.0.3xx' into darc-release/9.0.3xx-73fbc6fd-2e0…
DonnaChen888 Nov 11, 2025
405daeb
Merge branch 'release/9.0.3xx' into darc-release/9.0.3xx-8136a194-c7f…
DonnaChen888 Nov 11, 2025
c470006
Merge branch 'release/9.0.3xx' into merge/release/9.0.1xx-to-release/…
DonnaChen888 Nov 11, 2025
22ff741
Merge branch 'release/10.0.1xx' into darc-release/10.0.1xx-93f43bbb-d…
DonnaChen888 Nov 11, 2025
919d167
[release/9.0.1xx] Update dependencies from dotnet/templating (#51611)
marcpopMSFT Nov 11, 2025
4234719
[release/9.0.1xx] Update dependencies from dotnet/arcade (#51606)
marcpopMSFT Nov 11, 2025
127cce5
Fix workload manifest package prerelease label for servicing
dsplaisted Nov 12, 2025
32648ee
Merge branch 'release/9.0.3xx' into darc-release/9.0.3xx-8136a194-c7f…
DonnaChen888 Nov 12, 2025
2e574a3
Merge branch 'release/9.0.3xx' into darc-release/9.0.3xx-73fbc6fd-2e0…
DonnaChen888 Nov 12, 2025
d638d2d
Merge branch 'release/10.0.1xx' into darc-release/10.0.1xx-93f43bbb-d…
DonnaChen888 Nov 12, 2025
66e60a5
Merge branch 'release/9.0.1xx' into merge/release/8.0.4xx-to-release/…
DonnaChen888 Nov 12, 2025
fb8ae76
Merge branch 'release/9.0.3xx' into merge/release/9.0.1xx-to-release/…
DonnaChen888 Nov 12, 2025
7082548
Update dependencies from https://github.com/dotnet/arcade build 20251…
dotnet-maestro[bot] Nov 12, 2025
97b796b
[automated] Merge branch 'release/9.0.1xx' => 'release/9.0.3xx' (#51399)
DonnaChen888 Nov 12, 2025
af031dc
Merge branch 'release/9.0.3xx' into darc-release/9.0.3xx-73fbc6fd-2e0…
DonnaChen888 Nov 12, 2025
3b43dd8
Merge branch 'release/9.0.3xx' into darc-release/9.0.3xx-8136a194-c7f…
DonnaChen888 Nov 12, 2025
37c3b18
[release/9.0.3xx] Update dependencies from dotnet/arcade (#51607)
DonnaChen888 Nov 12, 2025
ba2e143
Merge branch 'release/9.0.3xx' into darc-release/9.0.3xx-8136a194-c7f…
DonnaChen888 Nov 12, 2025
4bf3989
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Nov 12, 2025
934db91
Merge branch 'release/10.0.1xx' into darc-release/10.0.1xx-93f43bbb-d…
DonnaChen888 Nov 12, 2025
51d9e5c
[release/9.0.3xx] Update dependencies from dotnet/razor (#51458)
DonnaChen888 Nov 12, 2025
79fc650
Update branding to 9.0.309
vseanreesermsft Nov 12, 2025
c9421c8
Change VersionFeature80 calculation from 15 to 14
marcpopMSFT Nov 12, 2025
310522d
Update Mariner-2-Docker-ARM64 internal build image to Azure-Linux-3-A…
MichaelSimons Nov 12, 2025
f957924
[release/9.0.1xx] Update dependencies from dotnet/arcade (#51671)
dotnet-maestro[bot] Nov 12, 2025
be1b733
[automated] Merge branch 'release/8.0.4xx' => 'release/9.0.1xx' (#51250)
dsplaisted Nov 13, 2025
e18c802
Merge branch 'release/9.0.3xx' into darc-release/9.0.3xx-edf4249b-32f…
DonnaChen888 Nov 13, 2025
13b0b73
Update dependencies from https://github.com/dotnet/arcade build 20251…
dotnet-maestro[bot] Nov 13, 2025
adfbf55
Merge branch 'release/9.0.3xx' of https://github.com/dotnet/sdk into …
DonnaChen888 Nov 13, 2025
58f3ac8
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Nov 13, 2025
e2ea7db
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Nov 13, 2025
6304ba0
Merge branch 'release/10.0.1xx' into darc-release/10.0.1xx-93f43bbb-d…
DonnaChen888 Nov 13, 2025
c21db4a
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Nov 13, 2025
305fa1d
Update dependencies from https://github.com/microsoft/testfx build 20…
dotnet-maestro[bot] Nov 14, 2025
629ad2c
Merge branch 'release/10.0.1xx' into darc-release/10.0.1xx-93f43bbb-d…
DonnaChen888 Nov 14, 2025
db0dc99
[release/9.0.3xx] Update dependencies from dotnet/arcade (#51708)
DonnaChen888 Nov 14, 2025
7fbeca4
Merge branch 'release/9.0.3xx' into darc-release/9.0.3xx-edf4249b-32f…
DonnaChen888 Nov 14, 2025
99a1a42
Merge branch 'release/9.0.3xx' into merge/release/9.0.1xx-to-release/…
DonnaChen888 Nov 14, 2025
fe9898c
[release/10.0.1xx] Update dependencies from microsoft/testfx (#51731)
DonnaChen888 Nov 14, 2025
8a6b13c
[release/9.0.3xx] Update dependencies from dotnet/templating (#51679)
DonnaChen888 Nov 14, 2025
95552c9
Merge branch 'release/9.0.3xx' into merge/release/9.0.1xx-to-release/…
DonnaChen888 Nov 14, 2025
bddce54
Use default runtime version in runtimeconfig.json same as MSBuild-bas…
jjonescz Nov 14, 2025
32a0a5a
Add Visual Studio version to global.json
marcpopMSFT Nov 14, 2025
2cb72ab
Merge branch 'release/9.0.3xx' into branding-9.0.309-2025-11-12-1324-…
dsplaisted Nov 14, 2025
81a1a4b
Add back the tools changes that were reverted
marcpopMSFT Nov 14, 2025
0fd141e
Remove the VS node
marcpopMSFT Nov 14, 2025
0960799
Update branding to 9.0.309 (#51696)
marcpopMSFT Nov 14, 2025
e53b342
Update dependencies from https://github.com/microsoft/testfx build 20…
dotnet-maestro[bot] Nov 15, 2025
91d7cdf
Update dependencies from https://github.com/dotnet/sourcelink build 2…
dotnet-maestro[bot] Nov 15, 2025
01e5beb
Merge branch 'release/10.0.1xx' into darc-release/10.0.1xx-93f43bbb-d…
DonnaChen888 Nov 17, 2025
d4fc09a
[release/10.0.1xx] Update dependencies from microsoft/testfx (#51757)
DonnaChen888 Nov 17, 2025
ef10228
Merge branch 'release/10.0.1xx' into darc-release/10.0.1xx-93f43bbb-d…
DonnaChen888 Nov 17, 2025
c5714d1
[release/9.0.3xx] Update dependencies from dotnet/sourcelink (#51759)
DonnaChen888 Nov 17, 2025
aac3186
Merge branch 'release/9.0.3xx' into merge/release/9.0.1xx-to-release/…
DonnaChen888 Nov 17, 2025
3e44f08
[automated] Merge branch 'release/9.0.1xx' => 'release/9.0.3xx' (#51698)
DonnaChen888 Nov 17, 2025
15fbf55
Merge branch 'release/10.0.1xx' of https://github.com/dotnet/sdk into…
DonnaChen888 Nov 17, 2025
57447c9
Restore eng/common to release/10.0.1xx
DonnaChen888 Nov 18, 2025
d6a4c47
[release/10.0.1xx] Source code updates from dotnet/dotnet (#51633)
dsplaisted Nov 18, 2025
efd6caa
[release/10.0.1xx] Fix solution parsing in dotnet test for Microsoft.…
Youssef1313 Nov 18, 2025
b7adad2
[automated] Merge branch 'release/9.0.3xx' => 'release/10.0.1xx' (#51…
dsplaisted Nov 19, 2025
9596064
Merge branch 'release/10.0.2xx' of https://github.com/dotnet/sdk into…
DonnaChen888 Nov 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion src/Cli/dotnet/Commands/Run/CSharpCompilerCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
using Microsoft.DotNet.Cli.Utils.Extensions;
using Microsoft.NET.HostModel.AppHost;
using NuGet.Configuration;
using NuGet.Versioning;

namespace Microsoft.DotNet.Cli.Commands.Run;

Expand Down Expand Up @@ -44,6 +45,7 @@ internal sealed partial class CSharpCompilerCommand
private static string ClientDirectory => field ??= Path.Combine(SdkPath, "Roslyn", "bincore");
private static string NuGetCachePath => field ??= SettingsUtility.GetGlobalPackagesFolder(Settings.LoadDefaultSettings(null));
internal static string RuntimeVersion => field ??= RuntimeInformation.FrameworkDescription.Split(' ').Last();
private static string DefaultRuntimeVersion => field ??= GetDefaultRuntimeVersion();
private static string TargetFrameworkVersion => Product.TargetFrameworkVersion;

public required string EntryPointFileFullPath { get; init; }
Expand Down Expand Up @@ -315,7 +317,7 @@ private void PrepareAuxiliaryFiles(out string rspPath)
"tfm": "net{{TargetFrameworkVersion}}",
"framework": {
"name": "Microsoft.NETCore.App",
"version": {{JsonSerializer.Serialize(RuntimeVersion)}}
"version": {{JsonSerializer.Serialize(DefaultRuntimeVersion)}}
},
"configProperties": {
"EntryPointFilePath": {{JsonSerializer.Serialize(EntryPointFileFullPath)}},
Expand Down Expand Up @@ -417,4 +419,19 @@ public static bool IsPathOption(string arg, out int colonIndex)
colonIndex = -1;
return false;
}

/// <summary>
/// See <c>GenerateDefaultRuntimeFrameworkVersion</c>.
/// </summary>
private static string GetDefaultRuntimeVersion()
{
if (NuGetVersion.TryParse(RuntimeVersion, out var version))
{
return version.IsPrerelease && version.Patch == 0 ?
RuntimeVersion :
new NuGetVersion(version.Major, version.Minor, 0).ToFullString();
}

return RuntimeVersion;
}
}
16 changes: 16 additions & 0 deletions src/Layout/redist/roslyn-entitlements.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.cs.debugger</key>
<true/>
<key>com.apple.security.get-task-allow</key>
<true/>
</dict>
</plist>
3 changes: 3 additions & 0 deletions src/Layout/redist/targets/GenerateLayout.targets
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@
AppBinaryName="%(_RoslynAppHost.Filename)%(_RoslynAppHost.Extension)"
IntermediateAssembly="%(_RoslynAppHost.FullPath)"
EnableMacOSCodeSign="$(SharedFrameworkRid.StartsWith('osx'))" />

<Exec Command="codesign --sign - --force --entitlements '$(MSBuildProjectDirectory)/roslyn-entitlements.plist' %(_RoslynAppHost.RootDir)%(_RoslynAppHost.Directory)%(_RoslynAppHost.Filename)$(ExeExtension)"
Condition="$(SharedFrameworkRid.StartsWith('osx'))" />
</Target>

<Target Name="PublishNETAnalyzers">
Expand Down
5 changes: 3 additions & 2 deletions src/Workloads/Manifests/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
</PropertyGroup>

<PropertyGroup>
<_workloadVersionSuffix Condition="'$(DotNetFinalVersionKind)' != 'release' and '$(PrereleaseVersionLabel)' != 'rtm'">-$(PreReleaseVersionLabel).$(PreReleaseVersionIteration)</_workloadVersionSuffix>
<_workloadVersionSuffix Condition="'$(DotNetFinalVersionKind)' != 'release' and '$(PrereleaseVersionLabel)' != 'rtm'">-$(PreReleaseVersionLabel).$(PreReleaseVersionIteration)</_workloadVersionSuffix>
<_workloadVersionSuffix Condition="'$(DotNetFinalVersionKind)' != 'release' and
'$(PrereleaseVersionLabel)' != 'rtm' and
'$(PrereleaseVersionLabel)' != 'servicing'">-$(PreReleaseVersionLabel).$(PreReleaseVersionIteration)</_workloadVersionSuffix>
<PackageId>$(MSBuildProjectName)-$(BuiltinWorkloadFeatureBand)$(_workloadVersionSuffix)</PackageId>
<PackageId Condition="'$(MSBuildProjectName)' == 'Microsoft.NET.Workload.Emscripten.Current.Transport.Manifest'">Microsoft.NET.Workload.Emscripten.Current.Manifest-$(BuiltinWorkloadFeatureBand).Transport</PackageId>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), testAsset.props))\testAsset.props" />

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Microsoft.Testing.Platform.Builder;
using Microsoft.Testing.Platform.Builder;
using Microsoft.Testing.Platform.Capabilities.TestFramework;
using Microsoft.Testing.Platform.Extensions.Messages;
using Microsoft.Testing.Platform.Extensions.TestFramework;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Microsoft.Testing.Platform.Builder;
using Microsoft.Testing.Platform.Builder;
using Microsoft.Testing.Platform.Capabilities.TestFramework;
using Microsoft.Testing.Platform.Extensions.Messages;
using Microsoft.Testing.Platform.Extensions.TestFramework;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), testAsset.props))\testAsset.props" />

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), testAsset.props))\testAsset.props" />

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Microsoft.Testing.Platform.Builder;
using Microsoft.Testing.Platform.Builder;
using Microsoft.Testing.Platform.Capabilities.TestFramework;
using Microsoft.Testing.Platform.Extensions.Messages;
using Microsoft.Testing.Platform.Extensions.TestFramework;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Microsoft.Testing.Platform.Builder;
using Microsoft.Testing.Platform.Builder;
using Microsoft.Testing.Platform.Capabilities.TestFramework;
using Microsoft.Testing.Platform.Extensions.Messages;
using Microsoft.Testing.Platform.Extensions.TestFramework;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), testAsset.props))\testAsset.props" />

<PropertyGroup>
Expand Down
Loading