windows-iot-core-10

How to create windows 10 iot core application icon

廉价感情. 提交于 2019-12-11 07:39:55
问题 I have created an windows 10 iot core application and i created the app bundle in appx format. That's installing properly in windows 10 machine. But i want to install in IOT core board The package file which i have created like below: ABC_1.0.9.0_AnyCPU_Debug.appxbundle I have created through visual studio 回答1: You can follow this tutorial to create the the appxbundle. Then in the windows iot device portal, select add button to install your app like this: After that, you will see this Dialog:

Raspberry Pi 3 running Windows 10 Core with custom program shows crossed-out x

梦想的初衷 提交于 2019-12-11 04:46:45
问题 I have a very simple project, in which I aim to be able to toggle an LED by means of a direct method call (through Azure IoT hub) on my Raspberry Pi 3, running Windows 10 IoT Core. In it's current state, the program I wrote shows only a white box with an x in it, not unlike a mail envelope, and the back end light-controlling code does not respond to direct method calls. However, when connected to a Visual Studio 2017 remote debugger, the code behind the UI seems to run perfectly fine (or so I

Unable to open UART port on Windows IoT with Raspberry Pi 3

心不动则不痛 提交于 2019-12-04 06:02:25
问题 I have null in the serial port after I open the SerialDevice in C# on Windows IoT Core 10 running on Raspberry Pi 3. Here is the code: string aqs = SerialDevice.GetDeviceSelector(); DeviceInformationCollection devices = await DeviceInformation.FindAllAsync(aqs); List<DeviceInformation> list = devices.ToList(); DeviceInformation di = list.First(); serialPort = await SerialDevice.FromIdAsync(di.Id); serialPort is null . di.Id equals: Id "\\\\?\\ACPI#BCM2836#0#{86e0d1e0-8089-11d0-9ce4

Entity Framework Core on Windows IoT running on a RPi 3 (Console Application)

妖精的绣舞 提交于 2019-12-02 11:47:15
问题 I successfully deployed a .NET Core Console Application to my Windows IoT running on a Raspberry Pi 3. The application pulls data from a webservice and stores them in a database. I used Entity Framework Core for that. When I start the deployed console application (.exe) through the remote powershell everything works except the access to my database running on Azure. When the application tries to read from the database it throws the following exception: System.TypeInitializationException: The

Entity Framework Core on Windows IoT running on a RPi 3 (Console Application)

て烟熏妆下的殇ゞ 提交于 2019-12-02 03:48:50
I successfully deployed a .NET Core Console Application to my Windows IoT running on a Raspberry Pi 3. The application pulls data from a webservice and stores them in a database. I used Entity Framework Core for that. When I start the deployed console application (.exe) through the remote powershell everything works except the access to my database running on Azure. When the application tries to read from the database it throws the following exception: System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.TdsParser' threw an exception. ---> System

UWP C# Add Button Dynamically and Organizing On StackPanel

为君一笑 提交于 2019-11-29 17:38:46
I understand there are a few post asking about adding buttons dynamically but I could not find out how to organize them on the stackpanel . I have no issue adding new buttons but is there any way to organize them in column and row? <Grid Margin="400,0,0,0"> <StackPanel x:Name="stackpanel"> <Button x:Name="Button" Height="30" Width="100" Content="Button" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="20,20,0,0" Click="Button_Click"/> </StackPanel> </Grid> private void Button_Click(object sender, RoutedEventArgs e) { Button b = new Button(); ; stackpanel.Children.Add(b); b.Content =

Failed to connect to device '192.168.1.17' using Universal Authentication

﹥>﹥吖頭↗ 提交于 2019-11-28 14:41:12
I try to deploy WPA application to Windows IoT core 10 from Visual Studio 2015. When I try to deploy, I get error: Failed to connect to device '192.168.1.17' using Universal Authentication. Please verify the correct remote authentication mode is specified in the project debug settings. 0x89740016: Exception from HRESULT: 0x89740016 If I change Auth Mode to none, I get error: Unable to connect to the Microsoft Visual Studio Remote Debugger named 'minwinpc'. The Visual Studio 2015 Remote Debugger (MSVSMON.EXE) does not appear to be running on the remote computer. This may be because a firewall

UWP C# Add Button Dynamically and Organizing On StackPanel

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-28 11:42:27
问题 I understand there are a few post asking about adding buttons dynamically but I could not find out how to organize them on the stackpanel . I have no issue adding new buttons but is there any way to organize them in column and row? <Grid Margin="400,0,0,0"> <StackPanel x:Name="stackpanel"> <Button x:Name="Button" Height="30" Width="100" Content="Button" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="20,20,0,0" Click="Button_Click"/> </StackPanel> </Grid> private void Button_Click

Failed to connect to device '192.168.1.17' using Universal Authentication

Deadly 提交于 2019-11-27 08:53:38
问题 I try to deploy WPA application to Windows IoT core 10 from Visual Studio 2015. When I try to deploy, I get error: Failed to connect to device '192.168.1.17' using Universal Authentication. Please verify the correct remote authentication mode is specified in the project debug settings. 0x89740016: Exception from HRESULT: 0x89740016 If I change Auth Mode to none, I get error: Unable to connect to the Microsoft Visual Studio Remote Debugger named 'minwinpc'. The Visual Studio 2015 Remote