Я получаю эту ошибку при работе на эмуляторе или устройстве:
Severity Code Description Project File Line Suppression State
Error System.IO.IOException: The process cannot access the file 'C:\TFS\RRR\ABC\MobileApps\SampleApp\SampleApp\SampleApp.Droid\obj\Debug\90\android\assets\SampleApp.Droid.dll' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.IO.File.OpenFile(String path, FileAccess access, SafeFileHandle& handle)
at System.IO.File.SetLastWriteTimeUtc(String path, DateTime lastWriteTimeUtc)
at Xamarin.Android.Tools.Files.CopyIfChanged(String source, String destination)
at Xamarin.Android.Tasks.MonoAndroidHelper.CopyAssemblyAndSymbols(String source, String destination)
at Xamarin.Android.Tasks.LinkAssembliesNoShrink.RunTask()
at Xamarin.Android.Tasks.AndroidTask.Execute() SampleApp.Droid
Я пытался очистить двоичные файлы проектов и выполнить их повторно, но это не помогло. Переустановка тоже не помогает. Я продолжаю получать ту же ошибку. Визуальная студия, АБР обновлен.