microsoft / microsoft/WindowsAppSDK-Samples
MIssing DLL for Restart ??
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 1k
- Forks
- 335
- Avg merge
- 5d 1h
- Merged PRs (30d)
- 8
Description
I downloaded the Samples and built the Restart / cs-winui-packaged project. But it could not deploy, I got a message saying that a dll could not be copied, Microsoft.Windows.ApplicaitonModel.DynamicDependency.Projection.dll.
The directory is there, it's the DLL that's missing. Where is it supposed to come from?
What am I missing, do I need a nuget package of some kind?
Exact message is:
Error DEP1000: Cannot copy file "C:\Users\steve.nuget\packages\microsoft.windowsappsdk\1.2.221109.1\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.DynamicDependency.Projection.dll" to layout "C:\Users\steve\OneDrive\Documents\VS Projects\WindowsAppSDK-Samples-main\Samples\AppLifecycle\Restart\cs-winui-packaged\cs-winui-packaged\bin\x64\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Windows.ApplicationModel.DynamicDependency.Projection.dll". DirectoryNotFoundException - Could not find a part of the path 'C:\Users\steve\OneDrive\Documents\VS Projects\WindowsAppSDK-Samples-main\Samples\AppLifecycle\Restart\cs-winui-packaged\cs-winui-packaged\bin\x64\Debug\net6.0-windows10.0.19041.0\win10-x64\AppX\Microsoft.Windows.ApplicationModel.DynamicDependency.Projection.dll'.
[0x80070003] cs-winui-packaged
Thanks
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 building and deploying Samples/AppLifecycle/Restart/cs-winui-packaged, then inspect its Microsoft.WindowsAppSDK package reference and the reported bin/x64/Debug/net6.0-windows10.0.19041.0/win10-x64/AppX output path. Compare that output with the package path containing Microsoft.Windows.ApplicationModel.DynamicDependency.Projection.dll. Done means the sample deploys without DEP1000 or DirectoryNotFoundException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100