Skip to content

Commit

Permalink
Fix the issue that .net core ServiceFabric.Native dll is not signed
Browse files Browse the repository at this point in the history
Workaround code analysis issue
  • Loading branch information
yantang-msft committed Apr 9, 2018
1 parent b3baf3e commit 9b9adf7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">

<Import Project="..\..\ApplicationInsights.ServiceFabric\Shared\ApplicationInsights.ServiceFabric.Shared.projitems" Label="Shared" />
<Import Project="..\..\ApplicationInsights.ServiceFabric.Native.Shared\ApplicationInsights.ServiceFabric.Native.Shared.projitems" Label="Shared" />
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildThisFileDirectory)\..', 'Product.props'))\Product.props" />
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<!-- Disale code analysis because of this issue: https://github.com/dotnet/roslyn-analyzers/issues/1313 -->
<RunCodeAnalysis>false</RunCodeAnalysis>
<AssemblyName>Microsoft.AI.ServiceFabric.Native</AssemblyName>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>InternalKey.snk</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyFile>35MSSharedLib1024.snk</AssemblyOriginatorKeyFile>
<DelaySign>true</DelaySign>
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute>
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute>
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
<RootNamespace>Microsoft.ApplicationInsights.ServiceFabric</RootNamespace>
</PropertyGroup>
Expand All @@ -30,9 +33,4 @@
<!-- We should keep an eye for this to become public. This dependency provides a .net core ported version of MemoryCache. The port has happened recently. -->
<PackageReference Include="System.Runtime.Caching" Version="4.5.0-preview1-25914-04" />
</ItemGroup>

<Import Project="..\..\ApplicationInsights.ServiceFabric\Shared\ApplicationInsights.ServiceFabric.Shared.projitems" Label="Shared" />

<Import Project="..\..\ApplicationInsights.ServiceFabric.Native.Shared\ApplicationInsights.ServiceFabric.Native.Shared.projitems" Label="Shared" />

</Project>
Binary file not shown.

0 comments on commit 9b9adf7

Please sign in to comment.