示例#1
0
        public void SetUpFixture()
        {
            string fileName1 = @"C:\Projects\Test\wixext\test.dll";
            string fileName2 = @"C:\Projects\Test\mainext\main.dll";

            project = WixBindingTestsHelper.CreateEmptyWixProject();
            project.AddWixExtensions(new string[] { fileName1, fileName2 });

            wixExtensionProjectItemCount = 0;
            foreach (ProjectItem item in project.Items)
            {
                if (item is WixExtensionProjectItem)
                {
                    ++wixExtensionProjectItemCount;
                }
            }
        }