Код: Выделить всё
2>bim_vision_sdk\exmaples .NET\vs_2019\packages\UnmanagedExports.1.2.7\tools\RGiesecke.DllExport.targets(58,3): error MSB4061: The "DllExportAppDomainIsolatedTask" task could not be instantiated from "bim_vision_sdk\exmaples .NET\vs_2019\packages\UnmanagedExports.1.2.7\tools\RGiesecke.DllExport.MSBuild.dll". Could not load file or assembly 'RGiesecke.DllExport.MSBuild, Version=1.2.7.38851, Culture=neutral, PublicKeyToken=8f52d83c1a22df51' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
2>bim_vision_sdk\exmaples .NET\vs_2019\packages\UnmanagedExports.1.2.7\tools\RGiesecke.DllExport.targets(58,3): error MSB4060: The "DllExportAppDomainIsolatedTask" task has been declared or used incorrectly, or failed during construction. Check the spelling of the task name and the assembly name.
- Перестроить решение в Visual Studio 2022 (принудительно обновиться до .NET 4.8)
- Пересоберите решение в Visual Studio 2019 (это позволяет использовать .NET 4.0, как и предполагалось в примере)
- Загрузите MSBuild 2015 и восстановить его
- Пытаюсь собрать на рабочем компьютере
- Пытаюсь собрать на старом ноутбуке, на котором установлен VS2019
Подробнее здесь: https://stackoverflow.com/questions/793 ... port-error
Мобильная версия