Skip to content

Instantly share code, notes, and snippets.

@spboyer
Created March 28, 2017 17:11
Show Gist options
  • Save spboyer/ea5a4772d1e1077a7146dfa3c9b62aac to your computer and use it in GitHub Desktop.
Save spboyer/ea5a4772d1e1077a7146dfa3c9b62aac to your computer and use it in GitHub Desktop.
Multiple destinations for Documentation File in ASP.NET Core - Swagger file
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DocumentationFile>bin\Debug\netcoreapp1.1\copydocfile-example.xml</DocumentationFile>
<!-- creates the file in the root of the project -->
<DocumentationFile>copydocfile-example.xml</DocumentationFile>
<!-- Creates the file in a "docs" folder -->
<DocumentationFile>docs\copydocfile-example.xml</DocumentationFile>
</PropertyGroup>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment