12-23-2020 01:30 PM
Hi team,
I am very very new to NI and C#. Please advice what should I do to make the
C:\Users\Public\Documents\National Instruments\TestStand 2019 (64-bit)\Examples\Modifying User Interfaces\Building a TestStand UI with Native Controls\DotNet
work in Visual Studio Code
Error Message:
Determining projects to restore...
Nothing to do. None of the projects specified contain packages to restore.
C:\Program Files\dotnet\sdk\5.0.101\Microsoft.Common.CurrentVersion.targets(1180,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.5 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [C:\Users\ngupta\DotNet\TestStand UI with Native Controls.csproj]
Version:
.NET SDK
.NET SDK (reflecting any global.json):
Version: 5.0.101
Commit: d05174dc5a
Runtime Environment:
OS Name: Windows
OS Version: 10.0.18363
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\5.0.101\
Host (useful for support):
Version: 5.0.1
Commit: b02e13abab
.NET SDKs installed:
5.0.101 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 5.0.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 5.0.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download
Visual Studio Code
Version: 1.52.1 (system setup)
Commit: ea3859d4ba2f3e577a159bc91e3074c5d85c0523
Date: 2020-12-16T16:34:46.910Z
Electron: 9.3.5
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.18363
12-30-2020 09:47 AM
These examples were written for Visual Studio - not Visual Studio Code. Try it with Visual Studio Pro, Enterprise, or Community.
Hope this helps!
Trent
01-04-2021 07:00 AM
Hi Thanks for replying.
Just a quick conclusion.
The setup requires Visual Studio.
Do I need any particular plugin or SDK with it?
Thanks,
Neha