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

It does not work, strange error #336

Closed
MoawwizAhmed opened this issue Mar 16, 2018 — with docs.microsoft.com · 6 comments
Closed

It does not work, strange error #336

MoawwizAhmed opened this issue Mar 16, 2018 — with docs.microsoft.com · 6 comments
Assignees

Comments

Copy link

I tried using this method and i had added winmd and windows.runtime.windowsruntime.dll using this link,https://blogs.windows.com/buildingapps/2017/01/25/calling-windows-10-apis-desktop-application/
, i need to use the graphics library for brightness override and it requires systemManagement capability but as soon as i add packaging project , the solution will not build , it does not display the error , on warning on capabilities. squiggly on systemmanagement or <rescap:Capability Name="runFullTrust" />. I need help .


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Copy link
Author

i am using it for Wpf project .

Copy link
Author

anyone?

@normesta
Copy link
Contributor

Hello. Please have a look at the guidance in this topic - https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-enhance. It contains guidance about what sort of references you'll need to have to call Windows 10 APIs.

Copy link
Author

Thanks for your help, now packaging project works on my other projects, but the project that i want to use it for has to use a dll file that is built on c++, and i am still getting errors on that project when i build packaging project. Is there anything that i can do ?

@normesta
Copy link
Contributor

Hello - this stack post looks like it might help with this issue - https://stackoverflow.com/questions/48754557/packaging-winforms-application-along-with-native-dll.

Copy link
Author

I will try that , thanks.

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

2 participants