diff --git a/Directory.Build.props b/Directory.Build.props index 371971c..b04bbeb 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,7 +1,10 @@ - ../build/temp/bin - ../build/temp/obj - ../build/temp/obj + enable + ../build + ../build + $(BaseOutputPath)/$(MSBuildProjectName)/bin + $(BaseIntermediateOutputPath)/$(MSBuildProjectName)/obj + $(BaseIntermediateOutputPath)/$(MSBuildProjectName)/obj \ No newline at end of file diff --git a/dot.sln b/dot.sln index ea87d97..bf2ddd6 100644 --- a/dot.sln +++ b/dot.sln @@ -34,6 +34,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NSExt", "..\..\..\..\Forked EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spectre.Console.Cli", "..\..\..\..\ForkedGitReps\spectre.console\src\Spectre.Console.Cli\Spectre.Console.Cli.csproj", "{7C7321B4-C4BD-4DB4-9DF4-E487EFB8F307}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "tests", "tests\tests.csproj", "{15EF00AD-DFA8-4BE2-985E-85DA8092CB2F}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -55,5 +57,9 @@ Global {7C7321B4-C4BD-4DB4-9DF4-E487EFB8F307}.Debug|Any CPU.Build.0 = Debug|Any CPU {7C7321B4-C4BD-4DB4-9DF4-E487EFB8F307}.Release|Any CPU.ActiveCfg = Release|Any CPU {7C7321B4-C4BD-4DB4-9DF4-E487EFB8F307}.Release|Any CPU.Build.0 = Release|Any CPU + {15EF00AD-DFA8-4BE2-985E-85DA8092CB2F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {15EF00AD-DFA8-4BE2-985E-85DA8092CB2F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {15EF00AD-DFA8-4BE2-985E-85DA8092CB2F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {15EF00AD-DFA8-4BE2-985E-85DA8092CB2F}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal \ No newline at end of file diff --git a/src/dot.csproj b/src/dot.csproj index 4342bf8..2509966 100644 --- a/src/dot.csproj +++ b/src/dot.csproj @@ -3,20 +3,14 @@ Exe net7.0-windows;net7.0 true - enable Dot false CA1416; + true $(DefineConstants);NET7_0_WINDOWS - - true - - - true - diff --git a/tests/TestGet.cs b/tests/TestGet.cs new file mode 100644 index 0000000..b9f5348 --- /dev/null +++ b/tests/TestGet.cs @@ -0,0 +1,13 @@ +namespace Dot.Tests; + +public class TestGet +{ + [SetUp] + public void Setup() { } + + [Test] + public void Test1() + { + Assert.Pass(); + } +} \ No newline at end of file diff --git a/tests/Usings.cs b/tests/Usings.cs new file mode 100644 index 0000000..cefced4 --- /dev/null +++ b/tests/Usings.cs @@ -0,0 +1 @@ +global using NUnit.Framework; \ No newline at end of file diff --git a/tests/tests.csproj b/tests/tests.csproj new file mode 100644 index 0000000..de8f2c9 --- /dev/null +++ b/tests/tests.csproj @@ -0,0 +1,15 @@ + + + net7.0-windows;net7.0 + false + Dot.Tests + + + + + + + + + + \ No newline at end of file