Skip to content

Commit

Permalink
fix: Adding AllowUnsafeBlocks as required
Browse files Browse the repository at this point in the history
  • Loading branch information
nickrandolph committed Nov 20, 2023
1 parent 7c7d4ea commit ed1727c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions samples/Playground/Playground.Wasm/Playground.Wasm.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
https://aka.platform.uno/wasm-deeplink
-->
<WasmShellWebAppBasePath>/</WasmShellWebAppBasePath>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<MonoRuntimeDebuggerEnabled>true</MonoRuntimeDebuggerEnabled>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<AssemblyName>Uno.Extensions.Hosting.UWP</AssemblyName>

<TargetFramework>net7.0</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions src/Uno.Extensions.Storage.UI/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

<!--Temporary disable missing XML doc until fixed in the whole package-->
<WarningsNotAsErrors>$(WarningsNotAsErrors);CS1591</WarningsNotAsErrors>

<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<NoWarn>$(NoWarn);NU1701</NoWarn>
<AssemblyName>TestHarnessApp</AssemblyName>
<ImplicitUsings>disable</ImplicitUsings>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<MonoRuntimeDebuggerEnabled>true</MonoRuntimeDebuggerEnabled>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<DefineConstants>$(DefineConstants);WINUI</DefineConstants>
<AssemblyName>TestHarnessApp</AssemblyName>
<ImplicitUsings>disable</ImplicitUsings>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<MonoRuntimeDebuggerEnabled>true</MonoRuntimeDebuggerEnabled>
Expand Down

0 comments on commit ed1727c

Please sign in to comment.