Skip to content

Commit beade2f

Browse files
authored
Changed nfproj to sign the assembly (#7)
***NO_CI***
1 parent 3b3e93d commit beade2f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

nanoFramework.Logging/nanoFramework.Logging.nfproj

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="Current" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup Label="Globals">
4-
<NanoFrameworkProjectSystemPath>$(MSBuildToolsPath)..\..\..\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
4+
<NanoFrameworkProjectSystemPath>$(MSBuildToolsPath)..\..\..\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
55
</PropertyGroup>
66
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props')" />
77
<PropertyGroup>
@@ -17,6 +17,15 @@
1717
<TargetFrameworkVersion>v1.0</TargetFrameworkVersion>
1818
<DocumentationFile>bin\$(Configuration)\nanoFramework.Logging.xml</DocumentationFile>
1919
</PropertyGroup>
20+
<PropertyGroup>
21+
<SignAssembly>true</SignAssembly>
22+
</PropertyGroup>
23+
<PropertyGroup>
24+
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
25+
</PropertyGroup>
26+
<PropertyGroup>
27+
<DelaySign>false</DelaySign>
28+
</PropertyGroup>
2029
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.props')" />
2130
<ItemGroup>
2231
<Compile Include="DebugLogger.cs" />
@@ -39,6 +48,7 @@
3948
</ItemGroup>
4049
<ItemGroup>
4150
<None Include="packages.config" />
51+
<None Include="key.snk" />
4252
</ItemGroup>
4353
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets')" />
4454
<ProjectExtensions>

0 commit comments

Comments
 (0)