public void CanGetOutputAssemblies_For_CSProjFile() { var file = fs.CreateFakeFile("CsProj_ValidFile".SafeLoad()); var workDir = cakeContext.Environment.WorkingDirectory.FullPath; var result = cakeContext.GetOutputAssemblies(file.Path, "Debug", "AnyCPU"); result.Should().ContainSingle().Which.FullPath.Should().Be($"{workDir}/bin/Debug/Cake.Common.dll"); }
public void CanGetOutputAssemblies_For_CSProjFile() { var file = new FakeFile("CsProj_ValidFile".SafeLoad()); fs.AddFile(file); var result = cakeContext.GetOutputAssemblies(file.Path, "Debug", "AnyCPU"); result.Should().ContainSingle().Which.FullPath.Should().Be("bin/Debug/Cake.Common.dll"); }