windows core iot dll - windows

I want to controll a robot arm with a raspberry pi running windows 10 iot. There is a dll to controll the arm. In the documentation of the dll it says that a .NET 2.0 framework is required. Is it possible to use the dll in my application for the windows core iot?

For Windows 10 IoT Core you create apps to do such things using the Universal Windows Platform (UWP) framework. This uses .Net Core. Not the full framework.
Check the latest version of the assemblies you require.
https://www.microsoft.com/net/core

Related

What are the PC hardware requirement for developing Cross Platform Applications using .Net MAUI

I wants to develop cross platform application using .NET MAUI, May I know what will be the PC hardware requirement(Like RAM, Windows Version etc..) to developing Cross Platform Applications using .NET MAUI
Look here https://visualstudio.microsoft.com/vs/preview/
Click: selecting just the componenst needed
In Step 1 ,Check the system requirements.
Here you see what you need for 2022 version. https://learn.microsoft.com/en-us/visualstudio/releases/2022/system-requirements
For Mac https://learn.microsoft.com/en-us/visualstudio/mac/installation?view=vsmac-2022

How to run normal windows .exe in raspberry PI running Windows IOT core

I am very much new to windows core platform.
i have developed a console application in my normal windows 10 host machine using visual studio 2015 and it is working like a champ in local machine using intel(I5/I7) Processors.
Now i have to move my application to PI running windows IOT core. i did xcopy of my files and trying to run using power shell of my windows host machine but thing is.. i could not able to run my application and getting below error message.
why my application is not running in PI? In fact my application is compiled for X86 platforms for intel processors. is this the really cause?? if so how do i compile my source code to target for ARM processors. please let me know the workaround. thanks in advance.
That doesn't look like an architecture mismatch, it looks like a .NET Framework mismatch. (Your code must be AnyCPU, because none of the other options would run both on Intel and also on ARM, and clearly your code is starting to run)
The exception occurs inside log4net, one of the libraries you use. You will have to find a version of log4net that works on that .NET Framework version, or remove that library and find a different way to generate logs.
Windows IoT Core supports UWP and non-UWP app. IoT Core is a UWP centric OS and UWP apps are its primary app type.Universal Windows Platform (UWP) is a common app platform across all version of Windows 10, including Windows 10 IoT Core.
In addition to the traditional UI apps, IoT Core has added a new UWP app type called "Background Applications". These applications do not have a UI component, but instead have a class that implements the "IBackgroundTask" interface.
IoT Core supports certain traditional Win32 app types such as Win32 Console Apps,but only C++ is supported for developing Win32 apps on IoT Core.
If you open powershell and CD into the solution project folder
To compile your code for raspberry pi, you need to compile it using win-arm as target
You can issue one of the commands:
dotnet publish -c Debug -r win-arm
dotnet publish -c Release -r win-arm
It will then compile it into the bin folder relative to the publish profile you have chosen
'..\bin\Debug\netcoreapp2.0\win-arm\publish'
Copy all the content of the publish folder into a directory of choice on the raspberry pi.
This will be able to run a simple .NET Core console app on a raspberry pi running Windows IoT Core

32-bit support Kinect 2 SDK?

I am developing an application that will use the Kinect v2 on Windows with OpenNI 2, but needs to be 32-bit because it also uses a different 32-bit library.
I've installed the 32-bit version of OpenNI 2 but can't find a 32-bit version of the Kinect 2 SDK.
Can you build a 32-bit application against Kinect 2 libraries?
Yes, you can. I built the OpenNI2-Kinectv2-driver, which uses the Kinect v2 SDK, as a 32-bit DLL and it works fine. So you can use the Kinectv2 SDK in your 32bit application.
But you will still need a 64bit system to run your 32bit application, because the Kinect v2 itself is not supported on 32bit systems.

Accessing Windows 8 libraries in VS2012 on Windows 7

Running VS2012 Pro on Windows 7 Pro, I need to develop a desktop application for a Windows 8 environment (this is NOT a metro-style interface). What I can't figure out is how to reference the Windows 8-specific libraries (for instance, Windows.Media.Capture). I've downloaded and installed the Windows 8 SDK, but when I try to add a reference to a Windows 8 library, nothing is available in either the Framework or Extensions list.
Any ideas? or am I stuck with having to move to Windows 8 on my development system?
Thanks.
You can develop a .NET 3.x or 4.x app on Windows 7 and run it on Windows 8 in desktop mode just fine. You can also create a C++ app that targets Win32 and run it on the Windows 8 desktop just fine. However, you cannot reference any assemblies on Windows 7 that have runtime dependencies on WinRT APIs. Windows.Media.Capture and the classes contained within (such as CameraCaptureUI) are WinRT APIs and cannot be used on Windows 7. Even if you had Windows 8, very very few WinRT APIs can be called from desktop applications. The Windows.Media.Capture APIs can only be used from a Windows Store (formerly Metro) app.
Dev support, design support and more awesome goodness on the way: http://bit.ly/winappsupport

Windows RT .NET compatibility

I just need to know if I need the same framework to develop an app for Windows 8 for Tablets (Windows RT) and PCs or the tablet one still uses .NET compact framework.
The only type of applications that run on Windows RT (ie. the Tablet/ARM version of Windows 8) are Windows Store Apps. These are full-screen applications that run on top of the WinRT API.
You can use a subset of .NET 4.5 on these devices, and use XAML to build your interface just like you would with WPF on the desktop.
You can read more on MSDN - .NET for Windows Store apps overview. This article describes a lot of the changes between the main version of .NET and the Windows RT subset that's available to you. Generally, Windows.Runtime will provide alternatives to some of the .NET methods that no longer exist.
http://www.infragistics.com/community/blogs/nick-landry/archive/2012/06/19/developing-apps-for-microsoft-surface-windows-8-windows-rt-and-windows-phone.aspx
here are all the info about that
As for the .Net compatibility, the .NET for Windows Store apps link states that the a lighter version of the .Net Framework (aptly called ".NET for Windows Store apps") will be available in Windows RT and so the available APIs too will be a subset of those available in the Full Desktop Version of the Framework. Eg. In Windows RT, Windows Forms will not be availble.
You can also create a Portable Class Library project to develop a .NET Framework library that can be used from a Windows Store app. The project must include .NET for Windows Store apps as one of the target platforms. This is useful when you want to build functionality that can be used from apps for different platforms, like Windows Phone app, desktop app, and Windows Store app.
Dev Center - Windows Store apps is the best (and official) place to get started.

Resources