File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
src/Uno.UI.RemoteControl/buildTransitive Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 8787 <WasmShellMonoEnvironment Include =" DOTNET_MODIFIABLE_ASSEMBLIES" Value =" debug" />
8888 </ItemGroup >
8989
90+ <!-- Disable linking on iOS and Android to avoid stripping required reflection metadata -->
91+ <Choose >
92+ <When Condition =" $([MSBuild]::GetTargetPlatformIdentifier($(TargetFramework))) == 'android'" >
93+ <PropertyGroup >
94+ <AndroidLinkMode Condition =" '$(AndroidLinkMode)' == ''" >None</AndroidLinkMode >
95+ </PropertyGroup >
96+ </When >
97+ <When Condition =" $([MSBuild]::GetTargetPlatformIdentifier($(TargetFramework))) == 'ios'" >
98+ <PropertyGroup >
99+ <MTouchLink Condition =" '$(MTouchLink)' == ''" >None</MTouchLink >
100+ </PropertyGroup >
101+ </When >
102+ </Choose >
103+
104+ <Target Name =" _UnoWarnAndroidLinkNotSetToNone" BeforeTargets =" CoreCompile" Condition =" $([MSBuild]::GetTargetPlatformIdentifier($(TargetFramework))) == 'android' and '$(AndroidLinkMode)' != 'None'" >
105+ <Warning Code =" UHR001" Text =" Hot Reload won't work correctly when linker/trimming is enabled. Set AndroidLinkMode to 'None'." />
106+ </Target >
107+
108+ <Target Name =" _UnoWarniOSLinkNotSetToNone" BeforeTargets =" CoreCompile" Condition =" $([MSBuild]::GetTargetPlatformIdentifier($(TargetFramework))) == 'ios' and '$(MTouchLink)' != 'None'" >
109+ <Warning Code =" UHR001" Text =" Hot Reload won't work correctly when linker/trimming is enabled. Set MTouchLink to 'None'." />
110+ </Target >
111+
90112</Project >
You can’t perform that action at this time.
0 commit comments