Skip to content

Commit

Permalink
fix: Add workaround for editorconfig race condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Nov 2, 2021
1 parent bd65c1b commit 787c644
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -405,5 +405,16 @@
Condition="$(MSBuildProjectFullPath.Contains('#')) and '$(UnoUIDisable5953Warning)'==''"
Text="The path to your project contains the '#' character, which causes known build issues. Try moving your project to a different location. (See https://github.com/unoplatform/uno/issues/5953 for more details)."/>
</Target>

<Target Name="Roslyn51768Workaround"
BeforeTargets="BeforeBuild"
Condition="'$(DisableRoslyn51768Workaround)'==''">
<!-- Workaround for https://github.com/dotnet/roslyn/issues/51768 -->
<CreateProperty Value="$(IntermediateOutputPath)$(MSBuildProjectName).d$(DesignTimeBuild)-b$(BuildingProject).GeneratedMSBuildEditorConfig.editorconfig">
<Output
TaskParameter="Value"
PropertyName="GeneratedMSBuildEditorConfigFile" />
</CreateProperty>
</Target>

</Project>

0 comments on commit 787c644

Please sign in to comment.