❔ ✅ Error MSB4018 : The "ResolvePackageAssets" task failed unexpectedly. When building.
Full Stacktrace:
Use build tool: C:\Program Files\dotnet\sdk\8.0.100-preview.5.23303.2\MSBuild.dll
CONSOLE: MSBuild version 17.7.0-preview-23281-03+4ce2ff1f8 for .NET
CONSOLE: Build started 02.08.2023 19:54:44.
CONSOLE: Project "C:\Users\tofik\AppData\Local\Temp\Topocix.proj" on node 1 (default targets).
CONSOLE: ControllerTarget:
CONSOLE: Run controller from C:\Program Files\JetBrains\Rider\r2r\2023.2.0R\53AFC7C05396A24E65EC4950CAD773F\JetBrains.Platform.MsBuildTask.v17.dll
0>Microsoft.NET.RuntimeIdentifierInference.targets(314,5): Message NETSDK1057 : You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy
0>Microsoft.PackageDependencyResolution.targets(266,5): Error MSB4018 : The "ResolvePackageAssets" task failed unexpectedly.
NuGet.Packaging.Core.PackagingException: Unable to find fallback package folder 'C:\Users\tofik\AppData\Roaming\Godot\mono\GodotNuGetFallbackFolder'.
at NuGet.Packaging.FallbackPackagePathResolver..ctor(String userPackageFolder, IEnumerable
1 fallbackPackageFolders)
at Microsoft.NET.Build.Tasks.NuGetPackageResolver.CreateResolver(IEnumerable
1 packageFolders)
at Microsoft.NET.Build.Tasks.ResolvePackageAssets.CacheWriter..ctor(ResolvePackageAssets task)
at Microsoft.NET.Build.Tasks.ResolvePackageAssets.CacheReader.CreateReaderFromDisk(ResolvePackageAssets task, Byte[] settingsHash)
at Microsoft.NET.Build.Tasks.ResolvePackageAssets.CacheReader..ctor(ResolvePackageAssets task)
at Microsoft.NET.Build.Tasks.ResolvePackageAssets.ReadItemGroups()
at Microsoft.NET.Build.Tasks.ResolvePackageAssets.ExecuteCore()
at Microsoft.NET.Build.Tasks.TaskBase.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask)Microsoft
.NET and .NET Core official support policy
Learn about .NET and .NET Core support policies, which refer to several technologies including the runtime, ASP.NET Core and Entity Framework Core.
14 Replies
NuGet.Packaging.Core.PackagingException: Unable to find fallback package folder 'C:\Users\tofik\AppData\Roaming\Godot\mono\GodotNuGetFallbackFolder'.sigh godot screwed up your machine's nuget configuration
we love to hear that
how would i fix it
do you have a
%appdata%\NuGet\NuGet.Config
Yes i do
checked that
is there a
fallbackPackageFolders
element in thereThis is the whole Nuget.Config folder
There's this
This ones in "AppData\Roaming\NuGet\config\Godot.Offline.Config" though
can you delete Godot.Offline.Config
or maybe rename it to something hat doesn't end in
.config
done
let me reload
Now i get [MSB4004] The "ItemGroup" property is reserved, and cannot be modified. C:\Github\Blossom\Blossom\BlossomApp\BlossomApp.csproj at (9:5)
can you share what your csproj looks like
that seems like an mistake you made in the project file
ive not edited the csproj file at all
rider has
one sec
yes there is a mistake
the
<ItemGroup>
needs to be outside of the <PropertyGroup>
Thank you :D
!close
Closed!
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.