How to fix 17.13.5 Issue

was 0 Reputation points
2025-03-27T18:32:39.69+00:00

After updating my VS Studio Community installation to version 17.3.5 from version 17.12.5, I now get the following major error when building my Xamarin Android app:

System.UnauthorizedAccessException: Access to the path 'AndroidManifest.xml' is denied.

at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)

at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)

at Xamarin.Android.Tasks.RemoveDirFixed.RunTask()

This happens with both debug and release builds. Any ideas on how to fix this?

Andrew

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,378 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Timothy Philip Ingram 116 Reputation points
    2025-03-28T02:07:35.3266667+00:00

    Thanks for the issue report. This issue appears to be a problem with Visual Studio, so we ask that you use the VS feedback tool to report the issue. That way it will get to the routed to the team that owns this experience in VS.

    If you encounter a problem with Visual Studio, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks.

    1. Go to the VS feedback tool to report the issue
    2. Close this bug, and consider adding a link to the VS Feedback issue so that others can follow its activity there.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.