dotnet-installer/test/dotnet-build.Tests
Eric Erhardt d98c1f8724 dotnet build raises errors MVC apps target net46.
The issue is when the ProjectContextBuilder sees a CompileTimePlaceholder "_._" file on a full framework, it assumes that dependency has to come from the "Reference Assemblies" directory.  If it can't be found there, an error is raised.  However, there are other reasons "_._" placeholders are created (when a NuGet package doesn't want its dependencies to be exposed in the Compile dependencies of its consumers). And these placeholders can exist for assemblies that aren't in the full framework - in this case System.Diagnostics.FileVersionInfo and others.

To fix this, if the reference can't be resolved from the "Reference Assemblies" folder, it is just skipped. If the compiler really needs that assembly, it will raise an error to the user.  Dotnet build shouldn't raise the error.

Fix #2906
2016-05-06 14:32:50 -05:00
..
BuildInvalidArgumentsTests.cs Remove native compilation, add multiple project files and globbing 2016-04-20 11:54:16 -07:00
BuildOutputTests.cs PR Feedback 2016-05-03 13:30:59 -07:00
BuildPortableTests.cs t Convert Test Assets to Microsoft.NETCore.App 2016-04-19 11:08:27 -07:00
BuildProjectToProjectTests.cs Fix --no-dependencies incremental check regression 2016-04-27 15:29:12 -07:00
BuildStandAloneTests.cs Replaces references to Microsoft.Extensions.PlatformAbstractions with Microsoft.Extensions.PlatformAbstractions.Internal 2016-04-29 16:06:23 -07:00
dotnet-build.Tests.xproj Revert "Update the .xproj files to reference the "DotNet" targets and props instead of "DNX"." 2016-03-16 11:44:09 -05:00
GivenDotnetBuildBuildsProjects.cs dotnet build raises errors MVC apps target net46. 2016-05-06 14:32:50 -05:00
IncrementalTestBase.cs t Convert Test Assets to Microsoft.NETCore.App 2016-04-19 11:08:27 -07:00
IncrementalTests.cs refactor WorkspaceContext (#2736) 2016-05-02 11:32:24 -07:00
IncrementalTestsOnCultureSpecificResource.cs t Convert Test Assets to Microsoft.NETCore.App 2016-04-19 11:08:27 -07:00
IncrementalTestsOnResources.cs t Convert Test Assets to Microsoft.NETCore.App 2016-04-19 11:08:27 -07:00
IncrementalTestsTransitiveRuntime.cs t Convert Test Assets to Microsoft.NETCore.App 2016-04-19 11:08:27 -07:00
project.json Updating to latest dotnet-test-xunit 2016-04-30 18:25:11 -07:00
ProjectNameArgumentTests.cs Rebase Conflicts 2016-05-03 10:37:29 -07:00
WrappedProjectTests.cs Fix wrapped project paht resolution 2016-02-24 16:40:22 -08:00