Last active
November 6, 2019 23:14
-
-
Save wallymathieu/00a97c7bcc7401cbf5ac48a0273359bd to your computer and use it in GitHub Desktop.
Revisions
-
wallymathieu revised this gist
Nov 6, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ <TargetFramework Condition="$(Configuration)=='Test'">netcoreapp3.0</TargetFramework> <TargetFramework Condition="$(Configuration)!='Test'">netstandard2.0</TargetFramework> <IsPackable Condition="$(Configuration)=='Test'">false</IsPackable> <DefineConstants Condition="$(Configuration)=='Test'">TESTS</DefineConstants> </PropertyGroup> -
wallymathieu created this gist
Nov 6, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework Condition="$(Configuration)=='Test'">netcoreapp3.0</TargetFramework> <TargetFramework Condition="$(Configuration)!='Test'">netstandard2.0</TargetFramework> <IsPackable>false</IsPackable> <DefineConstants Condition="$(Configuration)=='Test'">TESTS</DefineConstants> </PropertyGroup> <ItemGroup Condition="$(Configuration)=='Test'"> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" /> <PackageReference Include="xunit" Version="2.4.0" /> <PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" /> <PackageReference Include="coverlet.collector" Version="1.0.1" /> </ItemGroup> </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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ namespace LibWithTests { public class LibraryClass { } } 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ using System; #if TESTS using Xunit; namespace LibWithTests { public class UnitTest1 { [Fact] public void Test1() { } } } #endif