Created
March 28, 2017 17:06
-
-
Save spboyer/a763dcf01cdb176be182ffff0a6d6d58 to your computer and use it in GitHub Desktop.
Documentation File snippet for ASP.NET Core Swagger file include
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Target Name="PrepublishScript" BeforeTargets="PrepareForPublish"> | |
<ItemGroup> | |
<DocFile Include="bin\$(Configuration)\$(TargetFramework)\*.xml" /> | |
</ItemGroup> | |
<Copy SourceFiles="@(DocFile)" DestinationFolder="$(PublishDir)" SkipUnchangedFiles="false" /> | |
</Target> | |
<!-- Added by Visual Studio, Visual Studio for Mac, or hand code in other IDE --> | |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | |
<DocumentationFile>bin\Debug\netcoreapp1.1\copydocfile-example.xml</DocumentationFile> | |
</PropertyGroup> | |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | |
<DocumentationFile>bin\Release\netcoreapp1.1\copydocfile-example.xml</DocumentationFile> | |
</PropertyGroup> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment