-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building and running project for net462 runtime #2045
Comments
@dsplaisted @joperezr to comment. I wonder if this is related to conflict resolution. |
@multiarc I think the issue in the EDIT: Nevermind, that was an error I ran into, but it looks like you hit a different issue. |
@dsplaisted sure I did. |
OK, I've worked out what's going on. Thanks a lot for the repro
|
Closing as @dsplaisted seems to have addressed all the issues. |
Issue might be related to #1488
There are several reproductions of the issue. The test package for the issue is
cloudscribe.Web.Pagination
https://www.nuget.org/packages/cloudscribe.Web.Pagination/1.1.4, which is targetingnetstandard1.6
only; startup projectA
target isnet462
as well as referenced projectB
.The issue might be due to screwed up package, wrong target (why if so?) but it's not clear by error messages or behavior.
https://github.com/multiarc/SDKRepro/branches
global.json used to specify SDK version 1.1.8
build_fail
-- not able to build.Error messages is not clear what to do, all packages including framework assemblies appeared with warning mark.
MSB4062 The "NETBuildExtensionsError" task could not be loaded from the assembly C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\\tools\net46\Microsoft.NET.Build.Extensions.Tasks.dll. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. A C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.NETFramework.targets 65
Cannot find project info for 'C:\Docs\Work\SDKRepro\src\B\B.csproj'. This can indicate a missing project reference. A C:\Program Files\dotnet\sdk\1.1.8\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.Sdk.targets 92
run_fail
-- able to build using<DependsOnNETStandard>netstandard1.6</DependsOnNETStandard>
, cannot start (System.Linq 4.1.0.0 assembly cannot load)master
-- completely fine project, builds and starts up no problem, just an example without package referenceglobal.json is removed
no_global_run_fail
-- same as run_failno_global_another_run_fail
-- magically able to build, cannot start due to Microsoft.CSharp assembly cannot loadSDK Versions
The text was updated successfully, but these errors were encountered: