question

CarlosDaza-3099 avatar image
0 Votes"
CarlosDaza-3099 asked RobCaplan edited

Cant find Mono.Android xamarin forms project

Hello.

I made a cross-platform application with visual studio 2019 community and xamarin forms, then I added GIT as a source code control and I uploaded it to my GitHub repositorie. All the project development was programed in my personal pc and tested on my mobile device.

I installed VS 2019 Community in other PC and added GIT as a source code as well and pull the repositorie of my cross-platform application in that PC. Now the problem im having is that VS cant find the "Mono.Android" reference. Right now i cant build or deploy/debug the app on my movile device.

dotnet-xamarin
· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @CarlosDaza-3099 ,you can recheck if you have uploaded all files of your app to the github in your personal pc.

0 Votes 0 ·

Hi, i checked for specific files and noticed that some were missing in the project folder hosted in the other PC.

I tried to fix this by copying those files into my drive and paste it in the specific folders of the other project, then re-build the project but it does not work.

I add some screen shots of the missing files:

-Solution (Personal PC)

72492-solucion-personal-pc.png

-Solution (Other PC)
72511-solucion-other-pc.png

-Folder of the solution (Personal PC)

72465-carpeta-del-proyecto-personal-pc.png

[4]: /answers/storage/temp/72400-carpeta-especifica-personal-pc.png

[5]: /answers/storage/temp/72455-carpeta-especifica-other-pc.png

0 Votes 0 ·

-Specific folder (Personal PC)
72476-carpeta-especifica-personal-pc.png

-Specific folder (Other PC)
72410-carpeta-especifica-other-pc.png

-Warning (Still showing before and after re-build the solution in the other PC)
72477-advertencia-other-pc.png

It says: Cannot resolve this reference. "Mono.Android" is not assembled. Check if the assembly exist in the disk.


0 Votes 0 ·
Show more comments

Right now (05-07-2021) I solved the issue.

When I try to clone my github repositorie from Visual Studio 2019 (VS2019) there are two options:

-Clone the repository by giving the URL.

-Clone the repository by browse thru all your GitHub repositories.

The problem I had was that by cloning the repository selecting the second option some files where missing (just how I explained previously).

if I select the first option (clone by giving the URL) the files that were one missing are now downloaded. It seems to work!!!

0 Votes 0 ·

0 Answers