Skip to content

Commit b02d961

Browse files
committed
Suppress CS1591 for "manual InternalsVisibleTo" build.
1 parent 7c1caea commit b02d961

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/MsgPack.Unity.Full/MsgPack.Unity.Full.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
<DefineConstants>$(DefineConstants);FEATURE_MPCONTRACT;UNITY_IPHONE;MSGPACK_UNITY_FULL;AOT</DefineConstants>
1818
<SignAssembly>false</SignAssembly>
1919
</PropertyGroup>
20+
<PropertyGroup Condition=" '$(Configuration)' == 'Debug'">
21+
<NoWarn>$(NoWarn),1591</NoWarn>
22+
</PropertyGroup>
2023
<PropertyGroup Condition=" '$(Configuration)' == 'Release'">
2124
<OutputPath>$(SolutionDir)\build\MsgPack-CLI\unity-full\</OutputPath>
2225
<DocumentationFile>$(SolutionDir)\build\MsgPack-CLI\unity-full\MsgPack.XML</DocumentationFile>

src/MsgPack.Unity/MsgPack.Unity.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
<DefineConstants>$(DefineConstants);FEATURE_MPCONTRACT;UNITY_IPHONE;AOT</DefineConstants>
1818
<SignAssembly>false</SignAssembly>
1919
</PropertyGroup>
20+
<PropertyGroup Condition=" '$(Configuration)' == 'Debug'">
21+
<NoWarn>$(NoWarn),1591</NoWarn>
22+
</PropertyGroup>
2023
<PropertyGroup Condition=" '$(Configuration)' == 'Release'">
2124
<OutputPath>$(SolutionDir)\build\MsgPack-CLI\unity\</OutputPath>
2225
<DocumentationFile>$(SolutionDir)\build\MsgPack-CLI\unity\MsgPack.XML</DocumentationFile>

0 commit comments

Comments
 (0)