diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000000..c7568165b2 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,7 @@ + + + true + $(MSBuildThisFileDirectory)\key.snk + , PublicKey=0024000004800000940000000602000000240000525341310004000001000100f1e6b635f0c0b44c03d712e4f2cf789ddb54d7f74a9b34e2ece3aafb6afbfd46ec2b033f4104ef88f6afec226c5c647f453852ba3847fd9e37727c7dcb54e24731a288a107457a2c3e8b26ab04c25b206797be48cfe7a2b2c427422d0b0dd18c82111f21798f997e5d33ecc25c677744709c3785e0e650d6e0456a034a31acc4 + + diff --git a/Octokit.Tests.Integration/Octokit.Tests.Integration.csproj b/Octokit.Tests.Integration/Octokit.Tests.Integration.csproj index e39bcfe252..2f00a3dfe2 100644 --- a/Octokit.Tests.Integration/Octokit.Tests.Integration.csproj +++ b/Octokit.Tests.Integration/Octokit.Tests.Integration.csproj @@ -5,6 +5,7 @@ Octokit.Tests.Integration GitHub net6.0;netcoreapp3.1;net462 + false $(NoWarn);CS4014;CS1998 Octokit.Tests.Integration Octokit.Tests.Integration diff --git a/Octokit/Octokit.csproj b/Octokit/Octokit.csproj index 33b13e2f7c..b212b79773 100644 --- a/Octokit/Octokit.csproj +++ b/Octokit/Octokit.csproj @@ -32,4 +32,9 @@ + + + <_Parameter1>Octokit.Tests$(StrongNameSuffix) + + diff --git a/Octokit/Properties/AssemblyInfo.cs b/Octokit/Properties/AssemblyInfo.cs deleted file mode 100644 index e783bcb861..0000000000 --- a/Octokit/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,3 +0,0 @@ -using System.Runtime.CompilerServices; - -[assembly: InternalsVisibleTo("Octokit.Tests")] \ No newline at end of file diff --git a/build/Build.csproj b/build/Build.csproj index 97efd74a08..0055bcf040 100644 --- a/build/Build.csproj +++ b/build/Build.csproj @@ -2,6 +2,7 @@ Exe + false netcoreapp3.1 $(MSBuildProjectDirectory)/.. diff --git a/key.snk b/key.snk new file mode 100644 index 0000000000..e85f2d4c92 Binary files /dev/null and b/key.snk differ