Error MB2014 Microsoft.PackageDependencyResolution
See original GitHub issue@SeanErvinson commented on Wed Jun 20 2018
Having trouble building or running on the latest version of dotnet.
asean@asean:~$ dotnet --info
.NET Core SDK (reflecting any global.json):
Version: 2.1.301
Commit: 59524873d6
Runtime Environment:
OS Name: ubuntu
OS Version: 18.04
OS Platform: Linux
RID: ubuntu.18.04-x64
Base Path: /usr/share/dotnet/sdk/2.1.301/
Host (useful for support):
Version: 2.1.1
Commit: 6985b9f684
.NET Core SDKs installed:
2.1.301 [/usr/share/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.1 [/usr/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.1 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.1 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
What I have done: -Remove entire dotnet core -Clean install of dotnet core on Ubuntu 18.04. -dotnet new console -both dotnet build and dotnet run resulted in this error
- also tried with an ASP.Net Core app same result
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
PackageDependencyResolution Error on project.assets. ...
When looking at the output, the following message is displayed: C:\Program Files\dotnet\sdk\2.1.102\Sdks\Microsoft.NET.Sdk\build\Microsoft.
Read more >Troubleshooting NuGet Package Restore in Visual Studio
This error indicates that package restore is disabled in your NuGet configuration. You can change the applicable settings in Visual Studio as ...
Read more >The "ResolvePackageAssets" task failed unexpectedly
This error due to Nuget packages version compatibility different in projects(Shared project,iOS Project,Android Projects). Solution:-.
Read more >NuGet Restore task fails for .Net Core project migrated with ...
Dear all, I have .Net Core project which has been converted with Visual Studio 2017. The build plan especially the task NuGet Restore...
Read more >Solve build error with msbuild at Microsoft. ...
If you run msbuild and get an error message that points out Microsoft.PackageDependencyResolution.targets(198,5), then this article may help you ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
See also https://github.com/dotnet/corefx/issues/29820#issuecomment-390690353 for a workaround that doesn’t involve changing timezones, but will slow down your builds.
No, I don’t think this is ported to the servicing. this should repro only on a specific TZ. @SeanErvinson what is TZ you have in your machine? changing the TZ temporary during the build will help avoid this problem.