public void SetUpFixture() { string fileName1 = @"C:\Projects\Test\wixlibs\test.wixlib"; string fileName2 = @"C:\Projects\Test\mainlibs\main.wixlib"; project = WixBindingTestsHelper.CreateEmptyWixProject(); project.AddWixLibraries(new string[] { fileName1, fileName2 }); wixLibraryProjectItemCount = 0; foreach (ProjectItem item in project.Items) { if (item is WixLibraryProjectItem) { ++wixLibraryProjectItemCount; } } }