public void GetTemplateTest() { string expectedTemplate = System.IO.Path.Combine("Users", "Project", "$(Configuration)", "$(TargetFramework)"); var conf = new DotNetProjectConfiguration("Foo") { TargetFrameworkShortName = "netcore22", OutputDirectory = System.IO.Path.Combine("Users", "Project", "Foo", "netcore22"), AppendTargetFrameworkToOutputPath = true }; var template = conf.GetTemplate(); Assert.That(template, Is.EqualTo(expectedTemplate)); }