Skip to content

Upgrading a Xamarin Android project is nowhere similar to the new NET6 Android app #923

@manuelelucchi

Description

@manuelelucchi
  • Include the log file upgrade-assistant.clef that is produced in the working directory

Describe the bug

When upgrading a Xamarin Android project (even the default template) the csproj will be bloated of unneeded things and there will be errors with the nuget packages (also, it will upgrade it to net6, not net6-android). If you compare it with the NET6 Android app, you'll notice the template just doesn't use any nuget at all and the csproj is much smaller. Plus, the namespaces are different.

To Reproduce

Create a Xamarin Android default project and use the tool on it (doing all the steps). You can also compare the result with the NET6 Android template

Exceptions (if any)

Further technical details

  • Windows version and bitness info (32-bit or 64-bit)
  • Include the output of dotnet --list-sdks
    5.0.403 [C:\Program Files\dotnet\sdk]
    6.0.100 [C:\Program Files\dotnet\sdk]
  • Include the output of upgrade-assistant --version
    0.3.255803+d72527aefab54bfbadc3227b4f1ffd326c1e9a8a

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions