I've setup a clean Windows VM, installed the latest .NET Core 7, and downloaded and extracted our spine-godot 4.1.2 editor binary from our site.
I opened the example-v4-csharp project and ran the default scene from within the editor. This time the build failed! Here's the log:
X.509 certificate chain validation will use the default trust store selected by .NET for code signing.
X.509 certificate chain validation will use the default trust store selected by .NET for timestamping.
Restoring packages for C:\Users\badlogic\AppData\Local\Temp\NuGetScratch\0534363c47e541c296d2053538f4fc46\30707e35a13d4f0693c702dd86f0e2f1.proj...
GET https://api.nuget.org/v3-flatcontainer/godot.net.sdk/index.json
OK https://api.nuget.org/v3-flatcontainer/godot.net.sdk/index.json 146ms
GET https://api.nuget.org/v3-flatcontainer/godot.net.sdk/4.1.2/godot.net.sdk.4.1.2.nupkg
OK https://api.nuget.org/v3-flatcontainer/godot.net.sdk/4.1.2/godot.net.sdk.4.1.2.nupkg 57ms
Installed Godot.NET.Sdk 4.1.2 from https://api.nuget.org/v3/index.json with content hash 0DCxIk3bqjq5qAClZYbGETMS5e63YgUer/be+TiVYJQBwZ9Bc3yvUrsNuY1UybwSudJzUT/az3y5LfmVyKdVzQ==.
Project "spine-godot-examples.csproj" (Restore target(s)):
Project "spine-godot-examples.csproj" (_IsProjectRestoreSupported target(s)):
Done building project "spine-godot-examples.csproj".
NuGetMessageTask: Determining projects to restore...
Project "spine-godot-examples.csproj" (_GenerateRestoreProjectPathWalk target(s)):
Done building project "spine-godot-examples.csproj".
Project "spine-godot-examples.csproj" (_IsProjectRestoreSupported target(s)):
Done building project "spine-godot-examples.csproj".
Project "spine-godot-examples.csproj" (_GenerateRestoreGraphProjectEntry target(s)):
Done building project "spine-godot-examples.csproj".
Project "spine-godot-examples.csproj" (_GenerateProjectRestoreGraph target(s)):
Done building project "spine-godot-examples.csproj".
RestoreTask: X.509 certificate chain validation will use the default trust store selected by .NET for code signing.
RestoreTask: X.509 certificate chain validation will use the default trust store selected by .NET for timestamping.
RestoreTask: Restoring packages for D:\workspaces\spine-runtimes\spine-godot\example-v4-csharp\spine-godot-examples.csproj...
RestoreTask: GET https://api.nuget.org/v3-flatcontainer/godot.sourcegenerators/index.json
RestoreTask: GET https://api.nuget.org/v3-flatcontainer/godotsharp/index.json
RestoreTask: GET https://api.nuget.org/v3-flatcontainer/godotsharpeditor/index.json
RestoreTask: OK https://api.nuget.org/v3-flatcontainer/godot.sourcegenerators/index.json 272ms
RestoreTask: OK https://api.nuget.org/v3-flatcontainer/godotsharpeditor/index.json 277ms
RestoreTask: GET https://api.nuget.org/v3-flatcontainer/godot.sourcegenerators/4.1.2/godot.sourcegenerators.4.1.2.nupkg
RestoreTask: GET https://api.nuget.org/v3-flatcontainer/godotsharpeditor/4.1.2/godotsharpeditor.4.1.2.nupkg
RestoreTask: OK https://api.nuget.org/v3-flatcontainer/godotsharp/index.json 317ms
RestoreTask: GET https://api.nuget.org/v3-flatcontainer/godotsharp/4.1.2/godotsharp.4.1.2.nupkg
RestoreTask: OK https://api.nuget.org/v3-flatcontainer/godot.sourcegenerators/4.1.2/godot.sourcegenerators.4.1.2.nupkg 40ms
RestoreTask: OK https://api.nuget.org/v3-flatcontainer/godotsharpeditor/4.1.2/godotsharpeditor.4.1.2.nupkg 53ms
RestoreTask: OK https://api.nuget.org/v3-flatcontainer/godotsharp/4.1.2/godotsharp.4.1.2.nupkg 46ms
RestoreTask: GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.ref/index.json
RestoreTask: GET https://api.nuget.org/v3-flatcontainer/microsoft.windowsdesktop.app.ref/index.json
RestoreTask: GET https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.app.ref/index.json
RestoreTask: OK https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.ref/index.json 149ms
RestoreTask: OK https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.app.ref/index.json 147ms
RestoreTask: OK https://api.nuget.org/v3-flatcontainer/microsoft.windowsdesktop.app.ref/index.json 195ms
RestoreTask: GET https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.app.ref/6.0.23/microsoft.aspnetcore.app.ref.6.0.23.nupkg
RestoreTask: GET https://api.nuget.org/v3-flatcontainer/microsoft.windowsdesktop.app.ref/6.0.23/microsoft.windowsdesktop.app.ref.6.0.23.nupkg
RestoreTask: GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.ref/6.0.23/microsoft.netcore.app.ref.6.0.23.nupkg
RestoreTask: OK https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.app.ref/6.0.23/microsoft.aspnetcore.app.ref.6.0.23.nupkg 18ms
RestoreTask: OK https://api.nuget.org/v3-flatcontainer/microsoft.windowsdesktop.app.ref/6.0.23/microsoft.windowsdesktop.app.ref.6.0.23.nupkg 21ms
RestoreTask: OK https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.ref/6.0.23/microsoft.netcore.app.ref.6.0.23.nupkg 26ms
RestoreTask: Installed Godot.SourceGenerators 4.1.2 from https://api.nuget.org/v3/index.json with content hash WVZ+0PsBSwASQNGmmnv5OEkClwe3M0E0LfzmnRKYNzU7V+qnaW+QU0COTVjzQLBlhIdS9sX2gHAR/ogZdKnhVA==.
RestoreTask: Installed GodotSharpEditor 4.1.2 from https://api.nuget.org/v3/index.json with content hash L8toPAj+YzsHVtR7JEKC11//oBEVoB91kVY49kjCkVuqTLSsg8NKPaYE+54YRyI2g9lqSES9xX5bQ/6yT9rOWA==.
RestoreTask: Installed GodotSharp 4.1.2 from https://api.nuget.org/v3/index.json with content hash iuXYVigWjGVLUIhqGDf5f/kba2ILQKZbE3U6eQrc1582yn5U39j2rDwFPlzfamvxiSu340tHzBnQ3IDi/T/Htw==.
RestoreTask: Installed Microsoft.NETCore.App.Ref 6.0.23 from https://api.nuget.org/v3/index.json with content hash IW4zUHwtWHLjlEKQfeZMnrq5RO916BL1vwm2wslSLNZ9wbVHL1G3LyRLFzJzaPMp9RPzLicU2lWZ75b4rtLzJw==.
RestoreTask: Installed Microsoft.AspNetCore.App.Ref 6.0.23 from https://api.nuget.org/v3/index.json with content hash oOuoJyh6RM5wac9zgV3Ui0PEGsfzQQke7JZqPvMRxIzeBh+IOKFD3yBXGxHg41AcAzhFyCKLn8TvYwoDm94wzg==.
RestoreTask: Installed Microsoft.WindowsDesktop.App.Ref 6.0.23 from https://api.nuget.org/v3/index.json with content hash TeCfQvsp1REZ9vRYw/P5bo5aZmJ1A9uGO6Jap18PwF252S+TqrbphQZksFJ13a+6f2Mwmfsa8sLEvTWKD6fBTQ==.
RestoreTask: Generating MSBuild file D:\workspaces\spine-runtimes\spine-godot\example-v4-csharp\.godot\mono\temp\obj\spine-godot-examples.csproj.nuget.g.props.
RestoreTask: Generating MSBuild file D:\workspaces\spine-runtimes\spine-godot\example-v4-csharp\.godot\mono\temp\obj\spine-godot-examples.csproj.nuget.g.targets.
RestoreTask: Writing assets file to disk. Path: D:\workspaces\spine-runtimes\spine-godot\example-v4-csharp\.godot\mono\temp\obj\project.assets.json
RestoreTask: Restored D:\workspaces\spine-runtimes\spine-godot\example-v4-csharp\spine-godot-examples.csproj (in 1,84 sec).
RestoreTask:
RestoreTask: NuGet Config files used:
RestoreTask: D:\workspaces\spine-runtimes\spine-godot\example-v4-csharp\NuGet.Config
RestoreTask: C:\Users\badlogic\AppData\Roaming\NuGet\NuGet.Config
RestoreTask:
RestoreTask: Feeds used:
RestoreTask: D:\workspaces\spine-runtimes\spine-godot\example-v4-csharp\godot-nuget
RestoreTask: https://api.nuget.org/v3/index.json
RestoreTask:
RestoreTask: Installed:
RestoreTask: 3 package(s) to D:\workspaces\spine-runtimes\spine-godot\example-v4-csharp\spine-godot-examples.csproj
Done building project "spine-godot-examples.csproj".
The restore task responsible for fetching the dependencies from NuGet recognized the nuget.config file from the project directory, but still pulls the official dependencies from the NuGet repository. That's crazy town. It should prioritize the local NuGet feed.
Well, here's the issue:
The NuGet packages commited to our spine-runtimes repo are version 4.1.1, not 4.1.2. On my local dev machines I have the 4.1.2 binaries due to the way I build the example project for development.
So I copied over the files from the files from the downloaded spine-godot Editor .zip (GodotSharp\Tools\nupkgs
) to the example-v4-csharp/godot-nuget
directory, deleted $User/.nuget/packages/Godot*
, and reran the build.
Great success:
This time it pulled in the dependencies from the godot-nuget/
folder as it should.
I've pushed the updated NuGet packages to the spine-runtimes repository. Thanks for reporting!