Skip to content

Commit

Permalink
feat: Generate C# reload cookie for omnisharp compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Nov 28, 2021
1 parent 9ae8303 commit bcaa4fb
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -420,4 +420,11 @@
</CreateProperty>
</Target>

<Target Name="_GenerateReloadCookie" BeforeTargets="BeforeCompile">
<!-- Generate an empty C# file that OmniSharp can pick up when Uno has marked XAML files as modified -->
<WriteLinesToFile File="$(IntermediateOutputPath)\uno.reload.cookie.g.cs" />
<ItemGroup>
<Compile Include="$(IntermediateOutputPath)\uno.reload.cookie.g.cs" />
</ItemGroup>
</Target>
</Project>

0 comments on commit bcaa4fb

Please sign in to comment.