Duplicate file with same name on project

I put the complete project for your test on dropbox.

<img

What were the steps to get to this? If the file is listed in the project 5 time,s it’ll list it five times. it doesn’t care if it’s the same file.

I get a working VS 2012 project, duplicate the folder and rename and open on fire, then remove had references and point to the correct ones on mac, nothing more.

You can check yourself i put on dropbox folder.

Even weird is opening this on VS2012 the main.layout-xmlfiles is not there.See:

Well, your project file as the file twice — that’s why it shows twice in Fire. That’s not a bug, that’s as designed. The question is, how did it GEt there twice? which i can’t answer from looking at the final project :wink:

    <AndroidResource Include="res\layout\main.layout-xml"/>
    <AndroidResource Include="res\values\strings.android-xml">
        <SubType>Content</SubType>
    </AndroidResource>
    <AndroidResource Include="res\layout\main.layout-xml">
        <SubType>Content</SubType>
    </AndroidResource>

You are right, the original project have two references to this file, sorry, i don’t know how this happens (and why visual studio hide both)

If you create a new project from template, i take it it doesn’t have this?

On VS the template creates a unique reference, like this:

<AndroidResource Include="res\values\strings.android-xml">
  <SubType>Content</SubType>
</AndroidResource>
<AndroidResource Include="res\layout\main.layout-xml">
  <SubType>Content</SubType>
</AndroidResource>

On Fire i font find how to create a new Android project, theres no Andorid project available in templates:

Change the platform dropdown from Nougat to Cooper? (yes, those codenames will go away AND the whole template dialog will be redone before RTM)

My bad… Ok, now i create one and yes, the references remains unique. Was some mistake on my side, no doubt!

k, thanx for confirming.