Skip to content

MAUI Android error CS0579: Duplicate 'System.Reflection.AssemblyCompanyAttribute' attribute #29510

Answered by DavideZzz
tpitman asked this question in Q&A
Discussion options

You must be logged in to vote

I found what caused my error: i think the pre-release extensions of vscode for maui during a build accidentally created the bin and obj folders in the wrong directory. After a couple of builds when the Duplicate 'System.Reflection.AssemblyCompanyAttribute' attribute started happening i noticed bin and obj where created in another folder other than the main project folder, i found them in my "Views" folder, which i noticed, and then i found them in "Platforms/iOS/", after deleting the duplicates my project started working again

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@tpitman
Comment options

@DavideZzz
Comment options

@tpitman
Comment options

@DavideZzz
Comment options

Answer selected by tpitman
@tpitman
Comment options

@melo-dev
Comment options

@tpitman
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants