Skip to content
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

docs: Update Troubleshooting with NuGet.Config issue #382

Open
2 tasks
VaclavElias opened this issue Jan 27, 2025 · 0 comments
Open
2 tasks

docs: Update Troubleshooting with NuGet.Config issue #382

VaclavElias opened this issue Jan 27, 2025 · 0 comments
Labels
manual Related to manual documentation

Comments

@VaclavElias
Copy link
Contributor

Issue: The install program (Launcher) on the PC only finds the 3.x versions and no 4.x

Image

Solution

Look at the different NuGet.config files on your machines (esp. %appdata%\NuGet\NuGet.Config). Finding only version 3x means it is not checking against nuget.org as a source.

From Discord:

Thanks for the info and help, in the directory was a file “nuget.config” (lower case) with the content :

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <add key="Stride" value="https://packages.stride3d.net/nuget" />
  </packageSources>
</configuration>

on my laptop/notebook was the file “NuGet.Config” with the content :

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
  </packageSources>
</configuration>

After I deleted the file on my PC, the Stride installer created the same file with the same content as on the notebook and it worked immediately.

Update accordingly:

@VaclavElias VaclavElias added the manual Related to manual documentation label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
manual Related to manual documentation
Projects
None yet
Development

No branches or pull requests

1 participant