Merge pull request #2930 from eerhardt/MvcNet46

dotnet build raises errors MVC apps target net46.
This commit is contained in:
Eric Erhardt 2016-05-06 17:12:25 -05:00
commit a76fea647e
5 changed files with 49 additions and 6 deletions

View file

@ -100,5 +100,20 @@ namespace Microsoft.DotNet.Tools.Builder.Tests
"TestLibraryWithXmlDoc.xml"
});
}
[WindowsOnlyFact]
public void It_builds_projects_targeting_net46_and_Roslyn()
{
var testInstance = TestAssetsManager
.CreateTestInstance("AppWithNet46AndRoslyn")
.WithLockFiles();
var testProject = Path.Combine(testInstance.TestRoot, "project.json");
new BuildCommand(testProject)
.Execute()
.Should()
.Pass();
}
}
}