Skip to content

Instantly share code, notes, and snippets.

@tmori3y2
Last active April 3, 2016 02:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmori3y2/5324499a5557f57a6ab1 to your computer and use it in GitHub Desktop.
Save tmori3y2/5324499a5557f57a6ab1 to your computer and use it in GitHub Desktop.
MSBuild project property sheet file which is imported by MSBuildTasks.ImportTasks.props.
<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
** Packs the project assembly. **
<PropertyGroup>
<CreatesNuGetPackage>true</CreatesNuGetPackage>
<NuGetPacksProject>true</NuGetPacksProject>
<NuGetPacksForTool>false</NuGetPacksForTool>
</PropertyGroup>
-->
<!--
** Packs the project assembly for tool. **
<PropertyGroup>
<CreatesNuGetPackage>true</CreatesNuGetPackage>
<NuGetPacksProject>true</NuGetPacksProject>
<NuGetPacksForTool>true</NuGetPacksForTool>
</PropertyGroup>
-->
<!--
** Packs the .nuspec file for contents. **
<PropertyGroup>
<CreatesNuGetPackage>true</CreatesNuGetPackage>
<NuGetPacksProject>false</NuGetPacksProject>
<NuGetPacksForTool>false</NuGetPacksForTool>
</PropertyGroup>
-->
<PropertyGroup>
<CreatesNuGetPackage>true</CreatesNuGetPackage>
<NuGetPacksProject>true</NuGetPacksProject>
<NuGetPacksForTool>false</NuGetPacksForTool>
</PropertyGroup>
<!--
<Import Project="YourTask.props" Condition="Exists('YourTask.props')"/>
-->
<Import Project="$(MSBuildProjectDirectory)\targets\*.props" />
</Project>