Skip to content

Commit

Permalink
Merge pull request #19262 from unoplatform/dev/dr/devSrvPortCfg
Browse files Browse the repository at this point in the history
fix(devSrv): Remove usage of the deprecated RemoteControl.config file
  • Loading branch information
dr1rrb authored Jan 17, 2025
2 parents 10a90f8 + b7af0f0 commit f3e1be0
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 f3e1be0

Please sign in to comment.