Skip to content

Commit 16a1b4e

Browse files
committed
don't use docfx on non-windows platforms
1 parent 0996291 commit 16a1b4e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/JsonApiDotNetCore/JsonApiDotNetCore.csproj

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,16 @@
1313
<RepositoryType>git</RepositoryType>
1414
<RepositoryUrl>https://github.com/json-api-dotnet/JsonApiDotNetCore</RepositoryUrl>
1515
</PropertyGroup>
16+
<PropertyGroup>
17+
<IsWindows Condition="'$(OS)' == 'Windows_NT'">true</IsWindows>
18+
</PropertyGroup>
1619
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'">
1720
<DocumentationFile>bin\Release\netstandard2.0\JsonApiDotNetCore.xml</DocumentationFile>
1821
</PropertyGroup>
19-
<ItemGroup>
22+
<ItemGroup Condition="$(IsWindows)">
2023
<PackageReference Include="docfx.console" Version="2.33.0" />
24+
</ItemGroup>
25+
<ItemGroup>
2126
<PackageReference Include="Microsoft.AspNetCore.Routing" Version="$(AspNetCoreVersion)" />
2227
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="$(AspNetCoreVersion)" />
2328
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="$(EFCoreVersion)" />

0 commit comments

Comments
 (0)