コード例 #1
0
        public void GetReferencesForProcessingRun()
        {
            // Create the PropertiesDirectiveProcessor
            PropertiesDirectiveProcessor pdp = new PropertiesDirectiveProcessor();

            string[] references = pdp.GetReferencesForProcessingRun();
            Assert.IsTrue(references.Length == 1);

            Assert.IsTrue(String.Equals("Microsoft.Practices.RecipeFramework.VisualStudio.Library.dll",
                                        Path.GetFileName(references[0]),
                                        StringComparison.InvariantCultureIgnoreCase));

            //Assert.IsTrue(String.Equals("Microsoft.Practices.RecipeFramework.VisualStudio.Library.dll", references[0],
            //    StringComparison.InvariantCultureIgnoreCase));
        }