Skip to content

Commit 9851312

Browse files
committed
fix: Don't set UnoRemoteControlHost when running inside VS Windows
1 parent 8a730e9 commit 9851312

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Uno.UI.RemoteControl/buildTransitive/Uno.UI.RemoteControl.targets

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@
2626
<Message Text="&lt;IsRCClientRemote&gt;$(_IsRCClientRemote)&lt;/IsRCClientRemote&gt;" Importance="High" />
2727
</Target>
2828

29-
<Target Name="InjectRemoteControlHost" BeforeTargets="BeforeBuild" Condition="exists('$(IntermediateOutputPath)\RemoteControlHost.config')">
29+
<Target Name="InjectRemoteControlHost"
30+
BeforeTargets="BeforeBuild"
31+
Condition="exists('$(IntermediateOutputPath)\RemoteControlHost.config') and '$(IsRunningInsideVisualStudio)'!='true'">
3032

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

0 commit comments

Comments
 (0)