Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
2601c34
Backflow from https://github.com/dotnet/dotnet / 9eb0ecd build 282024
dotnet-maestro[bot] Sep 5, 2025
8b24ad8
Update dependencies from https://github.com/dotnet/dotnet build 282024
dotnet-maestro[bot] Sep 5, 2025
90075e6
Merge release/10.0.1xx into darc-release/10.0.1xx-554b8747-f93f-44e6-…
dotnet-maestro[bot] Sep 6, 2025
f57d16a
Update dependencies from https://github.com/dotnet/dotnet build 282086
dotnet-maestro[bot] Sep 6, 2025
40b187f
Update dependencies from https://github.com/dotnet/dotnet build 282207
dotnet-maestro[bot] Sep 7, 2025
8a4e716
Merge branch 'release/10.0.1xx' into darc-release/10.0.1xx-554b8747-f…
SimonZhao888 Sep 8, 2025
e9f7d56
Update dependencies from https://github.com/dotnet/dotnet build 282240
dotnet-maestro[bot] Sep 8, 2025
a0d7151
Merge branch 'release/10.0.1xx' into darc-release/10.0.1xx-554b8747-f…
SimonZhao888 Sep 8, 2025
c5c115b
Update dependencies from https://github.com/dotnet/dotnet build 282379
dotnet-maestro[bot] Sep 9, 2025
cd4e06c
Merge branch 'release/10.0.1xx' of https://github.com/dotnet/sdk into…
Sep 9, 2025
702e1a5
Merge branch 'darc-release/10.0.1xx-554b8747-f93f-44e6-b51d-52712adfe…
Sep 9, 2025
982fb0e
Merge branch 'release/10.0.1xx' into darc-release/10.0.1xx-554b8747-f…
SimonZhao888 Sep 9, 2025
84d3a78
Revert the bad codes merge
Sep 9, 2025
63f651a
Merge branch 'darc-release/10.0.1xx-554b8747-f93f-44e6-b51d-52712adfe…
Sep 9, 2025
6a783c8
Update dependencies from https://github.com/dotnet/dotnet build 282477
dotnet-maestro[bot] Sep 10, 2025
0e50600
Update tests to include Windows templates in other platforms
dsplaisted Sep 10, 2025
125fa05
Merge branch 'release/10.0.1xx' into darc-release/10.0.1xx-554b8747-f…
SimonZhao888 Sep 11, 2025
5bd088e
Update dependencies from https://github.com/dotnet/dotnet build 282708
dotnet-maestro[bot] Sep 11, 2025
6678ba6
Fix building Windows templates on non-Windows in tests
dsplaisted Sep 11, 2025
48b5ed8
Improve EnableWindowsTargeting logic
dsplaisted Sep 11, 2025
593474d
Add Windows templates to approvals
dsplaisted Sep 11, 2025
97a8e7e
Merge branch 'release/10.0.1xx' into darc-release/10.0.1xx-554b8747-f…
SimonZhao888 Sep 12, 2025
4a2b036
Merge branch 'release/10.0.1xx' into darc-release/10.0.1xx-554b8747-f…
SimonZhao888 Sep 15, 2025
18d4436
Merge branch 'release/10.0.1xx' into darc-release/10.0.1xx-554b8747-f…
SimonZhao888 Sep 15, 2025
fbb99f1
Merge branch 'release/10.0.1xx' into darc-release/10.0.1xx-554b8747-f…
SimonZhao888 Sep 16, 2025
3230d99
Merge branch 'release/10.0.1xx' into darc-release/10.0.1xx-554b8747-f…
SimonZhao888 Sep 16, 2025
e23321a
Removed duplicated version properties.
MiYanni Sep 16, 2025
702dc05
Merge branch 'darc-release/10.0.1xx-554b8747-f93f-44e6-b51d-52712adfe…
MiYanni Sep 16, 2025
ecf5b6d
Added ClearsParseErrors set to true.
MiYanni Sep 17, 2025
ca0b278
Merge branch 'release/10.0.1xx' into darc-release/10.0.1xx-554b8747-f…
SimonZhao888 Sep 18, 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
1 change: 1 addition & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
<PackageVersion Include="NuGet.Build.Tasks.Console" Version="$(NuGetBuildTasksConsolePackageVersion)" />
<PackageVersion Include="NuGet.Build.Tasks.Pack" Version="$(NuGetConfigurationPackageVersion)" />
<PackageVersion Include="NuGet.CommandLine.XPlat" Version="$(NuGetCommandLineXPlatPackageVersion)" />
<PackageVersion Include="NuGet.Commands" Version="$(NuGetCommandsPackageVersion)" />
<PackageVersion Include="NuGet.Common" Version="$(NuGetCommonPackageVersion)" />
<PackageVersion Include="NuGet.Configuration" Version="$(NuGetConfigurationPackageVersion)" />
<PackageVersion Include="NuGet.Frameworks" Version="$(NuGetBuildTasksPackageVersion)" />
Expand Down
260 changes: 130 additions & 130 deletions eng/Version.Details.props

Large diffs are not rendered by default.

522 changes: 261 additions & 261 deletions eng/Version.Details.xml

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
<DotNetPrivateAssetRootUrl Condition="'$(DotNetPrivateAssetRootUrl)'==''">https://dotnetclimsrc.blob.core.windows.net/dotnet/</DotNetPrivateAssetRootUrl>
</PropertyGroup>
<PropertyGroup Label="Production dependencies">
<MicrosoftWebXdtPackageVersion>3.2.0-preview.25377.103</MicrosoftWebXdtPackageVersion>
<MicrosoftCssParserVersion>1.0.0-20230414.1</MicrosoftCssParserVersion>
<MicrosoftApplicationInsightsPackageVersion>2.23.0</MicrosoftApplicationInsightsPackageVersion>
<NETStandardLibraryNETFrameworkVersion>2.0.1-servicing-26011-01</NETStandardLibraryNETFrameworkVersion>
Expand All @@ -62,7 +61,6 @@
<SystemDataSqlClientPackageVersion>4.8.6</SystemDataSqlClientPackageVersion>
<StyleCopAnalyzersPackageVersion>1.2.0-beta.435</StyleCopAnalyzersPackageVersion>
<WebDeploymentPackageVersion>4.0.5</WebDeploymentPackageVersion>
<SystemCommandLineVersion>2.0.0-rc.1.25377.103</SystemCommandLineVersion>
<SystemCommandLineNamingConventionBinderVersion>2.0.0-beta5.25279.2</SystemCommandLineNamingConventionBinderVersion>
<MicrosoftCodeAnalysisAnalyzerTestingVersion>1.1.2</MicrosoftCodeAnalysisAnalyzerTestingVersion>
<MicrosoftVisualBasicVersion>10.3.0</MicrosoftVisualBasicVersion>
Expand All @@ -79,7 +77,6 @@
<AspirePackageVersion>9.4.0</AspirePackageVersion>
</PropertyGroup>
<PropertyGroup>
<NETStandardLibraryRefPackageVersion>2.1.0</NETStandardLibraryRefPackageVersion>
<!-- These are minimum versions used for netfx-targeted components that run in Visual Studio because in those cases,
Visual Studio is providing those assemblies, and we should work with whichever version it ships. -->
<MicrosoftBclAsyncInterfacesToolsetPackageVersion>9.0.0</MicrosoftBclAsyncInterfacesToolsetPackageVersion>
Expand Down Expand Up @@ -140,7 +137,6 @@
<AwesomeAssertionsVersion>8.0.2</AwesomeAssertionsVersion>
<AwesomeAssertionsJsonVersion>8.0.0</AwesomeAssertionsJsonVersion>
<MoqPackageVersion>4.18.4</MoqPackageVersion>
<MSTestVersion>3.11.0-preview.25381.6</MSTestVersion>
<XunitCombinatorialVersion>1.3.2</XunitCombinatorialVersion>
<MicrosoftDotNetInstallerWindowsSecurityTestDataPackageVersion>8.0.0-beta.23607.1</MicrosoftDotNetInstallerWindowsSecurityTestDataPackageVersion>
<BenchmarkDotNetPackageVersion>0.14.0</BenchmarkDotNetPackageVersion>
Expand Down
2 changes: 1 addition & 1 deletion eng/common/sdk-task.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ show_usage() {

echo "Advanced settings:"
echo " --excludeCIBinarylog Don't output binary log (short: -nobl)"
echo " --noWarnAsError Do not warn as error
echo " --noWarnAsError Do not warn as error"
echo ""
echo "Command line arguments not listed above are passed thru to msbuild."
}
Expand Down
4 changes: 2 additions & 2 deletions global.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
}
},
"msbuild-sdks": {
"Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.25427.104",
"Microsoft.DotNet.Helix.Sdk": "10.0.0-beta.25427.104",
"Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.25460.104",
"Microsoft.DotNet.Helix.Sdk": "10.0.0-beta.25460.104",
"Microsoft.Build.NoTargets": "3.7.0",
"Microsoft.Build.Traversal": "3.4.0",
"Microsoft.WixToolset.Sdk": "5.0.2-dotnet.2737382"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ public HelpBuilder Builder
set => _builder = value ?? throw new ArgumentNullException(nameof(value));
}

/// <inheritdoc />
public override bool ClearsParseErrors => true;

/// <inheritdoc />
public override int Invoke(ParseResult parseResult)
{
Expand Down
3 changes: 1 addition & 2 deletions src/Layout/pkg/dotnet-sdk.proj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<GenerateInstallers Condition="'$(DotNetBuildSourceOnly)' != 'true'">true</GenerateInstallers>
<BuildDebPackage Condition="'$(BuildSdkDeb)' == 'true'">true</BuildDebPackage>
<BuildRpmPackage Condition="'$(BuildSdkRpm)' == 'true'">true</BuildRpmPackage>
<UseArcadeRpmTooling>true</UseArcadeRpmTooling>
<ProductBrandPrefix>Microsoft .NET</ProductBrandPrefix>
<LicenseFile>$(RepoRoot)LICENSE.TXT</LicenseFile>
<InstallerName>dotnet-sdk</InstallerName>
Expand Down Expand Up @@ -119,7 +118,7 @@
</Target>

<Target Name="AddLinuxPackageInformation"
BeforeTargets="GetDebInstallerJsonProperties;GetRpmInstallerJsonProperties"
BeforeTargets="GetAdditionalLinuxInstallerProperties"
DependsOnTargets="CalculateLinuxNativeInstallerDependencyVersions">

<PropertyGroup>
Expand Down
3 changes: 1 addition & 2 deletions src/Layout/redist/targets/BundledSdks.targets
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<Project>

<ItemGroup>
<BundledSdk Include="NuGet.Build.Tasks.Pack" Version="$(NuGetBuildTasksPackPackageVersion)" />
<BundledSdk Include="Microsoft.NET.Sdk.WindowsDesktop" Version="$(MicrosoftNETSdkWindowsDesktopPackageVersion)" Condition="'$(DotNetBuildSourceOnly)' != 'true'" />
<BundledSdk Include="Microsoft.NET.Sdk.WindowsDesktop" Version="$(MicrosoftNETSdkWindowsDesktopPackageVersion)" />
<BundledSdk Include="FSharp.NET.Sdk" Version="1.0.4-bundled-0100" />
<BundledSdk Include="Microsoft.Docker.Sdk" Version="1.1.0" />

Expand Down
9 changes: 2 additions & 7 deletions src/Layout/redist/targets/BundledTemplates.targets
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<ItemGroup Label=".NET 10.0 templates">
<Bundled100Templates Include="Microsoft.DotNet.Web.ItemTemplates.10.0" PackageVersion="$(MicrosoftDotNetWebItemTemplates100PackageVersion)" />
<Bundled100Templates Include="Microsoft.DotNet.Web.ProjectTemplates.10.0" PackageVersion="$(MicrosoftDotNetWebProjectTemplates100PackageVersion)" UseVersionForTemplateInstallPath="true" />
<Bundled100Templates Include="Microsoft.Dotnet.WinForms.ProjectTemplates" PackageVersion="$(MicrosoftNETSdkWindowsDesktopPackageVersion)" Condition="'$(DotNetBuildSourceOnly)' != 'true'" />
<Bundled100Templates Include="Microsoft.Dotnet.Wpf.ProjectTemplates" PackageVersion="$(MicrosoftNETSdkWindowsDesktopPackageVersion)" Condition="'$(DotNetBuildSourceOnly)' != 'true'" />
<Bundled100Templates Include="Microsoft.Dotnet.WinForms.ProjectTemplates" PackageVersion="$(MicrosoftNETSdkWindowsDesktopPackageVersion)" />
<Bundled100Templates Include="Microsoft.Dotnet.Wpf.ProjectTemplates" PackageVersion="$(MicrosoftNETSdkWindowsDesktopPackageVersion)" />
</ItemGroup>

<ItemGroup>
Expand Down Expand Up @@ -56,11 +56,6 @@
</Target>

<Target Name="LayoutTemplatesForSDK" DependsOnTargets="CalculateTemplatesVersions;GetRepoTemplates">
<ItemGroup Condition="!$(ProductMonikerRid.StartsWith('win'))">
<BundledTemplatesWithInstallPaths Remove="Microsoft.Dotnet.Wpf.ProjectTemplates" />
<BundledTemplatesWithInstallPaths Remove="Microsoft.Dotnet.WinForms.ProjectTemplates" />
</ItemGroup>

<Copy SourceFiles="%(BundledTemplatesWithInstallPaths.RestoredNupkgPath)"
DestinationFolder="$(RedistInstallerLayoutPath)templates\%(BundledTemplatesWithInstallPaths.BundledTemplateInstallPath)"
Condition="'%(BundledTemplatesWithInstallPaths.TemplateFrameworkVersion)' == '10.0'" />
Expand Down
3 changes: 0 additions & 3 deletions src/Layout/redist/targets/Crossgen.targets
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
<NetSdkAnalyzers>$(InstallerOutputDirectory)Sdks\Microsoft.NET.Sdk\analyzers\</NetSdkAnalyzers>
<NetSdkTools>$(InstallerOutputDirectory)Sdks\Microsoft.NET.Sdk\tools\$(DefaultToolTfm)\</NetSdkTools>
<BlazorWasmTools>$(InstallerOutputDirectory)Sdks\Microsoft.NET.Sdk.BlazorWebAssembly\tools\$(DefaultToolTfm)\</BlazorWasmTools>
<NuGetPackTools>$(InstallerOutputDirectory)Sdks\NuGet.Build.Tasks.Pack\CoreCLR\</NuGetPackTools>
<RazorSourceGenerators>$(InstallerOutputDirectory)Sdks\Microsoft.NET.Sdk.Razor\source-generators\</RazorSourceGenerators>
<RazorTasks>$(InstallerOutputDirectory)Sdks\Microsoft.NET.Sdk.Razor\tasks\$(DefaultToolTfm)\</RazorTasks>
<WindowsDesktopTools>$(InstallerOutputDirectory)Sdks\Microsoft.NET.Sdk.WindowsDesktop\tools\$(DefaultToolTfm)\</WindowsDesktopTools>
Expand Down Expand Up @@ -74,7 +73,6 @@
<RemainingFiles Include="$(NetSdkAnalyzers)**\*" />
<RemainingFiles Include="$(NetSdkTools)**\*" />
<RemainingFiles Include="$(BlazorWasmTools)**\*" />
<RemainingFiles Include="$(NuGetPackTools)**\*" />
<RemainingFiles Include="$(RazorSourceGenerators)**\*" />
<RemainingFiles Include="$(RazorTasks)**\*" />
<RemainingFiles Include="$(WindowsDesktopTools)**\*" />
Expand Down Expand Up @@ -141,7 +139,6 @@

<Error Text="Potentially missed crossgen for '$(NetSdkTools)', directory does not exist" Condition= "!EXISTS('$(NetSdkTools)') " />
<Error Text="Potentially missed crossgen for '$(BlazorWasmTools)', directory does not exist" Condition= "!EXISTS('$(BlazorWasmTools)') " />
<Error Text="Potentially missed crossgen for '$(NuGetPackTools)', directory does not exist" Condition= "!EXISTS('$(NuGetPackTools)') " />
<Error Text="Potentially missed crossgen for '$(RazorTasks)', directory does not exist" Condition= "!EXISTS('$(RazorTasks)') " />
<Error Text="Potentially missed crossgen for '$(WindowsDesktopTools)', directory does not exist" Condition= "!EXISTS('$(WindowsDesktopTools)') AND '$(DotNetBuildSourceOnly)' != 'true'" />
<Error Text="Potentially missed crossgen for '$(PublishTools)', directory does not exist" Condition= "!EXISTS('$(PublishTools)') " />
Expand Down
22 changes: 14 additions & 8 deletions src/Layout/redist/targets/GenerateBundledVersions.targets
Original file line number Diff line number Diff line change
Expand Up @@ -268,14 +268,6 @@
Condition="'$(BundleRuntimePacks)' == 'true'"
Include="$(ProductMonikerRid)" />

<ILCompilerSupportedRids
Condition="'$(BundleNativeAotCompiler)' == 'true'"
Include="$(ProductMonikerRid)" />

<Crossgen2SupportedRids
Condition="'$(BundleCrossgen2)' == 'true'"
Include="$(ProductMonikerRid)" />

<Net60MonoRuntimePackRids Include="
@(Net60RuntimePackRids);
browser-wasm;
Expand Down Expand Up @@ -368,6 +360,12 @@

<Crossgen2SupportedRids Include="@(Net90Crossgen2SupportedRids);" />

<Crossgen2SupportedPortableRids Include="@(Crossgen2SupportedRids)" />

<Crossgen2SupportedRids
Condition="'$(BundleCrossgen2)' == 'true'"
Include="$(ProductMonikerRid)" />

<Net70ILCompilerSupportedRids Include="
linux-arm64;
linux-musl-arm64;
Expand Down Expand Up @@ -402,6 +400,12 @@
linux-musl-riscv64;
" />

<ILCompilerSupportedPortableRids Include="@(ILCompilerSupportedRids)" />

<ILCompilerSupportedRids
Condition="'$(BundleNativeAotCompiler)' == 'true'"
Include="$(ProductMonikerRid)" />

<Net80NativeAOTRuntimePackRids Include="
ios-arm64;
iossimulator-arm64;
Expand Down Expand Up @@ -580,6 +584,7 @@ Copyright (c) .NET Foundation. All rights reserved.
TargetFramework="net10.0"
Crossgen2PackNamePattern="Microsoft.NETCore.App.Crossgen2.**RID**"
Crossgen2PackVersion="$(MicrosoftNETCoreAppRuntimePackageVersion)"
Crossgen2PortableRuntimeIdentifiers="@(Crossgen2SupportedPortableRids, '%3B')"
Crossgen2RuntimeIdentifiers="@(Crossgen2SupportedRids, '%3B')"
/>

Expand All @@ -588,6 +593,7 @@ Copyright (c) .NET Foundation. All rights reserved.
ILCompilerPackNamePattern="runtime.**RID**.Microsoft.DotNet.ILCompiler"
ILCompilerRuntimePackNamePattern="Microsoft.NETCore.App.Runtime.NativeAOT.**RID**"
ILCompilerPackVersion="$(MicrosoftNETCoreAppRuntimePackageVersion)"
ILCompilerPortableRuntimeIdentifiers="@(ILCompilerSupportedPortableRids, '%3B')"
ILCompilerRuntimeIdentifiers="@(ILCompilerSupportedRids, '%3B')"
/>

Expand Down
3 changes: 3 additions & 0 deletions src/RazorSdk/Tool/Json/JsonDataReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,9 @@ public T ReadNonNullObject<T>(string propertyName, ReadProperties<T> readPropert
return ReadNonNullObject(readProperties);
}

public T ReadNonNullObjectOrDefault<T>(string propertyName, ReadProperties<T> readProperties, T defaultValue)
=> TryReadPropertyName(propertyName) ? ReadNonNullObject(readProperties) : defaultValue;

public T[]? ReadArray<T>(ReadValue<T> readElement)
{
if (TryReadNull())
Expand Down
Loading
Loading