NuGet error by restore .Net Standart/.Net Core projects with .Net Framework dependencies

Hello,

I have problem by restoring .Net Standart projects with .Net Framework dependencies in TeamCity on NuGet Installer Step. :

NU1202: Package BookSleeve 1.3.41 is not compatible with netstandard2.0 (.NETStandard,Version=v2.0)

(Unfortunately, some of NuGet packages in my solution don't have .Net Standart support)

 

But it works fine when I restore and build projects in Visual Studio (only warnings, but all code works fine).

 

I've upgraded Teamcity to latest version (2017.1.5), installed NuGet 4.4.0, but no any good results - the same error.

Also I'm trying to use .Net Core TeamCity Plugin - .NET CLI (dotnet) runner and command "restore" - also doesn't work.

 

Does exists some way to restore .Net Standart and .Net Core projects with .Net FrameWork packages in TeamCity?

 

 

 

0
1 comment

Hi, and sorry for the delay in answering. I've been requesting some info internally, as this issue is relatively strange. After a bit of conversation with the dev, I would like to ask you to send us a build log using the "Submit a request" button on top. The full build log will provide us with some extra context to try to replicate it. This button will send the request privately and allow to share files.

It would be also great if you could share a small repo with us so that we can replicate the issue easily without having to try-and-miss multiple options. If you want to share it privately, send it as well with the same "Submit a request" mentioned above (you can send both in the same combined request).

0

Please sign in to leave a comment.