-
Notifications
You must be signed in to change notification settings - Fork 263
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
Can not build on Windows 10 with VS2017 #836
Comments
Please check the compile instructions here: https://github.com/digimezzo/Dopamine |
I've done what the instruction tells, but I still have the errors: 'Media' does not exist in the namespace 'Windows', I'm using Windows 10 (1803) and VS 2017. |
Do you have this file on you computer?
If not, please check that you copied it to that location manually (see the compile instructions). |
Sorry for keep bothering you. I'm sure that I've done what your instructions tell. Let me ask your environments:
|
No problem. sorry for insisting :) My Windows and VS version are exactly the same as yours. Let's check the "Windows" dependency in the main Dopamine project: It is probably broken, like in the picture (I'm getting this error also when the Windows.winmd file is not in the expected location). and browse to the Windows.winmd file. That should fix the reference If that works, I'll add it to the compile instructions. |
It works!! |
The Windows.winmd file shoule be located at 'C:\Program Files (x86)\Windows Kits\10\UnionMetadata', it's the reason, thanks! |
In my computer, Windows.winmd file is in "C:\Program Files (x86)\Windows Kits\8.1\References\CommonConfiguration\Neutral\Annotated" directory. I should copy it to “C:\Program Files (x86)\Windows Kits\10\UnionMetadata”. I hope this could help others. |
I'm submitting a...
I'm using these versions
Reproduction steps
Observed behavior
Severity Code Description Project File Line Suppression State
Error CS0234 The type or namespace name 'Media' does not exist in the namespace 'Windows' (are you missing an assembly reference?) Dopamine D:\Player-projects\C#-Players\Dopamine-projects\Dopamine\Dopamine\Services\Notification\LegacyNotificationService.cs 11 Active
Desired behavior
Log file
The text was updated successfully, but these errors were encountered: