Skip to content

Commit 3824a3c

Browse files
committed
Separate build with documentation
1 parent 0a1dc60 commit 3824a3c

File tree

4 files changed

+23
-2
lines changed

4 files changed

+23
-2
lines changed

TwoFactorAuth.Net.Documentation/TwoFactorAuth.Net.Documentation.shfbproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,7 @@
147147
</PostBuildEvent>
148148
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
149149
</PropertyGroup>
150+
<PropertyGroup Condition=" '$(Configuration)' == 'ReleaseWithDocumentation' ">
151+
<OutputPath>bin\ReleaseWithDocumentation\</OutputPath>
152+
</PropertyGroup>
150153
</Project>

TwoFactorAuth.Net.QRCoder/TwoFactorAuth.Net.QRCoder.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<Description>QR code provider for TwoFactorAuth.Net using the excellent QRCoder library (https://github.com/codebude/QRCoder/)</Description>
1616
<Version>1.0.2</Version>
1717
<PackageIcon>logo.png</PackageIcon>
18+
<Configurations>Debug;Release;ReleaseWithDocumentation</Configurations>
1819
</PropertyGroup>
1920

2021
<ItemGroup>

TwoFactorAuth.Net.sln

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TwoFactorAuth.Net.QRCoder",
2323
{97D727F6-BE64-4C2D-98EE-A2CB2868E578} = {97D727F6-BE64-4C2D-98EE-A2CB2868E578}
2424
EndProjectSection
2525
EndProject
26-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TwoFactorAuth.Net.Tests", "TwoFactorAuth.Net.Tests\TwoFactorAuth.Net.Tests.csproj", "{028BEDA6-4F58-429E-8253-4FE011AC650C}"
26+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TwoFactorAuth.Net.Tests", "TwoFactorAuth.Net.Tests\TwoFactorAuth.Net.Tests.csproj", "{028BEDA6-4F58-429E-8253-4FE011AC650C}"
2727
ProjectSection(ProjectDependencies) = postProject
2828
{97D727F6-BE64-4C2D-98EE-A2CB2868E578} = {97D727F6-BE64-4C2D-98EE-A2CB2868E578}
2929
EndProjectSection
@@ -32,23 +32,31 @@ Global
3232
GlobalSection(SolutionConfigurationPlatforms) = preSolution
3333
Debug|Any CPU = Debug|Any CPU
3434
Release|Any CPU = Release|Any CPU
35+
ReleaseWithDocumentation|Any CPU = ReleaseWithDocumentation|Any CPU
3536
EndGlobalSection
3637
GlobalSection(ProjectConfigurationPlatforms) = postSolution
3738
{97D727F6-BE64-4C2D-98EE-A2CB2868E578}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
3839
{97D727F6-BE64-4C2D-98EE-A2CB2868E578}.Debug|Any CPU.Build.0 = Debug|Any CPU
3940
{97D727F6-BE64-4C2D-98EE-A2CB2868E578}.Release|Any CPU.ActiveCfg = Release|Any CPU
4041
{97D727F6-BE64-4C2D-98EE-A2CB2868E578}.Release|Any CPU.Build.0 = Release|Any CPU
42+
{97D727F6-BE64-4C2D-98EE-A2CB2868E578}.ReleaseWithDocumentation|Any CPU.ActiveCfg = ReleaseWithDocumentation|Any CPU
43+
{97D727F6-BE64-4C2D-98EE-A2CB2868E578}.ReleaseWithDocumentation|Any CPU.Build.0 = ReleaseWithDocumentation|Any CPU
4144
{7BA8061F-0BF1-4B16-B32B-92E6CA5EAFE5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
4245
{7BA8061F-0BF1-4B16-B32B-92E6CA5EAFE5}.Release|Any CPU.ActiveCfg = Release|Any CPU
43-
{7BA8061F-0BF1-4B16-B32B-92E6CA5EAFE5}.Release|Any CPU.Build.0 = Release|Any CPU
46+
{7BA8061F-0BF1-4B16-B32B-92E6CA5EAFE5}.ReleaseWithDocumentation|Any CPU.ActiveCfg = ReleaseWithDocumentation|Any CPU
47+
{7BA8061F-0BF1-4B16-B32B-92E6CA5EAFE5}.ReleaseWithDocumentation|Any CPU.Build.0 = ReleaseWithDocumentation|Any CPU
4448
{27D322AA-FE45-4E0B-ADBF-74D6AD0DCBF7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
4549
{27D322AA-FE45-4E0B-ADBF-74D6AD0DCBF7}.Debug|Any CPU.Build.0 = Debug|Any CPU
4650
{27D322AA-FE45-4E0B-ADBF-74D6AD0DCBF7}.Release|Any CPU.ActiveCfg = Release|Any CPU
4751
{27D322AA-FE45-4E0B-ADBF-74D6AD0DCBF7}.Release|Any CPU.Build.0 = Release|Any CPU
52+
{27D322AA-FE45-4E0B-ADBF-74D6AD0DCBF7}.ReleaseWithDocumentation|Any CPU.ActiveCfg = ReleaseWithDocumentation|Any CPU
53+
{27D322AA-FE45-4E0B-ADBF-74D6AD0DCBF7}.ReleaseWithDocumentation|Any CPU.Build.0 = ReleaseWithDocumentation|Any CPU
4854
{028BEDA6-4F58-429E-8253-4FE011AC650C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
4955
{028BEDA6-4F58-429E-8253-4FE011AC650C}.Debug|Any CPU.Build.0 = Debug|Any CPU
5056
{028BEDA6-4F58-429E-8253-4FE011AC650C}.Release|Any CPU.ActiveCfg = Release|Any CPU
5157
{028BEDA6-4F58-429E-8253-4FE011AC650C}.Release|Any CPU.Build.0 = Release|Any CPU
58+
{028BEDA6-4F58-429E-8253-4FE011AC650C}.ReleaseWithDocumentation|Any CPU.ActiveCfg = ReleaseWithDocumentation|Any CPU
59+
{028BEDA6-4F58-429E-8253-4FE011AC650C}.ReleaseWithDocumentation|Any CPU.Build.0 = ReleaseWithDocumentation|Any CPU
5260
EndGlobalSection
5361
GlobalSection(SolutionProperties) = preSolution
5462
HideSolutionNode = FALSE

TwoFactorAuth.Net/TwoFactorAuth.Net.csproj

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,25 @@
1919
<RootNamespace>TwoFactorAuthNet</RootNamespace>
2020
<LangVersion>latest</LangVersion>
2121
<Nullable>enable</Nullable>
22+
<Configurations>Debug;Release;ReleaseWithDocumentation</Configurations>
2223
</PropertyGroup>
2324

2425
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
2526
<DefineConstants>TRACE;RELEASE;NETSTANDARD2_0</DefineConstants>
2627
</PropertyGroup>
2728

29+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseWithDocumentation|AnyCPU'">
30+
<DefineConstants>TRACE;RELEASE;NETSTANDARD2_0</DefineConstants>
31+
</PropertyGroup>
32+
2833
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'">
2934
<DocumentationFile>bin\Release\netstandard2.0\TwoFactorAuth.Net.xml</DocumentationFile>
3035
</PropertyGroup>
3136

37+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='ReleaseWithDocumentation|netstandard2.0|AnyCPU'">
38+
<DocumentationFile>bin\Release\netstandard2.0\TwoFactorAuth.Net.xml</DocumentationFile>
39+
</PropertyGroup>
40+
3241
<ItemGroup>
3342
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0">
3443
<PrivateAssets>all</PrivateAssets>

0 commit comments

Comments
 (0)