Last active
April 3, 2016 00:22
-
-
Save tmori3y2/b5fc4c37812ced105ca1 to your computer and use it in GitHub Desktop.
Automatic imported MSBuild project property sheet file which imports another one installed at the same time by NuGet
This file contains 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
<?xml version="1.0" encoding="utf-8" ?> | |
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup Condition="'$(ImportedTask)'==''"> | |
<ImportedTask>$(MSBuildProjectDirectory)\build\MSBuildTasks.ImportedTask</ImportedTask> | |
</PropertyGroup> | |
<Import Project="$(ImportedTask).props" Condition="Exists('$(ImportedTask).props')"/> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/tmori3y2/BlogSamples/blob/Article_20160321/NuGetPackages/MSBuildTasks/MSBuildTasks.ImportTasks/nupkg/build/MSBuildTasks.ImportTasks.props