Skip to content

Instantly share code, notes, and snippets.

@Parmendrak
Created October 6, 2014 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Parmendrak/41b27cc67aab540a4945 to your computer and use it in GitHub Desktop.
Save Parmendrak/41b27cc67aab540a4945 to your computer and use it in GitHub Desktop.
Error
Error 1 The "CopyAndConvertResources" task failed unexpectedly.
System.UnauthorizedAccessException: Access to the path 'c:\users\saurabh\documents\visual studio 2013\Projects\App162\App162\obj\Debug\res\drawable\video-icon.png' is denied.
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.Tasks.CopyAndConvertResources.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext() App162
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment