Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
8a19265
Update VersionFeature80 and VersionFeature90 calculations to Jan release
marcpopMSFT Jan 16, 2026
e22ccd4
Initial plan
Copilot Jan 28, 2026
8d942c2
Update locBranch to release/10.0.3xx
Copilot Jan 28, 2026
a9de56f
Update dependencies
dotnet-maestro[bot] Feb 2, 2026
2eb9eca
Keep template_feed/../content/../.gitattributes in archives
omajid Jan 29, 2026
58fa0ba
Update dependencies from https://github.com/microsoft/testfx build 20…
dotnet-maestro[bot] Feb 3, 2026
67631a2
[release/10.0.2xx] Source code updates from dotnet/dotnet (#52769)
DonnaChen888 Feb 3, 2026
7b1f17a
[release/10.0.2xx] Update dependencies from microsoft/testfx (#52798)
DonnaChen888 Feb 3, 2026
0505d7e
Initial plan
Copilot Feb 3, 2026
d279bd8
Fix DNX command casting error by using base class
Copilot Feb 4, 2026
cb85019
Add parameterized tests for dnx and exec commands
Copilot Feb 4, 2026
a426e5c
Refactor tests to extract common arguments
Copilot Feb 4, 2026
bed7a7b
Update dependencies from https://github.com/microsoft/testfx build 20…
dotnet-maestro[bot] Feb 4, 2026
08c351c
[release/10.0.2xx] Update dependencies from microsoft/testfx (#52827)
DonnaChen888 Feb 4, 2026
aed9a02
Backflow from https://github.com/dotnet/dotnet / a2bfa46 build 300193
dotnet-maestro[bot] Feb 4, 2026
bc74f4b
Update dependencies
dotnet-maestro[bot] Feb 4, 2026
f66d62e
[release/10.0.2xx] Source code updates from dotnet/dotnet (#52830)
DonnaChen888 Feb 4, 2026
336ce78
Update dependencies
dotnet-maestro[bot] Feb 4, 2026
fdc6404
[release/10.0.2xx] Source code updates from dotnet/dotnet (#52832)
joeloff Feb 4, 2026
33536e3
Update dependencies from https://github.com/microsoft/testfx build 20…
dotnet-maestro[bot] Feb 5, 2026
cf2e5d6
[release/10.0.2xx] Update dependencies from microsoft/testfx (#52844)
DonnaChen888 Feb 5, 2026
d74666a
Fix DNX command casting error with DnxCommandDefinition (#52820)
marcpopMSFT Feb 5, 2026
1819039
Update locBranch to release/10.0.3xx (#52720)
marcpopMSFT Feb 5, 2026
d47e7c3
Update dependencies from https://github.com/microsoft/testfx build 20…
dotnet-maestro[bot] Feb 6, 2026
2cf45fe
[release/10.0.2xx] Update dependencies from microsoft/testfx (#52869)
DonnaChen888 Feb 6, 2026
b3e23d7
Update dependencies
dotnet-maestro[bot] Feb 6, 2026
4cd2fac
[release/10.0.2xx] Source code updates from dotnet/dotnet (#52875)
joeloff Feb 6, 2026
be1788d
Merge branch 'release/10.0.2xx' into marcpopMSFT-patch-3
marcpopMSFT Feb 6, 2026
e6fea27
Update VersionFeature80 and VersionFeature90 calculations to Jan rele…
marcpopMSFT Feb 6, 2026
8cef68e
[release/10.0.2xx] Keep template_feed/../content/../.gitattributes in…
marcpopMSFT Feb 6, 2026
e0e2623
Update dependencies from https://github.com/microsoft/testfx build 20…
dotnet-maestro[bot] Feb 7, 2026
a5d1968
Update dependencies from https://github.com/microsoft/testfx build 20…
dotnet-maestro[bot] Feb 8, 2026
e219380
Update dependencies from https://github.com/microsoft/testfx build 20…
dotnet-maestro[bot] Feb 9, 2026
3249ae0
[release/10.0.2xx] Update dependencies from microsoft/testfx (#52893)
DonnaChen888 Feb 9, 2026
d24cb61
Reset files to release/10.0.3xx
github-actions[bot] Feb 9, 2026
8a06162
Merge branch 'release/10.0.3xx' into merge/release/10.0.2xx-to-releas…
DonnaChen888 Feb 10, 2026
4149f8d
Merge branch 'release/10.0.3xx' into merge/release/10.0.2xx-to-releas…
nagilson Feb 10, 2026
39cdacf
don't update the version feature values in branch flow
marcpopMSFT Feb 10, 2026
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
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,8 @@
*.verified.zsh text eol=lf working-tree-encoding=UTF-8
*.verified.nu text eol=lf working-tree-encoding=UTF-8
*.verified.fish text eol=lf working-tree-encoding=UTF-8

###############################################################################
# Ensure files are included in git archive
###############################################################################
/template_feed/Microsoft.DotNet.Common.ItemTemplates/content/Gitattributes/.gitattributes -export-ignore
2 changes: 1 addition & 1 deletion .vsts-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ extends:
publishTaskPrefix: 1ES.
populateInternalRuntimeVariables: true
runtimeSourceProperties: /p:DotNetRuntimeSourceFeed=https://ci.dot.net/internal /p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64)
locBranch: release/10.0.2xx
locBranch: release/10.0.3xx
# WORKAROUND: BinSkim requires the folder exist prior to scanning.
preSteps:
- powershell: New-Item -ItemType Directory -Path $(Build.SourcesDirectory)/artifacts/bin -Force
Expand Down
2 changes: 1 addition & 1 deletion src/Cli/dotnet/Commands/Tool/Execute/ToolExecuteCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

namespace Microsoft.DotNet.Cli.Commands.Tool.Execute;

internal sealed class ToolExecuteCommand : CommandBase<ToolExecuteCommandDefinition>
internal sealed class ToolExecuteCommand : CommandBase<ToolExecuteCommandDefinitionBase>
{
const int ERROR_CANCELLED = 1223; // Windows error code for "Operation canceled by user"

Expand Down
26 changes: 20 additions & 6 deletions test/Microsoft.DotNet.PackageInstall.Tests/EndToEndToolTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,10 @@ public void PackageToolWithAnyRid()
.And.Satisfy<string>(SupportAllOfTheseRuntimes([.. expectedRids, "any"]));
}

[Fact]
public void InstallAndRunToolFromAnyRid()
[Theory]
[InlineData("exec")]
[InlineData("dnx")]
public void InstallAndRunToolFromAnyRid(string command)
{
var toolSettings = new TestToolBuilder.TestToolSettings()
{
Expand All @@ -282,16 +284,23 @@ public void InstallAndRunToolFromAnyRid()
var testDirectory = _testAssetsManager.CreateTestDirectory();
var homeFolder = Path.Combine(testDirectory.Path, "home");

new DotnetToolCommand(Log, "exec", toolSettings.ToolPackageId, "--verbosity", "diagnostic", "--yes", "--source", toolPackagesPath)
string[] args = [command, toolSettings.ToolPackageId, "--verbosity", "diagnostic", "--yes", "--source", toolPackagesPath];
var testCommand = command == "dnx"
? new DotnetCommand(Log, args)
: new DotnetToolCommand(Log, args);

testCommand
.WithEnvironmentVariables(homeFolder)
.WithWorkingDirectory(testDirectory.Path)
.Execute()
.Should().Pass()
.And.HaveStdOutContaining("Hello Tool!");
}

[Fact]
public void InstallAndRunToolFromAnyRidWhenOtherRidsArePresentButIncompatible()
[Theory]
[InlineData("exec")]
[InlineData("dnx")]
public void InstallAndRunToolFromAnyRidWhenOtherRidsArePresentButIncompatible(string command)
{
var toolSettings = new TestToolBuilder.TestToolSettings()
{
Expand All @@ -310,7 +319,12 @@ .. expectedRids.Select(rid => $"{toolSettings.ToolPackageId}.{rid}.{toolSettings
var testDirectory = _testAssetsManager.CreateTestDirectory();
var homeFolder = Path.Combine(testDirectory.Path, "home");

new DotnetToolCommand(Log, "exec", toolSettings.ToolPackageId, "--verbosity", "diagnostic", "--yes", "--source", toolPackagesPath)
string[] args = [command, toolSettings.ToolPackageId, "--verbosity", "diagnostic", "--yes", "--source", toolPackagesPath];
var testCommand = command == "dnx"
? new DotnetCommand(Log, args)
: new DotnetToolCommand(Log, args);

testCommand
.WithEnvironmentVariables(homeFolder)
.WithWorkingDirectory(testDirectory.Path)
.Execute()
Expand Down
Loading