3 references to ReadAllText
Microsoft.DotNet.Build.Tasks.Templating.Tests (3)
GenerateFileFromTemplateTests.cs (3)
27Assert.Equal(ReadAllText("Directory.Build.props.in").Replace("${DefaultNetCoreTargetFramework}", "net6.0"), File.ReadAllText(filePath)); 55Assert.Equal(ReadAllText("Directory.Build.props.in").Replace("${DefaultNetCoreTargetFramework}", string.Empty), File.ReadAllText(filePath)); 80Assert.Equal(ReadAllText(filename), File.ReadAllText(filePath));