diff --git a/.sonarlint/WireMock.Net Solution.slconfig b/.sonarlint/WireMock.Net Solution.slconfig new file mode 100644 index 00000000..18ae64c1 --- /dev/null +++ b/.sonarlint/WireMock.Net Solution.slconfig @@ -0,0 +1,14 @@ +{ + "ServerUri": "https://sonarcloud.io", + "Organization": { + "Key": "stefh-github", + "Name": "Stef Heyenrath (Organization)" + }, + "ProjectKey": "wiremock", + "Profiles": { + "CSharp": { + "ProfileKey": "AWRupN8iowGp6EI3lYmF", + "ProfileTimestamp": "2018-09-06T11:06:47+02:00" + } + } +} \ No newline at end of file diff --git a/.sonarlint/wiremockCSharp.ruleset b/.sonarlint/wiremockCSharp.ruleset new file mode 100644 index 00000000..aa5965f0 --- /dev/null +++ b/.sonarlint/wiremockCSharp.ruleset @@ -0,0 +1,362 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/examples/WireMock.Net.StandAlone.Net461/App.config b/examples/WireMock.Net.StandAlone.Net461/App.config index ab20f60b..582b5c21 100644 --- a/examples/WireMock.Net.StandAlone.Net461/App.config +++ b/examples/WireMock.Net.StandAlone.Net461/App.config @@ -15,7 +15,8 @@ - + + diff --git a/examples/WireMock.Net.StandAlone.Net461/WireMock.Net.StandAlone.Net461.csproj b/examples/WireMock.Net.StandAlone.Net461/WireMock.Net.StandAlone.Net461.csproj index ebdc23f5..ee6de3ce 100644 --- a/examples/WireMock.Net.StandAlone.Net461/WireMock.Net.StandAlone.Net461.csproj +++ b/examples/WireMock.Net.StandAlone.Net461/WireMock.Net.StandAlone.Net461.csproj @@ -231,9 +231,6 @@ ..\..\packages\System.Memory.4.5.1\lib\netstandard2.0\System.Memory.dll - - ..\..\packages\System.Net.Http.4.3.3\lib\net46\System.Net.Http.dll - ..\..\packages\Microsoft.AspNet.WebApi.Client.5.2.4\lib\net45\System.Net.Http.Formatting.dll @@ -297,8 +294,12 @@ - - + + Designer + + + Designer + diff --git a/examples/WireMock.Net.StandAlone.Net461/packages.config b/examples/WireMock.Net.StandAlone.Net461/packages.config index 4bc554b8..1f47208a 100644 --- a/examples/WireMock.Net.StandAlone.Net461/packages.config +++ b/examples/WireMock.Net.StandAlone.Net461/packages.config @@ -67,7 +67,6 @@ - diff --git a/src/WireMock.Net.StandAlone/WireMock.Net.StandAlone.csproj b/src/WireMock.Net.StandAlone/WireMock.Net.StandAlone.csproj index 732c07c8..f6667cc3 100644 --- a/src/WireMock.Net.StandAlone/WireMock.Net.StandAlone.csproj +++ b/src/WireMock.Net.StandAlone/WireMock.Net.StandAlone.csproj @@ -24,6 +24,7 @@ $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb true true + WireMock.Net.StandAlone.ruleset @@ -43,6 +44,10 @@ All + + all + runtime; build; native; contentfiles; analyzers + diff --git a/src/WireMock.Net.StandAlone/WireMock.Net.StandAlone.ruleset b/src/WireMock.Net.StandAlone/WireMock.Net.StandAlone.ruleset new file mode 100644 index 00000000..978d27ca --- /dev/null +++ b/src/WireMock.Net.StandAlone/WireMock.Net.StandAlone.ruleset @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/src/WireMock.Net/WireMock.Net.csproj b/src/WireMock.Net/WireMock.Net.csproj index 34480a0e..ecc431ed 100644 --- a/src/WireMock.Net/WireMock.Net.csproj +++ b/src/WireMock.Net/WireMock.Net.csproj @@ -24,6 +24,7 @@ $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb true true + WireMock.Net.ruleset @@ -52,6 +53,10 @@ + + all + runtime; build; native; contentfiles; analyzers + diff --git a/src/WireMock.Net/WireMock.Net.ruleset b/src/WireMock.Net/WireMock.Net.ruleset new file mode 100644 index 00000000..978d27ca --- /dev/null +++ b/src/WireMock.Net/WireMock.Net.ruleset @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/test/WireMock.Net.Tests/WireMock.Net.Tests.csproj b/test/WireMock.Net.Tests/WireMock.Net.Tests.csproj index f992a185..039835b8 100644 --- a/test/WireMock.Net.Tests/WireMock.Net.Tests.csproj +++ b/test/WireMock.Net.Tests/WireMock.Net.Tests.csproj @@ -11,6 +11,8 @@ true + True + True