uopeydel
uopeydel

Reputation: 441

How to move project .netcore in visual studio to run on windows from mac

First i start project .netcore 2.2 in my mac pro. And then i want to move it to dev on windows But in visual studio on windows show error below And can not update package. seem like it can not find path in mac How can i fix it and can run this project on windows? And make it can run any os.

Severity Code Description Project File Line Suppression State Error MSB4018 The "ResolvePackageAssets" task failed unexpectedly. NuGet.Packaging.Core.PackagingException: Unable to find fallback package folder '/usr/local/share/dotnet/sdk/NuGetFallbackFolder'. at NuGet.Packaging.FallbackPackagePathResolver..ctor(String userPackageFolder, IEnumerable`1 fallbackPackageFolders)

Upvotes: 2

Views: 440

Answers (1)

Anand Gaurav
Anand Gaurav

Reputation: 234

Delete the bin/ and obj/ directories and build again.

Upvotes: 2

Related Questions