protected override void Because() { buildEngine = new BuildEngine(null, "", FrameworkVersion.FrameworkVersion35, CreateStub<IDependencyDispatcher>()); buildEngine.BuildRootDirectory = "output"; packageTree = MockRepository.GenerateStub<IPackageTree>(); packageTree.Expect(pt => pt.WorkingDirectory).Return(new DirectoryInfo("C:\\temp")); runner = new MSBuildBuildTool(); }
protected override void Because() { buildEngine = new BuildEngine(null, "", FrameworkVersion.FrameworkVersion35, CreateStub <IDependencyDispatcher>()); buildEngine.BuildRootDirectory = "output"; packageTree = MockRepository.GenerateStub <IPackageTree>(); packageTree.Expect(pt => pt.WorkingDirectory).Return(new DirectoryInfo("C:\\temp")); runner = new MSBuildBuildTool(); }