Skip to content

Commit

Permalink
Revert "Remove dependencies on FxCopAnalyzer"
Browse files Browse the repository at this point in the history
This reverts commit 6c730e0.
  • Loading branch information
Cristian Pop committed Mar 11, 2019
1 parent a001737 commit 9c8657c
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 0 deletions.
5 changes: 5 additions & 0 deletions iothub/device/src/Microsoft.Azure.Devices.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,9 @@
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.4.1" />
</ItemGroup>

<ItemGroup>
<!-- FXCop -->
<PackageReference Condition=" '$(Configuration)' == 'Debug' " Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.6.1" />
</ItemGroup>

</Project>
5 changes: 5 additions & 0 deletions iothub/service/src/Microsoft.Azure.Devices.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,9 @@
<Compile Include="net451\Common\Amqp\LegacyClientWebSocketTransport.cs" />
</ItemGroup>

<ItemGroup>
<!-- FXCop -->
<PackageReference Condition=" '$(Configuration)' == 'Debug' " Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.6.1" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,8 @@
<ProjectReference Include="$(RootDir)\shared\src\Microsoft.Azure.Devices.Shared.csproj" />
</ItemGroup>

<ItemGroup>
<!-- FXCop -->
<PackageReference Condition=" '$(Configuration)' == 'Debug' " Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.6.1" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
<PackageReference Condition=" '$(Configuration)' == 'Debug' " Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.6.1" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,6 @@

<ItemGroup>
<PackageReference Include="Microsoft.Azure.Amqp" Version="2.3.7" />
<PackageReference Condition=" '$(Configuration)' == 'Debug' " Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.6.1" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@

<ItemGroup>
<!-- FXCop -->
<PackageReference Condition=" '$(Configuration)' == 'Debug' " Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.6.1" />
<PackageReference Include="Microsoft.Rest.ClientRuntime" Version="2.3.10" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@
<ItemGroup>
<PackageReference Include="DotNetty.Codecs.Mqtt" Version="0.6.0" />
<PackageReference Include="DotNetty.Handlers" Version="0.6.0" />

<!-- FXCop -->
<PackageReference Condition=" '$(Configuration)' == 'Debug' " Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.6.1" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@

<ItemGroup>
<PackageReference Include="Microsoft.TSS" Version="2.0.1" />

<!-- FXCop -->
<PackageReference Condition=" '$(Configuration)' == 'Debug' " Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.6.1" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 6 additions & 0 deletions shared/src/Microsoft.Azure.Devices.Shared.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,10 @@
<ItemGroup Condition=" '$(TargetFramework)' == 'net451' ">
<Reference Include="Microsoft.CSharp" />
</ItemGroup>

<ItemGroup>
<!-- FXCop -->
<PackageReference Condition=" '$(Configuration)' == 'Debug' " Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.6.1" />
</ItemGroup>

</Project>

0 comments on commit 9c8657c

Please sign in to comment.