Build MP on visual studio 2022

Hi i trying to build mission planner but i have a lot of error

|Error|CS0579|Duplicate ‘global::System.Runtime.Versioning.TargetFrameworkAttribute’ attribute|7zip (netstandard2.0)|D:\MissionPlanner\ExtLibs\7zip\obj\Debug\netstandard2.0.NETStandard,Version=v2.0.AssemblyAttributes.cs|4|Active||
and this
Error CS0006 Metadata file ‘D:\MissionPlanner\ExtLibs\7zip\bin\Release\netstandard2.0\7zip.dll’ could not be found wasm D:\MissionPlanner\ExtLibs\wasm\CSC 1 Active
i do git submodule update
help me please

Visual Studio: Clean Solution
Close Visual Studio
Shell:
cd
git clean -nfdx -e .vs/
git clean -fdx -e .vs/
Open Visual Studio:
Build Mission Planner

2 Likes

Thanks for your help
My problem has been solved

Hello, I encountered a similar issue while compiling MissionPlanner. I followed the steps you mentioned, but the problem still persists when I regenerate the solution. Is there any other way to solve this? Thank you!

1 Like

Hi
you must go to release page and download source code.zip extract zip file copy all extlib to your extlib solution

Note:just download mono with git submodule

Thanks for your help!
I successfully built MissionPlanner!

1 Like