Skip to content

Commit

Permalink
Merge pull request #175 from unoplatform/dev/dr/fixBuildOnWindows
Browse files Browse the repository at this point in the history
fix: Disable dev-server package detection on windows
  • Loading branch information
dr1rrb authored May 8, 2024
2 parents 26154bd + c694c2d commit fb4c153
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project>
<PropertyGroup Condition="'$(PkgUno_UI_DevServer)' != '' OR '$(PkgUno_WinUI_DevServer)' != ''">
<DefineConstants >$(DefineConstants);HAS_UNO_DEVSERVER</DefineConstants>
<!--Forcefull disable on windows as the package is actually empty on that target (no dev-server, we rely only on VS)-->
<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) != 'windows' AND ('$(PkgUno_UI_DevServer)' != '' OR '$(PkgUno_WinUI_DevServer)' != '')">
<DefineConstants>$(DefineConstants);HAS_UNO_DEVSERVER</DefineConstants>
<UnoForceHotReloadCodeGen>true</UnoForceHotReloadCodeGen>
<UnoForceIncludeProjectConfiguration>true</UnoForceIncludeProjectConfiguration>
<UnoForceIncludeServerProcessorsConfiguration>true</UnoForceIncludeServerProcessorsConfiguration>
Expand Down

0 comments on commit fb4c153

Please sign in to comment.