Skip to content

Commit d3d4482

Browse files
committed
Enable AllowUnsafeBlocks where needed
1 parent aa52a5a commit d3d4482

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

components/Behaviors/src/CommunityToolkit.WinUI.Behaviors.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
99
<RootNamespace>CommunityToolkit.WinUI.BehaviorsRns</RootNamespace>
1010
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
11+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1112
</PropertyGroup>
1213

1314
<!-- Sets this up as a toolkit component's source project -->

components/Helpers/src/CommunityToolkit.WinUI.Helpers.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
99
<RootNamespace>CommunityToolkit.WinUI.HelpersRns</RootNamespace>
1010
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
11+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1112
</PropertyGroup>
1213

1314
<ItemGroup>

components/Media/src/CommunityToolkit.WinUI.Media.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
99
<RootNamespace>CommunityToolkit.WinUI.MediaRns</RootNamespace>
1010
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
11+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1112
</PropertyGroup>
1213

1314
<!-- Sets this up as a toolkit component's source project -->

components/Primitives/src/CommunityToolkit.WinUI.Controls.Primitives.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
99
<RootNamespace>CommunityToolkit.WinUI.Controls.PrimitivesRns</RootNamespace>
1010
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
11+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1112
</PropertyGroup>
1213

1314
<ItemGroup>

components/RichSuggestBox/src/CommunityToolkit.WinUI.Controls.RichSuggestBox.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
99
<RootNamespace>CommunityToolkit.WinUI.Controls.RichSuggestBoxRns</RootNamespace>
1010
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
11+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1112
</PropertyGroup>
1213

1314
<ItemGroup>

0 commit comments

Comments
 (0)