Skip to content

Commit

Permalink
Merge pull request unoplatform#14170 from unoplatform/dev/jela/hr-sdk…
Browse files Browse the repository at this point in the history
…-version

fix(hr): Use SDK version to run the dev server
  • Loading branch information
nickrandolph authored Oct 30, 2023
2 parents 5304e0e + e4326f1 commit 7b446f5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
<_IsRCClientRemote Condition="'$(PkgUno_Wasm_Bootstrap_DevServer)'!=''">true</_IsRCClientRemote>

<_UnoRCHostVersionPath>net7.0</_UnoRCHostVersionPath>
<_UnoRCHostVersionPath Condition="'$([MSBuild]::GetTargetFrameworkVersion($(TargetFramework)))' &gt; 7">net8.0</_UnoRCHostVersionPath>

<!-- Use the SDK version used to build the app, not the target framework (e.g. a net7.0 app may be built with a net8 SDK)-->
<_UnoRCHostVersionPath Condition="'$(BundledNETCoreAppTargetFrameworkVersion)' &gt; 7">net8.0</_UnoRCHostVersionPath>
</PropertyGroup>

<Message Text="&lt;RemoteControlHostPath&gt;$(MSBuildThisFileDirectory)../tools/rc/host/$(_UnoRCHostVersionPath)/Uno.UI.RemoteControl.Host.dll&lt;/RemoteControlHostPath&gt;" Importance="High" />
Expand Down

0 comments on commit 7b446f5

Please sign in to comment.