VS 2017's NET.Sdk.Web has PreserveCompilationContext set to true by default, which causes DependencyModel errors when using it from an extension that is not loaded from the main app's bin directory. This is equivalent to the VS2015 behavior since preserveCompilationContext was not set in the project.json.
VS 2017's NET.Sdk.Web has PreserveCompilationContext set to true by default, which causes DependencyModel errors when using it from an extension that is not loaded from the main app's bin directory. This is equivalent to the VS2015 behavior since preserveCompilationContext was not set in the project.json.
@lucabriguglia