I am trying to create a classic desktop application for Windows 10 in C# that will be able to talk to BLE devices. I followed the instructions (Bluetooth 4.0 (low energy) API for windows desktop C# application) and added the tag to the project file
<TargetPlatformVersion>10.0.10156</TargetPlatformVersion>
and reloaded the project. I am given access to the Windows namespace only: references dialog
I don't know what I did in one of my testings, but once that list got populated with a whole lot of other namespaces, giving me the ability to check Windows.Devices namespace, which is essential for my project. I can now add the Windows.Devices via Recent option, but can not add any other namespace...
Do you guys have any idea what should I do to access the list of all Windows.x.y namespaces?
The location of the Desktop folder in most versions of Windows is %USERPROFILE%\Desktop , which for most users becomes C:\Users\YOURUSERNAME\Desktop .
Often when opening the command prompt window, you automatically be placed in the (username) directory. Therefore, you only need to type cd desktop to get into the desktop. If you're in any other directory, you would need to type cd \docu~1\(username)\desktop to get into the desktop.
A desktop is a computer display area that represents the kinds of objects one might find on top of a physical desk, including documents, phone books, telephones, reference sources, writing and drawing tools, and project folders.
To access Windows.Devices
and other WinRT API's from .NET Framework code,
Microsoft.Windows.SDK.Contracts
to the projectpackages.config
, select Migrate packages.config to PackageReference...)If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With