-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Move all MSBuild logic from Microsoft.AspNetCore.App (the package) into an MSBuild SDK #3611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
So in order to use Razor features, projects will have to set their SDK to |
Users shouldn’t need to change the SDK used in projects. Microsoft.NET.Sdk.Razor already exists in the 2.1 tooling, but it’s not typically referenced in project file. |
Okay, so it is possible for a project to reference multiple SDKs. Alright, nevermind my comment then :) |
Yeah this is already the case 😆 - historically Razor only worked in web applications. We added class library support in 2.1 but it's always required Razor SDK. |
Just to be clear, you don't (and won't) need to explicitly use the Razor SDK if your project uses Microsoft.NET.Sdk.Web. |
Moving out since preview2 is done. @natemcmaster I assume this is still required? |
The work is blocked, pending a design from the SDK team on how targeting packs should specify package conflict resolution metadata. |
This work was completed in 3.0 preview 4.
|
Problem
Follow-up to #3608. In 2.1 and 2.2, there are some MSBuild targets and tooling bundled in the NuGet packages pulled in by Microsoft.AspNetCore.App. As a part of making Microsoft.AspNetCore.App a shared framework in 2.1, we failed to realize that this would impact MSBuild targets and related tooling. The design of shared frameworks calls for the package version of Microsoft.AspNetCore.App to be pinned and not to update in packages. This makes it difficult to service the MSBuild targets and tooling without also impacting compilation references and runtime versions.
In 3.0, this will impacts the following
Proposed solution
All packages that are part of Microsoft.AspNetCore.App should move MSBuild targets and tasks out of the package and into an MSBuild SDK.
<FrameworkReference>
feature)The text was updated successfully, but these errors were encountered: