Windows IOT Getting error when deploying related to connecting - iot

I have two Rasberry-pi devices. I installed Windows 10 IOT in that, but there are a couple of issues I am having.
The first issue i got when I try to connect the Rasberpi with VS2019 to deploy my app is giving this error
Severity Code Description Project File Line Suppression State
Error DEP6100: The following unexpected error occurred during bootstrapping stage 'Connecting to the device '192.168.1.16'.': FileLoadException - Could not load file or assembly 'Microsoft.Tools.Connectivity, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A) [0x8013141A] App13
My devices are showing on the IoT dashboard and able to open browser it is working.
The issue I am having when trying to remote the client just showing black screen

I have not encountered this error before. Please confirm if the tool is installed. This component is used for cross platform deployment. Or you may try to to reinstall the visual studio 2019.
From Windows IoT Core 16299, the Windows IoT Remote client does not work for Raspberry Pi.It is known issue on Release note.
Update:
I have tried to find out the Microsoft.Tools.Connectivity. It exists in folder C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x86. Please make sure you have installed the correct version of Windows Kits. Please download the sdk here.
enter link description here

Related

Could not load file or assembly 'sapnco' or one of its dependencies. - error after publishing

We have implemented SAP connectivity project using .NET Web Application. We used 2 dlls SAPnco.dll, sapnco_utils.dll.
When we try to run this application in visual studio 2019 it is working fine, But after publishing the project IIS (localhost), it is throwing below Error.
We tried by enabling to 32bit, 64 bit in Visual Studio, but we are getting same error. We also enabled 32 bit in DefaultApplicationPool, but issue still exists. Can anyone please help me out to resolve.

Cannot create Q# Quantum Application in Visual Studio

I'm going to create Q# application for the first time. I installed the "Microsoft Quantum Development Kit" and I have .not core 3.1.301 (the latest)
I use VS 2019 Community Edition.
In VS, I see the Q# Application when creating new solution but when I try to create , I get below error:
The project file cannot be opened by the project system, because it is
missing some critical imports or the referenced SDK cannot be found.
Detailed Information: The SDK resolver "NuGetSdkResolver" failed to
run. Unable to find fallback package folder
'C:\Microsoft\Xamarin\NuGet\'.
C:\Program Files\dotnet\sdk\3.1.301\Sdks\Microsoft.Quantum.Sdk\Sdk not
found. Check that a recent enough .NET Core SDK is installed and/or
increase the version specified in global.json.
I could not find any solution over the web.
The Quantum.SDK is not distributed with the extension, instead is downloaded the first time you try to build/create the Q# application.
Looks like Visual Studio is having problems downloading it using NuGet. I can think of two reasons:
1. You are not connected to the internet, so it can't connect to nuget.org to download the package
2. The error points to a missing "C:\Microsoft\Xamarin\NuGet\", I would suggest creating this folder.

FileLoadException Access is denied when running Docker Compose project in Visual Studio 2019

I have a multi-project solution using Docker Compose that I work on in Visual Studio 2019 using .NET Core 2.2. Until this morning it has worked fine. All of a sudden I'm getting the following error when I try and run the project.
An unhandled exception of type 'System.IO.FileLoadException' occurred in Unknown Module.: 'Could not load file or assembly 'Microsoft.AspNetCore.Hosting.Abstractions, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. Access is denied.'
There have been a couple of Windows updates in the last day or so (KB4540673 and KB4537572). I believe this is a Visual Studio issue as I ran the project using Docker Compose directly from the command line and it worked fine. It also worked fine when I tested a deployment to a staging environment. I've tried the following:
Update Visual Studio
Repair Visual Studio
Uninstall/Reinstall Visual Studio
Uninstall/Reinstall Docker
Removed/Re-added shared drive in Docker
Removed/Reinstalled .NET Core SDK 2.2
A few other things I'm forgetting
Any thoughts on what might be causing this or what else I can try?
I had the same problem.
After uninstalling docker desktop 2.2.0.4 and installing 2.2.0.3 the problem disappeared. (Burned me one day...)

Can't load a .deployproj file in Visual Studio for Mac

Visual Studio Error Message Screenshot
I'm using Visual Studio for Mac. All the investigation I've done so far says that it comes with everything necessary to work with Azure. However, every time I try to open a solution that contains a project with the extension ".deployproj" I keep getting an error message saying:
Error while trying to load the project '/Users/marco/Documents/sync1.nosync/Sync1.LOS/src/Sync1.LOS.Azure/Sync1.LOS.Azure.deployproj': Unknown solution item type
From what I can read about Azure projects, Visual Studio needs the Azure Development tools and it is included in the installer, but this is for Windows. Visual Studio for Mac installer includes .Net Core, packages for Android, Xamarion, iOS among others. What I've read is that it includes the necessary tools for Azure, but I still have this issue.
Any idea would be greatly appreciated.

DNX design time error - System cannot find file specified

When i try to run the ASP NET 5 solution, i get below error.
Microsoft Visual Studio Error
The following error occurred attempting to run the DNX design time process (dnx-clr-win-x86.1.0.0-beta8).
The system cannot find the file specified.
The DNX design time process provides intellisense, build, and reference information to Visual Studio and without it your experience will be very limited. Please try closing and reopening Visual Studio to see if that corrects the problem. Alternatively, check that the DNX version is properly installed or try changing to a different installed DNX version using the project property pages.
The project is not finding DNX SDK (if you look at the project properties you may see an empty drop-list next to 'Solution DNX SDK version').
If you are on windows 7, I suspect you may have an old version of powershell installed. You need at least version 3.0.
See this answer on a similar issue:
https://stackoverflow.com/a/31549273/299529

Resources