I created a new Xamarin.Android application and added several assets to it. These assets are available in several permissions, so I placed them in the corresponding drawable-XXX folders inside the Resources folder. This led to an error:
The project "XXXX.fsproj" could not be opened because opening it will cause the folder to appear several times in the researcher’s solution. One of these problematic elements is "Resource \ drawable-hdpi \ pencil.png"
This is due to the incorrect F # folder structure. Usually I don’t need to use folders at all in F # projects, but in this particular case this is necessary because of how Android deals with resources. The project loads fine in Xamarin Studio, but in Visual Studio it isn’t.
The project is quite large, which means that I (and other people) will need to add a lot of files, so manual approaches like this should not be used, because they are too time-consuming.
I read the official docs , but there is nothing there that says a special way to handle file uploads on VS or another way to deal with this limitation. My question is: does such a thing exist? Can I add these files differently so that I don’t need a complex structure on VS? Will I be forced to use C # or Xamarin Studio against my will?
source share