Xamarin.Android ConvertResourcesCases任务失败

时间:2018-11-23 21:38:44

标签: c# android visual-studio xamarin xamarin.android

    Severity    Code    Description Project File    Line    Suppression State
Error       The "ConvertResourcesCases" task failed unexpectedly.
System.IO.IOException: The process cannot access the file 'C:\Users\PC\AppData\Local\Temp\tmp7A49.tmp.bk' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at Monodroid.AndroidResource.UpdateXmlResource(String res, String filename, Dictionary`2 acwMap, IEnumerable`1 additionalDirectories)
   at Xamarin.Android.Tasks.ConvertResourcesCases.FixupResources(ITaskItem item, Dictionary`2 acwMap)
   at Xamarin.Android.Tasks.ConvertResourcesCases.FixupResources(Dictionary`2 acwMap)
   at Xamarin.Android.Tasks.ConvertResourcesCases.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() App1

请问我如何解决这个错误,这是xamarin的新手

  • 列表项

0 个答案:

没有答案