Skip to content

Commit

Permalink
fix(devSrv): Remove usage of the deprecated RemoteControl.config file…
Browse files Browse the repository at this point in the history
… (cause mis config if a stale file reminas on the disk)
  • Loading branch information
dr1rrb committed Jan 17, 2025
1 parent d5463a8 commit 523063d
Showing 1 changed file with 4 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,27 +52,11 @@

<Target Name="InjectRemoteControlHost"
BeforeTargets="BeforeBuild"
Condition="exists('$(IntermediateOutputPath)\RemoteControlHost.config') and '$(BuildingInsideVisualStudio)'!='true'">

<ItemGroup>
<WasmShellMonoEnvironment Include="DOTNET_MODIFIABLE_ASSEMBLIES" Value="debug" />
</ItemGroup>

<ReadLinesFromFile File="$(IntermediateOutputPath)\RemoteControlHost.config" >
<Output TaskParameter="Lines" ItemName="_RemoteControlHostContent"/>
</ReadLinesFromFile>

<ItemGroup>
<FileWrites Include="$(IntermediateOutputPath)\RemoteControlHost.config" />
</ItemGroup>

<CreateProperty
Value="@(_RemoteControlHostContent)">
<Output
TaskParameter="Value"
PropertyName="UnoRemoteControlHost" />
</CreateProperty>
Condition="exists('$(IntermediateOutputPath)\RemoteControlHost.config') and '$(BuildingInsideVisualStudio)'!='true' and '$(Configuration)'=='Debug'">

<Warning
Text="The version of uno's extension installed on your IDE is obsolete, please update to the latest version.
If error persists, try to delete obj folder and rebuild your solution." />
</Target>

</Project>

0 comments on commit 523063d

Please sign in to comment.