Comments (7)
It's not Godot, but dotnet, which has this behavior.
It's arguable whether it's a good behavior for dotnet restore
(or NuGet, see below) to fail if one source is missing instead of falling back to other sources, but that's a problem you should take to the .NET people, not Godot. We can't work it around.
from godot.
CC @godotengine/dotnet
from godot.
Hello. You can list your nuget sources with the following command (run it from the folder containing your PrinceKiller.csproj
file):
dotnet nuget list source
Those sources are defined either globally in %APPDATA%\NuGet\NuGet.Config
/ %APPDATA%\NuGet\config\*.Config
(I'm assuming Windows paths, since you are talking about VS), or locally for your project in a NuGet.Config
in any folder upward of the one containing your .csproj
.
The restore is failing because you probably disabled the default api.nuget.org
source, and none of your other sources is actually able to provide Godot.NET.Sdk
.
from godot.
from godot.
Then your source at 192.168.178.3:5000
is not available. Which would also make the restore fail, since the operation requires all enabled sources to be available. In any case, this is a configuration issue, and not one on Godot's end.
from godot.
You say godot is looking for its sdk in my local source and it is not an issue? Funny approach to the problem.
from godot.
Godot is not particularly looking for Godot.NET.Sdk
in your local source, that is not how NuGet works. If any of your configured and enabled sources is unavailable, any restore operation will fail, period. This is a documented behaviour (I don't want to backlink issues for nothing, but you can find at least half a dozen of threads about it over on https://github.com/NuGet/Home). Trying to restore any other package (unrelated to Godot) that is not currently in your local cache will end in the same result.
If you want your custom source to only be used for a specific set of packages, you can properly configure it with Source Mapping. Or you can disable it altogether for that project with disabledPackageSources.
from godot.
Related Issues (20)
- AnimationTree in Scene with Thread Group 'Sub Thread' crashes application when used multiple times in another Scene HOT 4
- Importing GLTF add fake bones to the skeleton HOT 3
- Tool scripts don't work if they're using inner classes HOT 2
- Calling get_global_rect() inside an item_rect_changed callback behaves inconsistently HOT 3
- Project Settings will return null falsely HOT 5
- AudioStreamSynchronized (using mp3 or ogg that loops) not switching to other clips when inside AudioStreamInteractive when using transition from Next Bar
- Crash when exporting to linux as a dedicated server HOT 1
- Unable to get file from archive due to ZIPReader.get_files() HOT 5
- Text clipping on the Add Element button in inspector lists when using custom display scale and theme HOT 1
- Game crashes, but unable to recreate in a simple project, potentially a threading issue. HOT 2
- "Animation not found" error message when creating the first animation in the animation editor HOT 3
- FPS tanks when accessing large arrays or spans from _PhysicsProcess HOT 2
- Resource argument passed through RPC comes out as "null" on client
- Unable to disconnect signal in editor HOT 2
- 1 minute freeze after building C# project consisting of only empty txt files and empty scripts (since 4.1.dev4) HOT 2
- Compatibility Positional Shadow Allocation is Broken HOT 1
- set_anchors_preset() is ignored in a intanced TextureRect HOT 2
- Collisionshape2d handle bug in Android version HOT 3
- Addon requires editor restart to become functional
- GraphNode slots don't account for rotation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godot.