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

MIssing DLL for Restart ?? #274

Open
sjb-sjb opened this issue Dec 8, 2022 · 1 comment
Open

MIssing DLL for Restart ?? #274

sjb-sjb opened this issue Dec 8, 2022 · 1 comment

Comments

@sjb-sjb
Copy link

sjb-sjb commented Dec 8, 2022

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

@sjb-sjb
Copy link
Author

sjb-sjb commented Dec 10, 2022

I didn't figure out the cause of this but I got it to go away by copying the code into a fresh project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant