Websoft9Archive / solution-plcnext

0 stars 0 forks source link

error MSB3644: 找不到 .N TFramework,Version=v4.0 when FROM windowsservercore image #7

Closed chendelin1982 closed 2 years ago

chendelin1982 commented 2 years ago
C:\minVS\MSBuild\Current\bin\Microsoft.Common.CurrentVersion.targets(1217,5): error MSB3644: 找不到 .N TFramework,Version=v4.0 的引用程序集。要解决此问题,请为此框架版本安装开发人员工具包(SDK/目标包)或者重新定向应用程序。可在 https://aka.ms/msbuild/developerpacks 处下载
.NET Framework 开发人员工具包 [C:\solution\IIoT_Library.cs
chendelin1982 commented 2 years ago

Try to install .net4.0, but can't solve it

chendelin1982 commented 2 years ago

The final solution: --add Microsoft.VisualStudio.Workload.NativeDesktop