-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.2.3RC3 Regression] System.Text.Json package not found when building from editor (works via Visual Studio extension) #41241
Comments
Could you attach a minimal project that reproduces this issue? It greatly helps with debugging. |
Added. |
I was able to fix my issue by changing the |
Re-opening as this is still considered a bug, even if it can be worked around. We must figure out why it fails with the dotnet CLI or revert it being the default build tool. |
I also got this problem and |
I wasn't able to reproduce on Linux. I'll try on Windows tomorrow. BTW, what version of the .NET Core SDK is installed on your system? ( |
Turn out But I use dotnet Also actually, trying to run |
To get nuget.exe, look there: |
@Duehok I know, what I mean is, in godot there was option to use I could also run I just mention that |
Thanks, I had the idea this was an issue with the dotnet CLI only so I was worried to hear
Mono's MSBuild is pretty much assumed not to work when it comes to nuget restore on Windows (no issues on Linux/macOS). At this point I wonder if it's better to remove it from the options, even if it's not the default anymore. |
This is still happening on 3.2.3-stable.mono |
Godot version: 3.2.3RC3
OS/device including version: Windows 10 64bit (Visual Studio 2019 with Godot extension)
Issue description: I am using NuGet to include the
System.Text.Json
package in my Godot project. With previous versions of Godot I was able to build both from Visual Studio 2019 and from the editor.Now, I am able to build and launch from Visual Studio 2019 using the
Play in Editor
button, but usingBuild
,Play
, orPlay Scene
from the editor results in a build process that cannot locate theSystem.Text.Json
package.The package is referenced in the .csproj file:
Truncated build log from the editor:
I attempted to uninstall the package and reinstall it. No change.
I understand why the editor and Visual Studio 2019 might use different build steps, but if that was an issue it doesn't make sense that this worked with Godot 3.2.2.
PackageRegression.zip
The text was updated successfully, but these errors were encountered: