Merge pull request #2822 from dotnet/ajbaaska/default-builtin-fix

Fix: builtIn defaults are not used when builtIn is not specified
This commit is contained in:
Piotr Puszkiewicz 2016-05-03 13:46:38 -07:00
commit a2139324f0
4 changed files with 18 additions and 11 deletions

View file

@ -62,7 +62,7 @@ namespace Microsoft.DotNet.ProjectModel.Tests
'buildOptions': {
'compile': {
'includeFiles': [ 'files/file1.cs', 'files/file2.cs' ],
'exclude': 'files/*ex.cs'
'exclude': '**/*.cs'
}
}}");

View file

@ -166,6 +166,7 @@ namespace Microsoft.DotNet.Tools.Compiler.Tests
var objDirInfo = new DirectoryInfo(Path.Combine(root, "obj", "Debug", DefaultFramework));
objDirInfo.Should().HaveFile("EndToEndTestApp.resource1.resources");
objDirInfo.Should().HaveFile("myresource.resources");
objDirInfo.Should().HaveFile("EndToEndTestApp.defaultresource.resources");
}
[Fact]