-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
[release/6.0] Build ProjectTemplates in Source-Build #40840
[release/6.0] Build ProjectTemplates in Source-Build #40840
Conversation
@MichaelSimons could you confirm if the same issue is present in |
Hi @wtgodbe. If this is not a tell-mode PR, please make sure to follow the instructions laid out in the servicing process document. |
@@ -1,6 +1,6 @@ | |||
<Project Sdk="Microsoft.NET.Sdk.Razor"> | |||
|
|||
<Sdk Name="Yarn.MSBuild" /> | |||
<Sdk Name="Yarn.MSBuild" Condition=" '$(DotNetBuildFromSource)' != 'true'" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Might want to add an <Error />
in one of the $(ResolveStaticWebAssetsInputsDependsOn)
targets if '$(DotNetBuildFromSource)' == 'true'
because the failure to find yarn
or Yarn.MSBuild will likely be slightly obscure. Same in src/Components/WebAssembly/WebAssembly.Authentication/src/Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean in case we ever turn these on for SourceBuild?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, fast failure sounds good for that eventuality
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
I expect it is. I cannot confirm because source-build is not building in main. This work is scheduled for preview-4. |
I will kick-off a full tarball build to ensure there are no-prebuilts before I sign-off. |
Looking |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Offline E2E source-build passed - dotnet/installer#13459
Thanks for fixing this for source-build.
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Reverts #40805 & disables use of the yarn.msbuild SDK in source-build so that it's not considered a prebuilt