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

Windows.ApplicationModel, Windows.Foundation, Windows.Management.Deployment UWP references #5

Open
PoLaKoSz opened this issue May 14, 2018 · 1 comment

Comments

@PoLaKoSz
Copy link

Hi!

First I want to say this app is awesome. 😄
When I try to build the project I get a few reference error in the W1_WinApps.xaml.cs here:

using Windows.ApplicationModel;
using Windows.Foundation;
using Windows.Management.Deployment;

The type or namespace name 'Windows' could not be found (are you missing a using directive or an assembly reference?)

References

I tried to Google this Windows dll but could not find any working solution. Can somebody help me? Thank You!

@PoLaKoSz PoLaKoSz changed the title Unable to Build properly Windows.ApplicationModel, Windows.Foundation, Windows.Management.Deployment UWP references May 17, 2018
@PoLaKoSz
Copy link
Author

PoLaKoSz commented May 17, 2018

Cause of this problem:

Inside the XTR_Toolbox.csproj file there is this section:

<Reference Include="Windows">
  <HintPath>..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\UnionMetadata\Windows.winmd</HintPath>
</HintPath>
</Reference>

I changed to this:

<Reference Include="Windows">
  <HintPath>C:\Program Files (x86)\Windows Kits\10\UnionMetadata\Windows.winmd</HintPath>
</Reference>

If you don't have this path you need to install UWP first!

I don't close this issue because I think this should be fixed properly somehow.

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