public void RoslynAnalyzerRulesetFiles_WillBeIncluded() { var roslynAnalyzerRuleSetPath = "Assets/RoslynRuleSet.ruleset"; m_Builder.WithAssemblyData(files: new[] { "file.cs" }, roslynAnalyzerRulesetPath: roslynAnalyzerRuleSetPath).Build().Sync(); var csProjectFileContents = m_Builder.ReadProjectFile(m_Builder.Assembly); XmlDocument csProjectXmlFile = XMLUtilities.FromText(csProjectFileContents); XMLUtilities.AssertAnalyzerRuleSetsMatchExactly(csProjectXmlFile, roslynAnalyzerRuleSetPath); }