I’m trying to build Mission Planner from Github code using Visual Studio 2022 v17.7.6. I installed VS using configuration suggested in README.md and executed the steps as follow:
- Install submodules using
git submodule --init --recursive
- Remove
WindowStore
project from the solution - Build GDAL.NET project
- Build MissionPlanner project
The MissionPlanner build failed with the following error:
The command "copy D:\Work Projects\MissionPlanner\\ExtLibs\System.IO.Compression.dll D:\Work Projects\MissionPlanner\bin\Debug\net461\" exited with code 1.
Build output also report 1 failed:
32> MissionPlanner -> D:\Work Projects\MissionPlanner\bin\Debug\net461\MissionPlanner.exe
32> The system cannot find the file specified.
32>C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(5778,5): error MSB3073: The command "copy D:\Work Projects\MissionPlanner\\ExtLibs\System.IO.Compression.dll D:\Work Projects\MissionPlanner\bin\Debug\net461\" exited with code 1.
========== Build: 31 succeeded, 1 failed, 22 up-to-date, 0 skipped ==========
Please help me resolve this problem.