From 458a9e58ea308e949667e0777d64fa201023411c Mon Sep 17 00:00:00 2001 From: tpodolak Date: Sun, 3 Jun 2018 17:04:48 +0200 Subject: [PATCH] [GH-2] - hacking csprojs to include shared project during dotnet pack --- Directory.Build.props | 2 +- .../NSubstitute.Analyzers.CSharp.csproj | 8 +++++++- .../NSubstitute.Analyzers.Shared.csproj | 1 + .../NSubstitute.Analyzers.VisualBasic.csproj | 14 +++++++++++++- .../NSubstitute.Analyzers.Tests.CSharp.csproj | 1 + .../NSubstitute.Analyzers.Tests.VisualBasic.csproj | 1 + 6 files changed, 24 insertions(+), 3 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 96644aa6..5c609505 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -7,6 +7,6 @@ - + \ No newline at end of file diff --git a/src/NSubstitute.Analyzers.CSharp/NSubstitute.Analyzers.CSharp.csproj b/src/NSubstitute.Analyzers.CSharp/NSubstitute.Analyzers.CSharp.csproj index bb34c693..afeda64c 100644 --- a/src/NSubstitute.Analyzers.CSharp/NSubstitute.Analyzers.CSharp.csproj +++ b/src/NSubstitute.Analyzers.CSharp/NSubstitute.Analyzers.CSharp.csproj @@ -29,6 +29,12 @@ - + + + + + true + analyzers/dotnet/cs + \ No newline at end of file diff --git a/src/NSubstitute.Analyzers.Shared/NSubstitute.Analyzers.Shared.csproj b/src/NSubstitute.Analyzers.Shared/NSubstitute.Analyzers.Shared.csproj index 7cf84cfe..c522f101 100644 --- a/src/NSubstitute.Analyzers.Shared/NSubstitute.Analyzers.Shared.csproj +++ b/src/NSubstitute.Analyzers.Shared/NSubstitute.Analyzers.Shared.csproj @@ -5,6 +5,7 @@ false False True + false diff --git a/src/NSubstitute.Analyzers.VisualBasic/NSubstitute.Analyzers.VisualBasic.csproj b/src/NSubstitute.Analyzers.VisualBasic/NSubstitute.Analyzers.VisualBasic.csproj index d5760fc8..77e03cfd 100644 --- a/src/NSubstitute.Analyzers.VisualBasic/NSubstitute.Analyzers.VisualBasic.csproj +++ b/src/NSubstitute.Analyzers.VisualBasic/NSubstitute.Analyzers.VisualBasic.csproj @@ -29,6 +29,18 @@ - + + + + + true + lib\$(TargetFramework) + + + + + true + analyzers/dotnet/vb + \ No newline at end of file diff --git a/tests/NSubstitute.Analyzers.Tests.CSharp/NSubstitute.Analyzers.Tests.CSharp.csproj b/tests/NSubstitute.Analyzers.Tests.CSharp/NSubstitute.Analyzers.Tests.CSharp.csproj index b4893474..ecb9ddf1 100644 --- a/tests/NSubstitute.Analyzers.Tests.CSharp/NSubstitute.Analyzers.Tests.CSharp.csproj +++ b/tests/NSubstitute.Analyzers.Tests.CSharp/NSubstitute.Analyzers.Tests.CSharp.csproj @@ -12,6 +12,7 @@ + \ No newline at end of file diff --git a/tests/NSubstitute.Analyzers.Tests.VisualBasic/NSubstitute.Analyzers.Tests.VisualBasic.csproj b/tests/NSubstitute.Analyzers.Tests.VisualBasic/NSubstitute.Analyzers.Tests.VisualBasic.csproj index cb6a988f..97b6ffbe 100644 --- a/tests/NSubstitute.Analyzers.Tests.VisualBasic/NSubstitute.Analyzers.Tests.VisualBasic.csproj +++ b/tests/NSubstitute.Analyzers.Tests.VisualBasic/NSubstitute.Analyzers.Tests.VisualBasic.csproj @@ -11,6 +11,7 @@ +