Skip to content

Forward flow sdk main - #7307

Merged
lewing merged 4 commits into
mainfrom
darc-ccf3717b-33fa-4053-8fb3-6030ade5046f
Jun 23, 2026
Merged

lewing merged 4 commits into
mainfrom
darc-ccf3717b-33fa-4053-8fb3-6030ade5046f

Conversation

@dkurepa

@dkurepa dkurepa commented Jun 22, 2026

Copy link
Copy Markdown
Member

There was a conflict in src\sdk\src\Cli\dotnet\CommandFactory\CommandResolution\DotnetToolsCommandResolver.cs so please double check if it's all good.

<<<<<<< ours
    private static readonly IReadOnlyDictionary<string, string> AggregateToolPackages = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase)
    {
        ["dotnet-dev-certs"] = "aspnetcoretools",
        ["dotnet-user-jwts"] = "aspnetcoretools",
        ["dotnet-user-secrets"] = "aspnetcoretools",
    };
=======
    public static DotnetToolsCommandResolver ForSdkRoot(string sdkRoot)
    {
        return new DotnetToolsCommandResolver(Path.Combine(sdkRoot, "DotnetTools"));
    }
>>>>>>> theirs

I accepted both changes as it looked like the correct thing to do

Copilot AI review requested due to automatic review settings June 22, 2026 08:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

dkurepa added 2 commits June 23, 2026 09:41
Added version and commands fields to dotnet-tools.json
@mthalman

Copy link
Copy Markdown
Member

@javiercn The source-build stage-2 leg is failing here from dotnet/sdk#52302. It attempts to rebuild the VMR with the newly produced SDK that contains your changes. This is not source-build specific; this would have failed with a Microsoft build as well had such a job existed. Could you take a look?

/__w/_temp/previously-source-built-sdk/sdk/11.0.100-ci/Sdks/Microsoft.NET.Sdk.StaticWebAssets/targets/Microsoft.NET.Sdk.StaticWebAssets.TypeScript.targets(29,11): error MSB4057: The target "CompileTypeScriptWithTSConfig" does not exist in the project. [/__w/1/s/src/aspnetcore/src/Components/Authorization/src/Microsoft.AspNetCore.Components.Authorization.csproj]

@javiercn

Copy link
Copy Markdown
Member

@javiercn The source-build stage-2 leg is failing here from dotnet/sdk#52302. It attempts to rebuild the VMR with the newly produced SDK that contains your changes. This is not source-build specific; this would have failed with a Microsoft build as well had such a job existed. Could you take a look?

/__w/_temp/previously-source-built-sdk/sdk/11.0.100-ci/Sdks/Microsoft.NET.Sdk.StaticWebAssets/targets/Microsoft.NET.Sdk.StaticWebAssets.TypeScript.targets(29,11): error MSB4057: The target "CompileTypeScriptWithTSConfig" does not exist in the project. [/__w/1/s/src/aspnetcore/src/Components/Authorization/src/Microsoft.AspNetCore.Components.Authorization.csproj]

@copilot apply the changes from dotnet/aspnetcore#67389 (comment) in this PR

Replace EnableTypeScriptNuGetTarget=true with TypeScriptCompileBlocked=true in Components
Directory.Build.props files and remove redundant per-project declarations.

dotnet/sdk#52302 repurposed EnableTypeScriptNuGetTarget to import a new StaticWebAssets
TypeScript target whose RegisterTypeScriptStaticWebAssets hard-depends on
CompileTypeScriptWithTSConfig - only defined when Microsoft.TypeScript.MSBuild NuGet
package is referenced. Components TypeScript is compiled via npm/rollup, not MSBuild,
so TypeScriptCompileBlocked=true is the correct property to use.

Fixes source-build stage-2 leg failure reported in dotnet/aspnetcore#67389.

Copilot AI commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

@javiercn The source-build stage-2 leg is failing here from dotnet/sdk#52302. It attempts to rebuild the VMR with the newly produced SDK that contains you...

Applied the changes from dotnet/aspnetcore#67389 in commit Fix MSB4057 CompileTypeScriptWithTSConfig error. The fix replaces EnableTypeScriptNuGetTarget=true with TypeScriptCompileBlocked=true in the two Directory.Build.props files under src/aspnetcore/src/Components/ and removes the now-redundant per-project declarations from LazyTestContentPackage.csproj and TestContentPackage.csproj.

Copilot AI requested a review from javiercn June 23, 2026 17:44
@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team June 23, 2026 17:46
@javiercn

Copy link
Copy Markdown
Member

@javiercn The source-build stage-2 leg is failing here from dotnet/sdk#52302. It attempts to rebuild the VMR with the newly produced SDK that contains you...

Applied the changes from dotnet/aspnetcore#67389 in commit Fix MSB4057 CompileTypeScriptWithTSConfig error. The fix replaces EnableTypeScriptNuGetTarget=true with TypeScriptCompileBlocked=true in the two Directory.Build.props files under src/aspnetcore/src/Components/ and removes the now-redundant per-project declarations from LazyTestContentPackage.csproj and TestContentPackage.csproj.

@mthalman this should hopefully now be unblocked

@dkurepa
dkurepa restored the darc-ccf3717b-33fa-4053-8fb3-6030ade5046f branch August 13, 2026 08:49
@premun
premun deleted the darc-ccf3717b-33fa-4053-8fb3-6030ade5046f branch August 25, 2026 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants