Skip to content

Commit

Permalink
Fix documentation file issue
Browse files Browse the repository at this point in the history
  • Loading branch information
amantinband committed Aug 8, 2024
1 parent 3b081da commit 191c1ca
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/ErrorOr.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<DocumentationFile>bin\$(Configuration)\netstandard2.0\$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0'">
<DocumentationFile>bin\$(Configuration)\net8.0\$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>

<PropertyGroup>
Expand All @@ -26,7 +32,8 @@
<ItemGroup>
<None Include="../assets/icon-square.png" Pack="true" Visible="false" PackagePath="" />
<None Include="../README.md" Pack="true" PackagePath="" />
<None Include="bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml" Pack="true" PackagePath="lib\$(TargetFramework)\" />
<None Include="bin\$(Configuration)\net8.0\$(AssemblyName).xml" Pack="true" PackagePath="lib\net8.0\" />
<None Include="bin\$(Configuration)\netstandard2.0\$(AssemblyName).xml" Pack="true" PackagePath="lib\netstandard2.0\" />
<None Include="Stylecop.json" />
<AdditionalFiles Include="Stylecop.json" />
</ItemGroup>
Expand Down

0 comments on commit 191c1ca

Please sign in to comment.