File tree 1 file changed +9
-12
lines changed 1 file changed +9
-12
lines changed Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
- <VersionPrefix >2.2.3 </VersionPrefix >
3
+ <VersionPrefix >2.2.4 </VersionPrefix >
4
4
<TargetFrameworks >$(NetStandardVersion)</TargetFrameworks >
5
5
<AssemblyName >JsonApiDotNetCore</AssemblyName >
6
6
<PackageId >JsonApiDotNetCore</PackageId >
7
+ <LangVersion >7.2</LangVersion >
7
8
</PropertyGroup >
8
9
9
10
<PropertyGroup >
25
26
<PackageReference Include =" System.ValueTuple" Version =" $(TuplesVersion)" />
26
27
</ItemGroup >
27
28
28
- <!-- XML documentation -->
29
- <PropertyGroup >
29
+ <!--
30
+ To generate DocFX documentation on Windows platforms: dotnet build -c Release /p:DocFx=true
31
+ -->
32
+ <PropertyGroup Condition =" '$(Configuration)' == 'Release'" >
30
33
<IsWindows Condition =" '$(OS)' == 'Windows_NT'" >true</IsWindows >
31
- </PropertyGroup >
32
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|AnyCPU'" >
34
+ <GenerateDocumentation Condition =" '$(IsWindows)|$(DocFx)' == 'true|true'" >true</GenerateDocumentation >
33
35
<DocumentationFile >bin\Release\netstandard2.0\JsonApiDotNetCore.xml</DocumentationFile >
34
36
</PropertyGroup >
35
- <PropertyGroup Condition =" '$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'" >
36
- <LangVersion >7.2</LangVersion >
37
- </PropertyGroup >
38
- <PropertyGroup Condition =" '$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'" >
39
- <LangVersion >7.2</LangVersion >
40
- </PropertyGroup >
41
- <ItemGroup Condition =" $(IsWindows)=='true'" >
37
+
38
+ <ItemGroup Condition =" '$(GenerateDocumentation)' == 'true'" >
42
39
<PackageReference Include =" docfx.console" Version =" 2.33.0" />
43
40
</ItemGroup >
44
41
You can’t perform that action at this time.
0 commit comments