Can I use Windows SDK in VS Code C#? - windows

Can I use Windows SDK in VS Code C#? If Yes then how?
I want to use Windows.Graphics.Capture namespace to do a screenshot.

Related

Does Windows 8 Desktop support c++/cli?

I found some information regarding Windows 8 Metro and c++/cli. Windows 8 Metro does not support c++/cli.
However I am having trouble finding explicit documentation that states whether Windows 8 Desktop supports c++/cli (the linked question is not explicit enough IMO). Does Windows 8 Desktop support c++/cli?
Please make sure to provide a link to your relevant source.
Windows 8 does not support C++/CLI.
It is the other way around, the support does not come from the Windows team (they did not ship a compiler) but from the Visual Studio team. Each Visual Studio version has a list of supported platforms that your application can target if you use that version of Visual Studio to build your app.
So does Microsoft support writing C++/CLI apps for Windows 8 Desktop? The answer is yes if you use the right version of Visual Studio*. Does the support come from Windows? The answer is no.
*You can continue test and provide support to your customers even without Microsoft's support to you, for example you can write C++/CLI code in Notepad then compile it using the cl.exe from VS2012 Express for Windows 8. There's really nothing to prevent this use case to work, despite Microsoft's statement that VS2012 Express for Windows 8 does not support desktop development (and I don't think there's any reason why Microsoft should provide support on this use case with VS2012 Express for Windows Desktop out there) .
The Windows 8 Desktop supports everything that Windows 7 supported. C++/cli included. There really isn't much that talks about this, but here is a link to VS 2012 support for C++/cli which implies the same thing.

Windows 8 Metro Style Desktop Applications?

Windows 8 had released! I want to create a metro style DESKTOP application like GitHub-for-Windows(http://windows.github.com/).How can I develop this kind style? WPF,WinForm or others.
Does Microsoft supply solutions for Desktop Metro applications at Visual Studio 2012?
Have a look at Mahapps.Metro
It is exactly for what you want.
I have used it and I found it very easy to get in to.
EDIT
You could also have a look at the more recently released Modern UI for WPF
I'm not sure if this is the right forum for this. But anyway, you can check this out
Microsoft does provide Visual Studio Express for Windows 8.

how to add a reference to the system.data.SQLite.dll to the windows phone 7

I'm new to windows phone 7, please help me with this query.
I want to add a SQLite database in windows phone 7. I downloaded the system.data.SQLite.dll
from sourceforge(www.sqlite.org). i add it as a reference in windows phone 7 visual studio 2010 express for windows phone. But, it show a error message that, System.Data.SQLite.dll is not built using windows
phone runtime.
I suppose you downloaded a wrong .dll. ( for c# .net, and not silverlight).
If you want, you have a great tutorial for using SQLite in your WP7 apps, explains how to use SQL (tutorial uses sqliteClient )

dll built with visual studio 2010 / windows 7 => usable on Windows 6?

Question from a Linux/Mac developer: I have compiled a 32-bit .dll (release flavor) under Windows 7 using Visual Studio 2010. Should this .dll be usable under all flavors of Windows 6 (a.k.a. Vista, if I'm not mistaken)?
Many thanks and RTFMs appreciated,
John Clements
In general: yes.
All current versions of the .Net framework run on both Vista and Win7.
Note that if you make calls into the native platform, either directly or via the Windows API Code Pack, you could have portability problems if you use functions available only in Win7. But for just straight .Net development, you should have no issue in running on any supported version of Windows.
Yes, the dll format didn't change for Windows 7. Only thing to remember is that if it's a .Net dll, the target system must have the proper .Net installed or the appropriate C/C++ runtime.
You're supposed to #define the _WIN32_WINNT macro to tell what version of Windows you want to support. The default in the SDK that ships with VS2010 is 0x600 which avoids you ever linking to an API function that is not available in Vista. So, yes, you're probably good to go.

Can I use Enterprise LIbrary while developing Windows application and how?

Can I use Enterprise library while developing Windows application and how?
Suggest you download and run the samples.

Resources