question

MichaelKohnen-7821 avatar image
0 Votes"
MichaelKohnen-7821 asked RobCaplan edited

migrate to AndroidX File Modification detected

I'm trying to use Migrate to AndroidX on my Xamarin project, but no matter what I do, I always get the File Modification Detected window, informing me that "The project '<myprojectname>' has been modified outside the environment." The migration goes no further. No matter what option I select in the File Modification Detected window, after selecting Migrate to AndroidX, I get this window again. I've tried unchecking 'Detect when file is changed outside the environment' in Tools > Options > Environment > Documents, and I've tried renaming the .suo file, but to no avail. I am using Git for source control, and I've also noticed that every time I select Migrate to AndroidX, the Git Changes windows shows that <myproject>.csproj has been changed. If I commit and push this change, it will show as changed again when I select Migrate to AndroidX.

dotnet-xamarin
· 1
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.

I notice you have login in your git's account. Or you can move your project to other PC(do not log in git), then refer to this thread: https://docs.microsoft.com/en-us/xamarin/xamarin-forms/platform/android/androidx-migration refer to this steps, after migrating, then log in git, commint your changes.

0 Votes 0 ·

0 Answers