Stride.Core.Shaders.dll access denied when running local build from launcher
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 7.8k
- Forks
- 1.2k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 49
Description
Release Type: Official Release/GitHub (please choose appropriate option)
GitHub
Version: Version number and/or git branch
4.0.0.1-beta04
Platform(s): Does the problem occur on Windows, Android...?
Windows
Describe the bug
Access denied exception on "Stride.Core.Shaders.dll" occurs when running a local build from the launcher. I suspect it could be the stride visual studio plugin, which has a hold on the file. But not 100% sure.
To Reproduce
Steps to reproduce the behavior:
1.
Expected behavior
Editor starts normally.
Log and callstacks
Error restoring NuGet packages!
==== Exception details ====
System.AggregateException: Mindestens ein Fehler ist aufgetreten. ---> System.UnauthorizedAccessException: Der Zugriff auf den Pfad "Stride.Core.Shaders.dll" wurde verweigert.
bei System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
bei System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
bei NuGet.Packaging.PackageExtractor.<>c__DisplayClass5_0.<<InstallFromSourceAsync>b__0>d.MoveNext()
Additional context
Add any other context about the problem here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Windows local build from the launcher and inspect the NuGet restore failure involving Stride.Core.Shaders.dll. Check whether the Visual Studio plugin or another process holds the DLL; the issue is done when the editor starts normally without the access-denied exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100