Skip to content

Commit 51d228d

Browse files
committed
Work CD-CI
- Add signing key (required for use in msbuild task). - Add targets file to copy MDP DLL to msbuild folder. Signed-off-by: José Simões <[email protected]>
1 parent 5c6557d commit 51d228d

File tree

4 files changed

+19
-0
lines changed

4 files changed

+19
-0
lines changed

source/MetadataProcessor.Core/MetadataProcessor.Core.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@
3333
<ConsolePause>false</ConsolePause>
3434
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
3535
</PropertyGroup>
36+
<PropertyGroup>
37+
<SignAssembly>true</SignAssembly>
38+
</PropertyGroup>
39+
<PropertyGroup>
40+
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
41+
</PropertyGroup>
3642
<ItemGroup>
3743
<Reference Include="Costura, Version=3.3.3.0, Culture=neutral, PublicKeyToken=9919ef960d84173d, processorArchitecture=MSIL">
3844
<HintPath>..\packages\Costura.Fody.3.3.3\lib\net40\Costura.dll</HintPath>
@@ -112,6 +118,7 @@
112118
<Compile Include="Utility\NativeMethodsCrc.cs" />
113119
</ItemGroup>
114120
<ItemGroup>
121+
<None Include="key.snk" />
115122
<None Include="packages.config" />
116123
<Compile Include="SkeletonGenerator\SkeletonTemplates.cs" />
117124
</ItemGroup>

source/MetadataProcessor.Core/key.snk

596 Bytes
Binary file not shown.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<ItemGroup>
3+
<Content Include="$(MSBuildThisFileDirectory)nanoFramework.Tools.MetadataProcessor.Core.dll">
4+
<InstallRoot>MSBuild</InstallRoot>
5+
<VSIXSubPath>nanoFramework\v1.0\</VSIXSubPath>
6+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
7+
<IncludeInVSIX>true</IncludeInVSIX>
8+
</Content>
9+
</ItemGroup>
10+
</Project>

source/MetadataProcessor.Core/package.nuspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,7 @@
2828
</metadata>
2929
<files>
3030
<file src="bin\Release\nanoFramework.Tools.MetadataProcessor.Core.dll" target="lib/net461" />
31+
<file src="bin\Release\nanoFramework.Tools.MetadataProcessor.Core.dll" target="build" />
32+
<file src="nanoFramework.Tools.MetaDataProcessor.targets" target="build" />
3133
</files>
3234
</package>

0 commit comments

Comments
 (0)