Skip to content

Commit 1414414

Browse files
committed
feat: Add support for ios/android C# hot reload in net6 template
1 parent c240f34 commit 1414414

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/SolutionTemplate/UnoSolutionTemplate.net6/Mobile/UnoQuickStart.Mobile.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
<!-- Debugger workaround https://github.com/dotnet/maui-samples/blob/8aa6b8780b12e97b157514c3bdc54bb4a13001cd/HelloMacCatalyst/HelloMacCatalyst.csproj#L7 -->
1515
<!-- <MtouchExtraArgs Condition="'$(TargetFramework)' == 'net6.0-maccatalyst'">$(MtouchExtraArgs) -setenv:MONO_THREADS_SUSPEND=preemptive</MtouchExtraArgs> -->
1616

17+
<!-- Required for C# Hot Reload -->
18+
<UseInterpreter Condition="'$(Configuration)' == 'Debug'">True</UseInterpreter>
19+
1720
<IsUnoHead>true</IsUnoHead>
1821
</PropertyGroup>
1922

@@ -29,7 +32,7 @@
2932
</ItemGroup>
3033

3134
<ItemGroup Condition="'$(TargetFramework)'=='net6.0-ios' or '$(TargetFramework)'=='net6.0-maccatalyst'">
32-
<PackageReference Include="Uno.Extensions.Logging.OSLog " Version="1.2.0-dev.2" />
35+
<PackageReference Include="Uno.Extensions.Logging.OSLog" Version="1.2.0-dev.2" />
3336
</ItemGroup>
3437

3538
<Import Project="..\$ext_safeprojectname$.Shared\$ext_safeprojectname$.Shared.projitems" Label="Shared" />

0 commit comments

Comments
 (0)