File tree Expand file tree Collapse file tree 6 files changed +16
-10
lines changed
WebAssembly.Authentication/src
Middleware/NodeServices/src Expand file tree Collapse file tree 6 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 5656
5757 <Import Project =" CSharp.ReferenceAssembly.props" Condition =" '$(IsReferenceAssemblyProject)' == 'true'" />
5858
59+ <!-- Properties to control how we handle warnings when using the tasks provided by the Yarn MSBuild SDK -->
60+ <PropertyGroup >
61+ <IgnoreYarnWarnings >false</IgnoreYarnWarnings >
62+ <IgnoreYarnWarnings Condition =" '$(ContinuousIntegrationBuild)' == 'true'" >true</IgnoreYarnWarnings >
63+ </PropertyGroup >
64+
5965</Project >
Original file line number Diff line number Diff line change 4242 <Target Name =" Restore" >
4343 <Telemetry EventName =" NETCORE_ENGINEERING_TELEMETRY" EventData =" Category=Restore" />
4444 <Message Importance =" High" Text =" Running yarn install on $(MSBuildProjectFullPath)" />
45- <Yarn Command =" install --mutex network $(InstallArgs)" StandardOutputImportance =" High" StandardErrorImportance =" High" />
45+ <Yarn Command =" install --mutex network $(InstallArgs)" StandardOutputImportance =" High" StandardErrorImportance =" High" IgnoreStandardErrorWarningFormat = " $(IgnoreYarnWarnings) " />
4646 </Target >
4747
4848 <Target Name =" PrepareForBuild" >
Original file line number Diff line number Diff line change 1- <Project Sdk =" Microsoft.NET.Sdk.Razor" >
1+ <Project Sdk =" Microsoft.NET.Sdk.Razor" >
22
33 <Sdk Name =" Yarn.MSBuild" />
44
5858 </Target >
5959
6060 <Target Name =" CompileInterop" Condition =" '$(BuildNodeJS)' != 'false' AND '$(DesignTimeBuild)' != 'true'" Inputs =" $(InteropCompilationCacheFile)" Outputs =" @(YarnOutputs)" >
61- <Yarn Command =" install --mutex network" WorkingDirectory =" $(YarnWorkingDir)" />
62- <Yarn Command =" run build:release" WorkingDirectory =" $(YarnWorkingDir)" Condition =" '$(Configuration)' == 'Release'" />
63- <Yarn Command =" run build:debug" WorkingDirectory =" $(YarnWorkingDir)" Condition =" '$(Configuration)' == 'Debug'" />
61+ <Yarn Command =" install --mutex network" WorkingDirectory =" $(YarnWorkingDir)" IgnoreStandardErrorWarningFormat = " $(IgnoreYarnWarnings) " />
62+ <Yarn Command =" run build:release" WorkingDirectory =" $(YarnWorkingDir)" Condition =" '$(Configuration)' == 'Release'" IgnoreStandardErrorWarningFormat = " $(IgnoreYarnWarnings) " />
63+ <Yarn Command =" run build:debug" WorkingDirectory =" $(YarnWorkingDir)" Condition =" '$(Configuration)' == 'Debug'" IgnoreStandardErrorWarningFormat = " $(IgnoreYarnWarnings) " />
6464
6565 <ItemGroup >
6666 <_InteropBuildOutput Include =" $(YarnWorkingDir)dist\$(Configuration)\**" Exclude =" $(YarnWorkingDir)dist\.gitignore" />
Original file line number Diff line number Diff line change 5959 </Target >
6060
6161 <Target Name =" CompileInterop" Condition =" '$(BuildNodeJS)' != 'false' AND '$(DesignTimeBuild)' != 'true'" Inputs =" $(InteropCompilationCacheFile)" Outputs =" @(YarnOutputs)" >
62- <Yarn Command =" install --mutex network" WorkingDirectory =" $(YarnWorkingDir)" />
63- <Yarn Command =" run build:release" WorkingDirectory =" $(YarnWorkingDir)" Condition =" '$(Configuration)' == 'Release'" />
64- <Yarn Command =" run build:debug" WorkingDirectory =" $(YarnWorkingDir)" Condition =" '$(Configuration)' == 'Debug'" />
62+ <Yarn Command =" install --mutex network" WorkingDirectory =" $(YarnWorkingDir)" IgnoreStandardErrorWarningFormat = " $(IgnoreYarnWarnings) " />
63+ <Yarn Command =" run build:release" WorkingDirectory =" $(YarnWorkingDir)" Condition =" '$(Configuration)' == 'Release'" IgnoreStandardErrorWarningFormat = " $(IgnoreYarnWarnings) " />
64+ <Yarn Command =" run build:debug" WorkingDirectory =" $(YarnWorkingDir)" Condition =" '$(Configuration)' == 'Debug'" IgnoreStandardErrorWarningFormat = " $(IgnoreYarnWarnings) " />
6565
6666 <ItemGroup >
6767 <_InteropBuildOutput Include =" $(YarnWorkingDir)dist\$(Configuration)\**" Exclude =" $(YarnWorkingDir)dist\.gitignore" />
Original file line number Diff line number Diff line change 2121
2222 <Target Name =" YarnInstall" >
2323 <Message Text =" Running yarn install on $(MSBuildProjectFile)" Importance =" High" />
24- <Yarn Command =" install --mutex network" />
24+ <Yarn Command =" install --mutex network" IgnoreStandardErrorWarningFormat = " $(IgnoreYarnWarnings) " />
2525 </Target >
2626
2727 <Target Name =" PrepublishScript" DependsOnTargets =" YarnInstall" BeforeTargets =" PrepareForPublish" Condition =" '$(IsCrossTargetingBuild)' != 'true' " >
Original file line number Diff line number Diff line change 2020 Importance =" High"
2121 Text =" Prerequisites were not enforced at build time. Running Yarn or the E2E tests might fail as a result. Check /src/Shared/E2ETesting/Readme.md for instructions." />
2222
23- <Yarn Command =" install --mutex network" Condition =" '$(EnforceE2ETestPrerequisites)' == 'true'" />
23+ <Yarn Command =" install --mutex network" Condition =" '$(EnforceE2ETestPrerequisites)' == 'true'" IgnoreStandardErrorWarningFormat = " $(IgnoreYarnWarnings) " />
2424 </Target >
2525
2626 <Target
You can’t perform that action at this time.
0 commit comments