public void ShouldIncludeInSolutionTraversalProject() { Dictionary <string, string> globalProperties = new Dictionary <string, string> { { "IsTraversal", "true" }, }; Project project = CreateProject("dirs", ".proj", globalProperties: globalProperties); SlnProject.ShouldIncludeInSolution(project).ShouldBeFalse(); }
public void ShouldIncludeInSolutionTraversalProject() { Dictionary <string, string> globalProperties = new Dictionary <string, string> { { MSBuildPropertyNames.IsTraversal, bool.TrueString }, }; Project project = CreateProject("dirs", ".proj", globalProperties: globalProperties); SlnProject.ShouldIncludeInSolution(project).ShouldBeFalse(); }
public void ShouldIncludeInSolutionExclusion() { Dictionary <string, string> globalProperties = new Dictionary <string, string> { { "IncludeInSolutionFile", "false" }, }; Project project = CreateProject("foo", ".csproj", globalProperties: globalProperties); SlnProject.ShouldIncludeInSolution(project).ShouldBeFalse(); }
public void ShouldIncludeInSolutionExclusion() { Dictionary <string, string> globalProperties = new Dictionary <string, string> { { MSBuildPropertyNames.IncludeInSolutionFile, bool.FalseString }, }; Project project = CreateProject("foo", ProjectFileExtensions.CSharp, globalProperties: globalProperties); SlnProject.ShouldIncludeInSolution(project).ShouldBeFalse(); }