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

Systray extension - reference to winmd files can be simplified #91

Open
hansmbakker opened this issue Jul 27, 2019 · 2 comments
Open

Systray extension - reference to winmd files can be simplified #91

hansmbakker opened this issue Jul 27, 2019 · 2 comments
Assignees

Comments

@hansmbakker
Copy link

hansmbakker commented Jul 27, 2019

Nice article on the Systray extension with UWP!

I found that with the Microsoft.Windows.SDK.Contracts nuget packages you do not need to reference the winmd files anymore, which makes your code cleaner.

Please refer to https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/desktop-to-uwp-enhance.

@wickste
Copy link
Member

wickste commented Jul 27, 2019

@hansmbakker Agreed - thanks for the suggestion! Assigning to @vladimp as I have moved teams.

@ali-h2010
Copy link

@hansmbakker Thanks for the great shortcut but i am still getting and error

Metadata file System.Runtime.WindowsRuntime.dll' could not be found

Metadata file System.Runtime.WindowsRuntime.UI.Xaml.dll' could not be found

Full Error:

Error	CS0006	
Metadata file 'C:\..\Downloads\UWP Systray\UWP Systray\packages\System.Runtime.WindowsRuntime.4.6.0-preview9.19421.4\ref\netstandard1.2\System.Runtime.WindowsRuntime.dll' could not be found
Error	CS0006	
Metadata file 'C:\...\Downloads\UWP Systray\UWP Systray\packages\System.Runtime.WindowsRuntime.UI.Xaml.4.6.0-preview9.19421.4\ref\netstandard1.1\System.Runtime.WindowsRuntime.UI.Xaml.dll' could not be found

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

4 participants