I visited Surface SDK and it tells that it requires Visual Studio 2010/Express. I tried to install it with VS 2012 RC but it does not allow. Does surface sdk not support VS 2012 RC ? How can I use it with VS 2012 RC ?
相关问题
- VNC control for WPF application
- WPF Binding from System.Windows.SystemParameters.P
- XAML: Applying styles to nested controls
- How can I add a horizontal line (“goal line”) for
- How to properly change a resource dictionary
Install the SDK 2.0 Feb. 2012 Update on a box with Win 7 and Visual Studio 2010. Then create a Surface Project from the Template. Change the Main Surface Window ( I forget the class name. ) to inherit from Window instead of Surface Window if you want it to work on Windows 8. Of course doing this you will loose the input stack for Tags and stuff. Copy the Surface SDK redistributable Assemblies for the controls to a folder for future reference in new projects. You could Upgrade the project that you create with Visual Studio to VS2012. Create a template from there. Hope this points you in the right direction. I have not done it in a while and am writing from the top of my head. -Mark
you have to reference the following ddls:
Microsoft.Surface.Core.dll, Microsoft.Surface.dll, Microsoft.Surface.Presentation.Design.dll, Microsoft.Surface.Presentation.dll, Microsoft.Surface.Presentation.Generic.dll