Click here to Skip to main content
15,509,982 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hello,

I am working on project and I need to add WIndows.Foundation.Collection and Windows.UI.XAML. But Visual Studio cannot find those dlls.

The project which I am working on is simple game and it's from book.The example correspond to the VS2012, I use VS2015.

What I have tried:

I tried to add downloaded file Windows.UI.Xaml.dll, but I get error:
File could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component.

The way I tried it was by reference manager.
Posted
Updated 9-May-18 12:12pm

1 solution

Instead WIndows.Foundation.Collection and Windows.UI.XAML I used:
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Windows.Foundation;
using System.Xaml;
using System.Windows.Media.Animation;
using System.Windows.Input;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Media;
using System.Windows.Navigation;
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900