dotnet core package restore fails with .net sdk was not found error

After update to TeamCity to 2019.1.2 (66342) we started getting following error:

[00:58:13]Step 3/5: Restore packages (.NET CLI (dotnet))
[00:58:14][Step 3/5] .NET SDK was not found.
[00:58:14][Step 3/5] Step Restore packages (.NET CLI (dotnet)) failed with unexpected error

Please advice

0
6 comments

Hi Andrei,

 

this is a known issue as of yesterday, we have an issue in our tracker here: https://youtrack.jetbrains.com/issue/TW-61413

 

As of now, the issue is not fully solved, but there might be a workaround depending on your scenario on this comment: https://youtrack.jetbrains.com/issue/TW-61413#focus=streamItem-27-3629068.0-0

 

Please watch the issue to stay informed of its updates.

0

Got it. Thank you Denis. We solved our issue with direct dotnet restore call from command line step for now. Will wait for proper solution.

 

0

Hi Andrei, 

we attached the plugin version with a fix for the issue. You can install it as an external plugin and use it until the next bugfix release will be published.

0

Hi Nadia,

 

Thank you.

0

Hi, 

Works with the plugin. However, when do you plan to release new version? 

0

Hi Sebastian,

we do not have any concrete date jet but definitely by the end of August.

0

Please sign in to leave a comment.