-
-
Save lomholdt/dbb140b370ce2fb8730b7df7eaaba002 to your computer and use it in GitHub Desktop.
Allow `dotnet test` to be run from solution directory
This file contains hidden or 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
<Project> | |
<Target Name="VSTest"> | |
<MSBuild Projects="@(ProjectReference)" Targets="VSTestIfTestProject" Properties="%(ProjectReference.AdditionalProperties)" /> | |
</Target> | |
</Project> |
This file contains hidden or 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
<Project> | |
<Target Name="VSTestIfTestProject"> | |
<CallTarget Targets="VSTest" Condition="'$(IsTestProject)' == 'true'" /> | |
</Target> | |
</Project> |
Author
lomholdt
commented
Jul 21, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment