I’m building a mobile application, however, when I try to put an image png under the Android Device (Android – Resources Drawable) I get this weird error when running the application:
Severity Code Description Project File Line Status Deleted
Error System.IO.IOException: The file name, directory name, or volume label syntax is incorrect.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
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() mvm_guia2.Android
I don’t know why I’m getting that, and the only way that I have found to troubleshoot this is by creating a new project.
Any recommendations?