Skip to content

Instantly share code, notes, and snippets.

@tmori3y2
Created March 26, 2016 05:22
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/da47af4a2bdecf5231f0 to your computer and use it in GitHub Desktop.
Save tmori3y2/da47af4a2bdecf5231f0 to your computer and use it in GitHub Desktop.
MSBuild project property sheet file which is imported in the project manually.
<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Edit your project and insert MSBuildTasks.ImportTasksPack.props above Microsoft.Common.props
<Import Project="build\MSBuildTasks.ImportTasksPack.props" Condition="Exists('build\MSBuildTasks.ImportTasksPack.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
-->
<PropertyGroup Condition="'$(NuGetExe)'==''">
<NuGetExe>$(MSBuildProjectDirectory)\..\..\nuget.exe</NuGetExe>
</PropertyGroup>
<PropertyGroup Condition="'$(NuGetDeploy)'==''">
<NuGetDeploy>$(MSBuildProjectDirectory)\..\..\NuGetDeploy</NuGetDeploy>
</PropertyGroup>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment