Skip to content

Commit dc9a98b

Browse files
Merging main into darc-main-03521c65-ef47-4da5-a989-1a9ff03d8aa7
2 parents 00897e7 + 9badd70 commit dc9a98b

File tree

6 files changed

+10
-13
lines changed

6 files changed

+10
-13
lines changed

eng/Version.Details.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -579,13 +579,13 @@
579579
<Uri>https://github.com/dotnet/arcade-services</Uri>
580580
<Sha>bd2309670213218bc0e2073379e4985b346600c7</Sha>
581581
</Dependency>
582-
<Dependency Name="Microsoft.Testing.Platform" Version="1.8.0-preview.25257.2">
582+
<Dependency Name="Microsoft.Testing.Platform" Version="1.8.0-preview.25262.2">
583583
<Uri>https://github.com/microsoft/testfx</Uri>
584-
<Sha>2b3a9fd44e2cbb1c52362a211b025b9eddbd8ec1</Sha>
584+
<Sha>9a016c071b017918233cbf99e1d21144fb9ce5f3</Sha>
585585
</Dependency>
586-
<Dependency Name="MSTest" Version="3.10.0-preview.25257.2">
586+
<Dependency Name="MSTest" Version="3.10.0-preview.25262.2">
587587
<Uri>https://github.com/microsoft/testfx</Uri>
588-
<Sha>2b3a9fd44e2cbb1c52362a211b025b9eddbd8ec1</Sha>
588+
<Sha>9a016c071b017918233cbf99e1d21144fb9ce5f3</Sha>
589589
</Dependency>
590590
<Dependency Name="Microsoft.Extensions.Configuration.Ini" Version="10.0.0-preview.5.25260.104">
591591
<Uri>https://github.com/dotnet/dotnet</Uri>

eng/Versions.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
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.25257.2</MicrosoftTestingPlatformVersion>
33+
<MicrosoftTestingPlatformVersion>1.8.0-preview.25262.2</MicrosoftTestingPlatformVersion>
3434
</PropertyGroup>
3535
<PropertyGroup Label="Servicing version information">
3636
<VersionFeature21>30</VersionFeature21>
@@ -328,7 +328,7 @@
328328
<AwesomeAssertionsVersion>8.0.2</AwesomeAssertionsVersion>
329329
<AwesomeAssertionsJsonVersion>8.0.0</AwesomeAssertionsJsonVersion>
330330
<MoqPackageVersion>4.18.4</MoqPackageVersion>
331-
<MSTestVersion>3.10.0-preview.25257.2</MSTestVersion>
331+
<MSTestVersion>3.10.0-preview.25262.2</MSTestVersion>
332332
<XunitCombinatorialVersion>1.3.2</XunitCombinatorialVersion>
333333
<MicrosoftDotNetInstallerWindowsSecurityTestDataPackageVersion>8.0.0-beta.23607.1</MicrosoftDotNetInstallerWindowsSecurityTestDataPackageVersion>
334334
</PropertyGroup>

src/Cli/dotnet/Commands/Hidden/Add/Package/AddPackageCommandParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ private static Command ConstructCommand()
4343
}
4444
else
4545
{
46-
return new PackageAddCommand(parseResult, parseResult.GetValue(AddCommandParser.ProjectArgument)).Execute();
46+
return new PackageAddCommand(parseResult, parseResult.GetValue(AddCommandParser.ProjectArgument) ?? Directory.GetCurrentDirectory()).Execute();
4747
}
4848
});
4949

src/Cli/dotnet/Commands/Reference/List/ReferenceListCommand.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ public ReferenceListCommand(
2222

2323
_fileOrDirectory = parseResult.HasOption(ReferenceCommandParser.ProjectOption) ?
2424
parseResult.GetValue(ReferenceCommandParser.ProjectOption) :
25-
parseResult.GetValue(ListCommandParser.SlnOrProjectArgument);
25+
parseResult.GetValue(ListCommandParser.SlnOrProjectArgument) ??
26+
Directory.GetCurrentDirectory();
2627
}
2728

2829
public override int Execute()

src/Cli/dotnet/Commands/Test/TestCommandParser.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,6 @@ public static string GetTestRunnerName()
164164
var builder = new ConfigurationBuilder();
165165

166166
string? dotnetConfigPath = GetDotnetConfigPath(Environment.CurrentDirectory);
167-
Debug.Assert(dotnetConfigPath is not null);
168-
169167
if (!File.Exists(dotnetConfigPath))
170168
{
171169
return CliConstants.VSTest;

src/Layout/redist/targets/Crossgen.targets

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
'$(TargetArchitecture)' != 'ppc64le' and
88
'$(DotNetBuildUseMonoRuntime)' != 'true'">true</IsCrossgenSupported>
99

10-
<Crossgen2Rid>$(HostOSName)-$(BuildArchitecture)</Crossgen2Rid>
11-
12-
<RuntimeNETCrossgenPackageName>microsoft.netcore.app.crossgen2.$(Crossgen2Rid)</RuntimeNETCrossgenPackageName>
10+
<RuntimeNETCrossgenPackageName>microsoft.netcore.app.crossgen2.$(NETCoreSdkRuntimeIdentifier)</RuntimeNETCrossgenPackageName>
1311
</PropertyGroup>
1412

1513
<!-- Download the runtime package with the crossgen executable in it -->

0 commit comments

Comments
 (0)