Merge pull request #2930 from eerhardt/MvcNet46
dotnet build raises errors MVC apps target net46.
This commit is contained in:
commit
a76fea647e
5 changed files with 49 additions and 6 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue