Create new Microsoft.TestPlatform.ImportAfter.targets

This commit is contained in:
Faizan Ahmad 2016-10-06 22:41:05 +05:30
parent 3f271e1215
commit 657dc0baca
2 changed files with 19 additions and 6 deletions

View file

@ -20,10 +20,4 @@ Copyright (c) .NET Foundation. All rights reserved.
<NuGetRestoreTargets Condition="'$(NuGetRestoreTargets)'==''">$(MSBuildExtensionsPath)\NuGet.targets</NuGetRestoreTargets>
</PropertyGroup>
<Import Condition="Exists('$(NuGetRestoreTargets)')" Project="$(NuGetRestoreTargets)" />
<!-- Import Microsoft.TestPlatform.targets for Test3 -->
<PropertyGroup>
<VSTestTargets Condition="'$(VSTestTargets)'==''">$(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets</VSTestTargets>
</PropertyGroup>
<Import Condition="Exists('$(VSTestTargets)')" Project="$(VSTestTargets)" />
</Project>

View file

@ -0,0 +1,19 @@
<!--
***********************************************************************************************
Microsoft.TestPlatform.ImportAfter.targets
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
created a backup copy. Incorrect changes to this file will make it
impossible to load or build your projects from the command-line or the IDE.
Copyright (c) .NET Foundation. All rights reserved.
***********************************************************************************************
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Import Microsoft.TestPlatform.targets for VSTest target -->
<PropertyGroup>
<VSTestTargets Condition="'$(VSTestTargets)'==''">$(MSBuildExtensionsPath)\Microsoft.TestPlatform.targets</VSTestTargets>
</PropertyGroup>
<Import Condition="Exists('$(VSTestTargets)')" Project="$(VSTestTargets)" />
</Project>