Skip to content

Commit

Permalink
Include XML docs in nuspec. Fixes #52
Browse files Browse the repository at this point in the history
  • Loading branch information
richardszalay committed Sep 7, 2017
1 parent 556e2af commit 68e1e68
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\RichardSzalay.MockHttp.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -28,6 +29,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\RichardSzalay.MockHttp.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
<DocumentationFile>bin\Debug\RichardSzalay.MockHttp.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -31,6 +32,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
<DocumentationFile>bin\Release\RichardSzalay.MockHttp.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand All @@ -53,7 +55,7 @@
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="..\AssemblyVersionInfo.cs" Condition="Exists('..\AssemblyVersionInfo.cs')">
<Compile Include="..\AssemblyVersionInfo.cs" Condition="Exists('..\AssemblyVersionInfo.cs')">
<Link>Properties\AssemblyVersionInfo.cs</Link>
</Compile>
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@
<NuspecFile>..\RichardSzalay.MockHttp.nuspec</NuspecFile>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DocumentationFile>bin\Release\netstandard1.1\RichardSzalay.MockHttp.xml</DocumentationFile>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DocumentationFile>bin\Debug\netstandard1.1\RichardSzalay.MockHttp.xml</DocumentationFile>
</PropertyGroup>

<ItemGroup>
<Compile Include="..\RichardSzalay.MockHttp.Shared\**\*.cs;..\AssemblyVersionInfo.cs" Exclude="bin\**;obj\**;**\*.xproj;packages\**" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\RichardSzalay.MockHttp.XML</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -32,6 +33,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\RichardSzalay.MockHttp.XML</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<!-- A reference to the entire .NET Framework is automatically included -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\RichardSzalay.MockHttp.XML</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<!-- A reference to the entire .NET Framework is automatically included -->
Expand Down
5 changes: 5 additions & 0 deletions RichardSzalay.MockHttp.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,15 @@
</metadata>
<files>
<file src="RichardSzalay.MockHttp.Portable111\bin\Release\RichardSzalay.MockHttp.dll" target="lib\portable-net45+win8+wpa81" />
<file src="RichardSzalay.MockHttp.Portable111\bin\Release\RichardSzalay.MockHttp.xml" target="lib\portable-net45+win8+wpa81" />
<file src="RichardSzalay.MockHttp.Portable328\bin\Release\RichardSzalay.MockHttp.dll" target="lib\portable-net4+sl5+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1" />
<file src="RichardSzalay.MockHttp.Portable328\bin\Release\RichardSzalay.MockHttp.xml" target="lib\portable-net4+sl5+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1" />
<file src="RichardSzalay.MockHttp.Net40\bin\Release\RichardSzalay.MockHttp.dll" target="lib\net40" />
<file src="RichardSzalay.MockHttp.Net40\bin\Release\RichardSzalay.MockHttp.xml" target="lib\net40" />
<file src="RichardSzalay.MockHttp.Net45\bin\Release\RichardSzalay.MockHttp.dll" target="lib\net45" />
<file src="RichardSzalay.MockHttp.Net45\bin\Release\RichardSzalay.MockHttp.xml" target="lib\net45" />
<file src="RichardSzalay.MockHttp.NetStandard\bin\Release\netstandard1.1\RichardSzalay.MockHttp.dll" target="lib\netstandard1.1" />
<file src="RichardSzalay.MockHttp.NetStandard\bin\Release\netstandard1.1\RichardSzalay.MockHttp.xml" target="lib\netstandard1.1" />
</files>

</package>

0 comments on commit 68e1e68

Please sign in to comment.