ArduPilot / ArduPilot/MissionPlanner

Error while building mission planner

Open
#2,573 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2.4k
Forks
2.9k
Avg merge
19h 16m
Merged PRs (30d)
4

Description

#### Issue details####
Hello, when I tried to build mission planner in Windows 10, I have 3 errors:

Error CS0579 Duplicate 'global::System.Runtime.Versioning.TargetFrameworkAttribute' attribute 7zip (netstandard2.0) C:\Users\user\source\repos\Filetest.razor\ExtLibs\7zip\Compress\LzmaAlone\obj\Release\.NETFramework,Version=v4.0.AssemblyAttributes.cs 4 Active
Error CS0579 Duplicate 'global::System.Runtime.Versioning.TargetFrameworkAttribute' attribute 7zip (netstandard2.0) C:\Users\user\source\repos\Filetest.razor\ExtLibs\7zip\obj\Debug\netstandard2.0\.NETStandard,Version=v2.0.AssemblyAttributes.cs 4 Active
Error Could not find file 'C:\Users\user\source\repos\Filetest.razor\ExtLibs\7zip\bin\Debug\net461\7zip.dll'. MissionPlanner C:\Users\user\source\repos\Filetest.razor\test\FirmwareSelection.xaml

Please help me to solve this errors. thank you.

#### Platform
[ x ] All
[ ] AntennaTracker
[ ] Copter
[ ] Plane
[ ] Rover
[ ] Sub
![157153796_140037031331340_8124914816195753604_n](https://user-images.githubusercontent.com/80372348/110567811-0e95c400-818d-11eb-8028-0a0a62d7af1f.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Windows 10 build and inspect the 7zip project output, especially the duplicate generated assembly-attribute files under obj and the missing bin\Debug\net461\7zip.dll referenced by test/FirmwareSelection.xaml. Done means the MissionPlanner build completes without CS0579 and the expected 7zip.dll is produced at the referenced path.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.