System.ObjectModel Warning Xamarin does not run on Android

后端 未结 7 1360
故里飘歌
故里飘歌 2021-02-01 17:52

We are running the \'Welcome to Xamarin` example on Visual Studio Enterprise, using the latest Xamarin, in a Windows 8.1 environment.

We are managing to build and run on

7条回答
  •  感情败类
    2021-02-01 18:44

    Exercise 1 from GitHub https://github.com/XamarinUniversity/XAM135/ when opening has the same problem.

    Based on the above solutions I resolved by performing the following steps:

    1. Update the Nuget Package

    2. Save, close and abire the solution

    3. Click on the Portable (shared) project-> Referencias-> Donet in the copy properties of the path = "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETPortable\v4.5\Profile\Profile111"

    4. Open Windows Explorer and paste the path = "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETPortable\v4.5\Profile\Profile111", here is the System.ObjectModel.dll file

    5. Click on the Droid Project -> Referencias and REMOVE System.ObjectModel

    6. Right click on References and Add references

    7. Click the Browse button and open the path = "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETPortable\v4.5\Profile\Profile111"

    8. Select System.ObjectModel.dll, and then click Add and OK

    9. The reference was added successfully! Save, compile the project.

    Here is a similiar solution

提交回复
热议问题