Skip to content

Troubleshooting - Unable to resolve Stride.GameStudio #407

Open
@VaclavElias

Description

@VaclavElias

Add NuGet instructions.

Check file

C:\Users\YourUserName\AppData\Roaming\NuGet\NuGet.Config

Backup your current NuGet.Config

Update with

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
    <add key="Stride Dev" value="C:\Users\YourUserName\AppData\Local\Stride\NugetDev" />
  </packageSources>
</configuration>

An error occurred while installing version 4.2.0.2381.
Log

[19:11:27] Info: GET https://api.nuget.org/v3/registration5-gz-semver2/stride.gamestudio/index.json
[19:11:27] Info: GET https://api.nuget.org/v3/registration5-gz-semver2/stride.launcher/index.json
[19:11:27] Info: OK https://api.nuget.org/v3/registration5-gz-semver2/stride.launcher/index.json 163ms
[19:11:27] Info: OK https://api.nuget.org/v3/registration5-gz-semver2/stride.gamestudio/index.json 165ms
[19:11:27] Info: GET https://api.nuget.org/v3/registration5-gz-semver2/xenko.gamestudio/index.json
[19:11:27] Info: OK https://api.nuget.org/v3/registration5-gz-semver2/xenko.gamestudio/index.json 71ms
[19:11:27] Info: GET https://api.nuget.org/v3/registration5-gz-semver2/xenko/index.json
[19:11:27] Info: OK https://api.nuget.org/v3/registration5-gz-semver2/xenko/index.json 67ms
[19:11:27] Info: GET https://api.nuget.org/v3/registration5-gz-semver2/stride.visualstudio.package/index.json
[19:11:27] Info: OK https://api.nuget.org/v3/registration5-gz-semver2/stride.visualstudio.package/index.json 64ms
[19:11:27] Info: GET https://api.nuget.org/v3/registration5-gz-semver2/stride.visualstudio.package/index.json
[19:11:27] Info: OK https://api.nuget.org/v3/registration5-gz-semver2/stride.visualstudio.package/index.json 69ms
[19:11:36] Info: Restoring packages for StrideLauncher.json...
[19:11:36] Verbose: Restoring packages for .NETCoreApp,Version=v8.0...
[19:11:36] Debug: Package source mapping matches found for package ID 'StrideLauncher' are: 'nuget.org'.
[19:11:36] Debug: Package source mapping match not found for package ID 'Stride.GameStudio'.
[19:11:36] Verbose: Resolving conflicts for net8.0-windows7.0...
[19:11:36] Error: Unable to resolve 'Stride.GameStudio (>= 4.2.0.2381)' for 'net8.0-windows7.0'.
[20:07:08] Info: GET https://api.nuget.org/v3/registration5-gz-semver2/stride.gamestudio/index.json
[20:07:08] Info: OK https://api.nuget.org/v3/registration5-gz-semver2/stride.gamestudio/index.json 73ms
[20:07:08] Info: GET https://api.nuget.org/v3/registration5-gz-semver2/xenko.gamestudio/index.json
[20:07:08] Info: OK https://api.nuget.org/v3/registration5-gz-semver2/xenko.gamestudio/index.json 67ms
[20:07:08] Info: GET https://api.nuget.org/v3/registration5-gz-semver2/xenko/index.json
[20:07:08] Info: OK https://api.nuget.org/v3/registration5-gz-semver2/xenko/index.json 72ms
[20:07:11] Info: Restoring packages for StrideLauncher.json...
[20:07:11] Verbose: Restoring packages for .NETCoreApp,Version=v8.0...
[20:07:11] Debug: Package source mapping matches found for package ID 'StrideLauncher' are: 'nuget.org'.
[20:07:11] Debug: Package source mapping match not found for package ID 'Stride.GameStudio'.
[20:07:11] Verbose: Resolving conflicts for net8.0-windows7.0...
[20:07:11] Error: Unable to resolve 'Stride.GameStudio (>= 4.2.0.2381)' for 'net8.0-windows7.0'.

Exception

Could not restore package Stride.GameStudio
at Stride.Core.Packages.NugetStore.InstallPackage(String packageId, PackageVersion version, IEnumerable`1 targetFrameworks, ProgressReport progress)
at Stride.LauncherApp.ViewModels.PackageVersionViewModel.<>c__DisplayClass55_0.<b__0>d.MoveNext()

Metadata

Metadata

Assignees

No one assigned

    Labels

    manualRelated to manual documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions