stride3d / stride3d/stride

[Launcher] Update conflict with locally compiled version

Open
#402 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-Launcher bug
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

Release Type:
official vs. locally compiled

Version:
beta02-527 vs. locally compiled beta02

Platform(s):
windows

Describe the bug
exception dialog on update to latest beta

To Reproduce
Steps to reproduce the behavior:

  1. compile xenko locally from master, set version to beta02
  2. download lastest official beta via launcher

Expected behavior
launcher takes care of installing a specific version of the nuget packages, regardless of what is already in the nuget cache. to download the packages the nuget install command should probably use the -source nuget.org argument to ignore the local package sources.

Log and callstacks

An error occurred while installing version 3.1.0.1-beta02-0527.
Unable to find package Xenko.Core.MicroThreading with version (>= 3.1.0.1-beta02-0527)
•	Found 2 version(s) in Xenko Dev [ Nearest version: 3.1.0.1-beta02 ]
•	Found 0 version(s) in VL.Xenko Dev
•	Found 0 version(s) in VL Dev
•	Found 0 version(s) in Microsoft Visual Studio Offline Packages
•	Found 0 version(s) in vvvv Package source
•	Found 0 version(s) in nuget.org
•	Found 0 version(s) in Xenko
Could not restore package Xenko.GameStudio at Xenko.Core.Packages.NugetStore.<InstallPackage>d50.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Xenko.LauncherApp.ViewModels.PackageVersionViewModel.<>cDisplayClass550.<<Download>b_0>d.MoveNext()

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Xenko.LauncherApp.ViewModels.PackageVersionViewModel and the Xenko.Core.Packages.NugetStore installation path shown in the stack trace. Reproduce the update after compiling beta02 locally, then inspect how the launcher resolves package versions and sources. Done means the official beta installs successfully despite the locally cached package.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.