Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
[Build] Add a configuration to build the sign assembly/package
Browse files Browse the repository at this point in the history
  • Loading branch information
Kryptos-FR committed Nov 4, 2019
1 parent 3bf39b0 commit 6e65daf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/Markdig.Wpf.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26608.5
# Visual Studio Version 16
VisualStudioVersion = 16.0.29424.173
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Markdig.Wpf", "Markdig.Wpf\Markdig.Wpf.csproj", "{01E40FB5-B4E9-489D-98D5-4771DDC2D1D7}"
EndProject
Expand Down Expand Up @@ -30,32 +30,39 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "img", "img", "{76EFE234-723
..\Documents\img\BenchmarkCPU.png = ..\Documents\img\BenchmarkCPU.png
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Markdig.Wpf.SampleAppCustomized", "Markdig.Wpf.SampleAppCustomized\Markdig.Wpf.SampleAppCustomized.csproj", "{F98D1138-4D48-4D03-A6F1-2952A86EB846}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Markdig.Wpf.SampleAppCustomized", "Markdig.Wpf.SampleAppCustomized\Markdig.Wpf.SampleAppCustomized.csproj", "{F98D1138-4D48-4D03-A6F1-2952A86EB846}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release_Signed|Any CPU = Release_Signed|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{01E40FB5-B4E9-489D-98D5-4771DDC2D1D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{01E40FB5-B4E9-489D-98D5-4771DDC2D1D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{01E40FB5-B4E9-489D-98D5-4771DDC2D1D7}.Release_Signed|Any CPU.ActiveCfg = Release_Signed|Any CPU
{01E40FB5-B4E9-489D-98D5-4771DDC2D1D7}.Release_Signed|Any CPU.Build.0 = Release_Signed|Any CPU
{01E40FB5-B4E9-489D-98D5-4771DDC2D1D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{01E40FB5-B4E9-489D-98D5-4771DDC2D1D7}.Release|Any CPU.Build.0 = Release|Any CPU
{1523C4F0-A3E2-4440-9DD2-B3A3190FD2C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1523C4F0-A3E2-4440-9DD2-B3A3190FD2C4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1523C4F0-A3E2-4440-9DD2-B3A3190FD2C4}.Release_Signed|Any CPU.ActiveCfg = Release|Any CPU
{1523C4F0-A3E2-4440-9DD2-B3A3190FD2C4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1523C4F0-A3E2-4440-9DD2-B3A3190FD2C4}.Release|Any CPU.Build.0 = Release|Any CPU
{559E768F-424B-4E2A-8CBE-756819DE49EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{559E768F-424B-4E2A-8CBE-756819DE49EC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{559E768F-424B-4E2A-8CBE-756819DE49EC}.Release_Signed|Any CPU.ActiveCfg = Release|Any CPU
{559E768F-424B-4E2A-8CBE-756819DE49EC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{559E768F-424B-4E2A-8CBE-756819DE49EC}.Release|Any CPU.Build.0 = Release|Any CPU
{BD4D1C9A-C34F-419B-8A67-66EE79FB9ADA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BD4D1C9A-C34F-419B-8A67-66EE79FB9ADA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BD4D1C9A-C34F-419B-8A67-66EE79FB9ADA}.Release_Signed|Any CPU.ActiveCfg = Release|Any CPU
{BD4D1C9A-C34F-419B-8A67-66EE79FB9ADA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BD4D1C9A-C34F-419B-8A67-66EE79FB9ADA}.Release|Any CPU.Build.0 = Release|Any CPU
{F98D1138-4D48-4D03-A6F1-2952A86EB846}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F98D1138-4D48-4D03-A6F1-2952A86EB846}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F98D1138-4D48-4D03-A6F1-2952A86EB846}.Release_Signed|Any CPU.ActiveCfg = Release|Any CPU
{F98D1138-4D48-4D03-A6F1-2952A86EB846}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F98D1138-4D48-4D03-A6F1-2952A86EB846}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
Expand Down
3 changes: 3 additions & 0 deletions src/Markdig.Wpf/Markdig.Wpf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<NeutralLanguage>en-US</NeutralLanguage>
<VersionPrefix>0.3.1</VersionPrefix>
<TargetFrameworks>net40;net452;netcoreapp3.0</TargetFrameworks>
<SignAssembly Condition="'$(Configuration)' == 'Release_Signed'">true</SignAssembly>
<PackageId>Markdig.Wpf</PackageId>
<PackageId Condition="'$(SignAssembly)' == 'true'">Markdig.Wpf.Signed</PackageId>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand All @@ -16,7 +17,9 @@
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageTags>Markdown CommonMark md xaml WPF</PackageTags>
<GeneratePackageOnBuild Condition="'$(Configuration)' == 'Release'">true</GeneratePackageOnBuild>
<GeneratePackageOnBuild Condition="'$(Configuration)' == 'Release_Signed'">true</GeneratePackageOnBuild>
<UseWPF>true</UseWPF>
<Configurations>Debug;Release;Release_Signed</Configurations>
</PropertyGroup>
<PropertyGroup Condition=" '$(SignAssembly)' == 'true' ">
<AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
Expand Down

0 comments on commit 6e65daf

Please sign in to comment.