Skip to content

Commit 7575954

Browse files
committed
Merge main
2 parents c464656 + 365d7a6 commit 7575954

File tree

343 files changed

+8639
-8395
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

343 files changed

+8639
-8395
lines changed

.config/dotnet-tools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"microsoft.dotnet.darc": {
6-
"version": "1.1.0-beta.25312.2",
6+
"version": "1.1.0-beta.25317.2",
77
"commands": [
88
"darc"
99
]

CODEOWNERS

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,9 @@
6565
# ILLink and ReadyToRun targets and tasks owned by runtime team
6666
# Area-ILLink Area-ReadyToRun
6767
/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.ILLink.targets @dotnet/illink
68-
/src/Tasks/Microsoft.NET.Build.Tasks/PrepareForReadyToRunCompilation.cs @dotnet/area-type-system-and-startup
69-
/src/Tasks/Microsoft.NET.Build.Tasks/RunReadyToRunCompiler.cs @dotnet/area-type-system-and-startup
7068
/test/Microsoft.NET.Publish.Tests/GivenThatWeWantToRunILLink.cs @dotnet/illink
71-
/test/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishReadyToRun.cs @dotnet/area-type-system-and-startup
7269
# Publish.targets related to ILLink and ReadyToRun is own by both runtime and SDK team
73-
/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Publish.targets @dotnet/illink @dotnet/area-type-system-and-startup @dotnet/dotnet-cli
70+
/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Publish.targets @dotnet/illink @dotnet/dotnet-cli
7471
# Area-ClickOnce
7572
/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.ClickOnce.targets @sujitnayak
7673

documentation/general/dotnet-run-file.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,11 @@ For example, the remaining command-line arguments after the first argument (the
6565
(except for the arguments recognized by `dotnet run` unless they are after the `--` separator)
6666
and working directory is not changed (e.g., `cd /x/ && dotnet run /y/file.cs` runs the program in directory `/x/`).
6767

68-
`dotnet path.cs` is a shortcut for `dotnet run path.cs` provided that `path.cs` is a valid [target path](#target-path).
68+
If a dash (`-`) is given instead of the target path (i.e., `dotnet run -`), the C# file to be executed is read from the standard input.
69+
In this case, the current working directory is not used to search for other files (launch profiles, other sources in case of multi-file apps);
70+
the compilation consists solely of the single file read from the standard input.
71+
72+
`dotnet path.cs` is a shortcut for `dotnet run path.cs` provided that `path.cs` is a valid [target path](#target-path) (`dotnet -` is currently not supported).
6973

7074
### Other commands
7175

@@ -247,10 +251,6 @@ This section outlines potential future enhancements and alternatives considered.
247251

248252
We could allow folders as the target path in the future (e.g., `dotnet run ./my-app/`).
249253

250-
An option like `dotnet run --cs-from-stdin` could read the C# file from standard input.
251-
In this case, the current working directory would not be used to search for project or other C# files;
252-
the compilation would consist solely of the single file read from standard input.
253-
254254
Similarly, it could be possible to specify the whole C# source text in a command-line argument
255255
like `dotnet run --cs-code 'Console.WriteLine("Hi")'`.
256256

eng/Version.Details.xml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@
6767
<Dependency Name="Microsoft.NET.Runtime.Emscripten.Sdk.Internal" Version="10.0.0-preview.6.25316.103">
6868
<Uri>https://github.com/dotnet/dotnet</Uri>
6969
<Sha>20343176cfd35b56036dc4ca9d9ddd2a201a4e92</Sha>
70-
<SourceBuild RepoName="emsdk" ManagedOnly="true" />
70+
</Dependency>
71+
<Dependency Name="Microsoft.NET.Runtime.Emscripten.3.1.56.Cache.win-x64" Version="10.0.0-preview.6.25316.103">
72+
<Uri>https://github.com/dotnet/dotnet</Uri>
73+
<Sha>20343176cfd35b56036dc4ca9d9ddd2a201a4e92</Sha>
7174
</Dependency>
7275
<Dependency Name="Microsoft.Build" Version="17.15.0-preview-25316-103">
7376
<Uri>https://github.com/dotnet/dotnet</Uri>
@@ -538,21 +541,21 @@
538541
<Uri>https://github.com/dotnet/dotnet</Uri>
539542
<Sha>20343176cfd35b56036dc4ca9d9ddd2a201a4e92</Sha>
540543
</Dependency>
541-
<Dependency Name="Microsoft.DotNet.Darc" Version="1.1.0-beta.25312.2">
544+
<Dependency Name="Microsoft.DotNet.Darc" Version="1.1.0-beta.25317.2">
542545
<Uri>https://github.com/dotnet/arcade-services</Uri>
543-
<Sha>ddbab8acf544cc1762d5552f6f7e4eaf20429e9b</Sha>
546+
<Sha>ae710fac68a8b1eb7ddf3f3579b0c372e2e01feb</Sha>
544547
</Dependency>
545-
<Dependency Name="Microsoft.DotNet.DarcLib" Version="1.1.0-beta.25312.2">
548+
<Dependency Name="Microsoft.DotNet.DarcLib" Version="1.1.0-beta.25317.2">
546549
<Uri>https://github.com/dotnet/arcade-services</Uri>
547-
<Sha>ddbab8acf544cc1762d5552f6f7e4eaf20429e9b</Sha>
550+
<Sha>ae710fac68a8b1eb7ddf3f3579b0c372e2e01feb</Sha>
548551
</Dependency>
549-
<Dependency Name="Microsoft.Testing.Platform" Version="1.8.0-preview.25316.7">
552+
<Dependency Name="Microsoft.Testing.Platform" Version="1.8.0-preview.25318.4">
550553
<Uri>https://github.com/microsoft/testfx</Uri>
551-
<Sha>256bc4dd4a1a1e1358c66295f959cc266652d82c</Sha>
554+
<Sha>0138b4a65787965df7e592b83d32a237b9e65b26</Sha>
552555
</Dependency>
553-
<Dependency Name="MSTest" Version="3.10.0-preview.25316.7">
556+
<Dependency Name="MSTest" Version="3.10.0-preview.25318.4">
554557
<Uri>https://github.com/microsoft/testfx</Uri>
555-
<Sha>256bc4dd4a1a1e1358c66295f959cc266652d82c</Sha>
558+
<Sha>0138b4a65787965df7e592b83d32a237b9e65b26</Sha>
556559
</Dependency>
557560
<Dependency Name="Microsoft.Extensions.Configuration.Ini" Version="10.0.0-preview.6.25316.103">
558561
<Uri>https://github.com/dotnet/dotnet</Uri>

eng/Versions.props

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
<PreReleaseVersionLabel Condition="'$(StabilizePackageVersion)' != 'true'">preview</PreReleaseVersionLabel>
2323
<PreReleaseVersionLabel Condition="'$(StabilizePackageVersion)' == 'true' and $(VersionPrefix.EndsWith('00'))">rtm</PreReleaseVersionLabel>
2424
<PreReleaseVersionLabel Condition="'$(StabilizePackageVersion)' == 'true' and !$(VersionPrefix.EndsWith('00'))">servicing</PreReleaseVersionLabel>
25-
<PreReleaseVersionIteration Condition="'$(StabilizePackageVersion)' != 'true'">6</PreReleaseVersionIteration>
25+
<PreReleaseVersionIteration Condition="'$(StabilizePackageVersion)' != 'true'">7</PreReleaseVersionIteration>
2626
<!-- In source-build the version of the compiler must be same or newer than the version of the
2727
compiler API targeted by analyzer assemblies. This is mostly an issue on source-build as
2828
in that build mode analyzer assemblies always target the live compiler API. -->
2929
<UsingToolMicrosoftNetCompilers Condition="'$(DotNetBuildSourceOnly)' == 'true'">true</UsingToolMicrosoftNetCompilers>
3030
<UsingToolVSSDK>true</UsingToolVSSDK>
3131
<FlagNetStandard1XDependencies Condition="'$(DotNetBuildSourceOnly)' == 'true'">true</FlagNetStandard1XDependencies>
3232
<!-- This property is only used in the dotnet test integration tests. -->
33-
<MicrosoftTestingPlatformVersion>1.8.0-preview.25316.7</MicrosoftTestingPlatformVersion>
33+
<MicrosoftTestingPlatformVersion>1.8.0-preview.25318.4</MicrosoftTestingPlatformVersion>
3434
</PropertyGroup>
3535
<PropertyGroup Label="Servicing version information">
3636
<VersionFeature21>30</VersionFeature21>
@@ -39,8 +39,8 @@
3939
<VersionFeature60>36</VersionFeature60>
4040
<VersionFeature70>20</VersionFeature70>
4141
<!-- This version should be N-1 (ie the currently released version) in the preview branch but N-2 in main so that workloads stay behind the unreleased version -->
42-
<VersionFeature80>15</VersionFeature80>
43-
<VersionFeature90>4</VersionFeature90>
42+
<VersionFeature80>16</VersionFeature80>
43+
<VersionFeature90>5</VersionFeature90>
4444
<!-- Should be kept in sync with VersionFeature70. It should match the version of Microsoft.NET.ILLink.Tasks
4545
referenced by the same 7.0 SDK that references the 7.0.VersionFeature70 runtime pack. -->
4646
<_NET70ILLinkPackVersion>7.0.100-1.23211.1</_NET70ILLinkPackVersion>
@@ -89,7 +89,7 @@
8989
</PropertyGroup>
9090
<PropertyGroup>
9191
<!-- Dependency from https://github.com/dotnet/arcade-services -->
92-
<MicrosoftDotNetDarcLibVersion>1.1.0-beta.25312.2</MicrosoftDotNetDarcLibVersion>
92+
<MicrosoftDotNetDarcLibVersion>1.1.0-beta.25317.2</MicrosoftDotNetDarcLibVersion>
9393
</PropertyGroup>
9494
<PropertyGroup>
9595
<!-- Dependency from https://github.com/dotnet/aspire -->
@@ -274,6 +274,7 @@
274274
<PropertyGroup>
275275
<!-- Dependencies from https://github.com/dotnet/emsdk -->
276276
<MicrosoftNETRuntimeEmscriptenSdkInternalVersion>10.0.0-preview.6.25316.103</MicrosoftNETRuntimeEmscriptenSdkInternalVersion>
277+
<MicrosoftNETRuntimeEmscripten3156Cachewinx64Version>10.0.0-preview.6.25316.103</MicrosoftNETRuntimeEmscripten3156Cachewinx64Version>
277278
<!-- emscripten versions, these are are included in package IDs and need to be kept in sync with emsdk -->
278279
<EmscriptenVersionCurrent>3.1.56</EmscriptenVersionCurrent>
279280
<EmscriptenVersionNet9>3.1.56</EmscriptenVersionNet9>
@@ -325,20 +326,20 @@
325326
<AwesomeAssertionsVersion>8.0.2</AwesomeAssertionsVersion>
326327
<AwesomeAssertionsJsonVersion>8.0.0</AwesomeAssertionsJsonVersion>
327328
<MoqPackageVersion>4.18.4</MoqPackageVersion>
328-
<MSTestVersion>3.10.0-preview.25316.7</MSTestVersion>
329+
<MSTestVersion>3.10.0-preview.25318.4</MSTestVersion>
329330
<XunitCombinatorialVersion>1.3.2</XunitCombinatorialVersion>
330331
<MicrosoftDotNetInstallerWindowsSecurityTestDataPackageVersion>8.0.0-beta.23607.1</MicrosoftDotNetInstallerWindowsSecurityTestDataPackageVersion>
331332
</PropertyGroup>
332333
<PropertyGroup Label="Workload manifest package versions">
333334
<AspireFeatureBand>8.0.100</AspireFeatureBand>
334335
<MicrosoftNETSdkAspireManifest80100PackageVersion>8.2.2</MicrosoftNETSdkAspireManifest80100PackageVersion>
335-
<MauiFeatureBand>10.0.100-preview.3</MauiFeatureBand>
336-
<MauiWorkloadManifestVersion>10.0.0-preview.3.25208.1</MauiWorkloadManifestVersion>
337-
<XamarinAndroidWorkloadManifestVersion>36.0.0-preview.3.22</XamarinAndroidWorkloadManifestVersion>
338-
<XamarinIOSWorkloadManifestVersion>18.2.10695-net10-p3</XamarinIOSWorkloadManifestVersion>
339-
<XamarinMacCatalystWorkloadManifestVersion>18.2.10695-net10-p3</XamarinMacCatalystWorkloadManifestVersion>
340-
<XamarinMacOSWorkloadManifestVersion>15.2.10695-net10-p3</XamarinMacOSWorkloadManifestVersion>
341-
<XamarinTvOSWorkloadManifestVersion>18.2.10695-net10-p3</XamarinTvOSWorkloadManifestVersion>
336+
<MauiFeatureBand>10.0.100-preview.5</MauiFeatureBand>
337+
<MauiWorkloadManifestVersion>10.0.0-preview.5.25306.5</MauiWorkloadManifestVersion>
338+
<XamarinAndroidWorkloadManifestVersion>36.0.0-preview.5.116</XamarinAndroidWorkloadManifestVersion>
339+
<XamarinIOSWorkloadManifestVersion>18.4.10622-net10-p5</XamarinIOSWorkloadManifestVersion>
340+
<XamarinMacCatalystWorkloadManifestVersion>18.4.10622-net10-p5</XamarinMacCatalystWorkloadManifestVersion>
341+
<XamarinMacOSWorkloadManifestVersion>15.4.10622-net10-p5</XamarinMacOSWorkloadManifestVersion>
342+
<XamarinTvOSWorkloadManifestVersion>18.4.10622-net10-p5</XamarinTvOSWorkloadManifestVersion>
342343
</PropertyGroup>
343344
<PropertyGroup Label="Pinned dependency">
344345
<!-- This package is not being produced outside of the 2.0 branch of corefx and should not change. -->

eng/pipelines/templates/jobs/sdk-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
templateContext:
5959
sdl:
6060
binskim:
61-
analyzeTargetGlob: +:f|eng\**\*.props;+:f|artifacts\bin\**\*.dll;+:f|artifacts\bin\**\*.exe;-:f|artifacts\bin\**\msdia140.dll;-:f|artifacts\bin\**\pgort140.dll;-:f|artifacts\bin\*Tests\**;
61+
analyzeTargetGlob: +:f|eng\**\*.props;+:f|artifacts\bin\**\*.dll;+:f|artifacts\bin\**\*.exe;-:f|artifacts\bin\**\msdia140.dll;-:f|artifacts\bin\**\pgort140.dll;-:f|artifacts\bin\*Tests\**;-:f|**\Microsoft.NET.Runtime.Emscripten**\tools\**;-:f|**\CodeCoverage\**;
6262

6363
steps:
6464
############## PREP ###############

src/Cli/Microsoft.TemplateEngine.Cli/Help/HelpBuilder.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ public virtual void Write(HelpContext context)
4343
throw new ArgumentNullException(nameof(context));
4444
}
4545

46-
if (context.Command.Hidden)
47-
{
48-
return;
49-
}
50-
5146
foreach (var writeSection in GetLayout(context))
5247
{
5348
if (writeSection(context))

src/Cli/Microsoft.TemplateEngine.Cli/LocalizableStrings.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Cli/Microsoft.TemplateEngine.Cli/LocalizableStrings.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ The header is followed by the list of parameters and their errors (might be seve
809809
<comment>{0} is the exit code</comment>
810810
</data>
811811
<data name="TemplateCommand_DisplayConstraintResults_Error" xml:space="preserve">
812-
<value>Failed to instatiate template '{0}', the following constraints are not met:</value>
812+
<value>Failed to instantiate template '{0}', the following constraints are not met:</value>
813813
<comment>{0} - template name (user friendly)</comment>
814814
</data>
815815
<data name="TemplateCommand_DisplayConstraintResults_Hint" xml:space="preserve">

src/Cli/Microsoft.TemplateEngine.Cli/xlf/LocalizableStrings.cs.xlf

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)