I recently had to move my unity project over to google drive for a couple weeks so I could continue work on my game. After moving it to google drive, windows 10 starting adding a desktop.ini file to all of the directories in the project folders. I have moved my project back to my desktop hard drive and I deleted all of the desktop.ini files. For some reason when I try to build my project I get an error that says "Invalid resource directory" and points to the path in my android-resources folder where a desktop.ini file keeps getting generated. It doesn't matter if I delete it or not because it gets generated every time I try to build the project. Any ideas?
Cloud storage is known for producing desktop.ini files with accompanying problems. When Windows creates a desktop.ini in a folder that Unity is attempting to package you'll get the "Invalid Resource Directory" error since it tries to bundle a file it doesn't expect.
You must prevent desktop.ini files from being generated. There are different methods but no guaranteed solutions. Try this registry change: http://jamesisin.com/a_high-tech_blech/index.php/2010/09/nevermore-be-bothered-by-desktop-ini/
Then move your project to another directory (make sure you've turned off any cloud Storage or similar as well).
If that doesn't work try finding other options for turning off desktop.ini generation. Good luck!
Related
I'm running into some issues with my existing powershell script that copies data from a remote location into a local folder - that local folder also happens to be sync'd with google drive for desktop.
I'm seeing incomplete files being uploaded etc. In order to combat this I think it would be easier/better to change where the initial remote > local is putting its files, and instead of copying directly into the sync folder - copy into a temp/staging location that's NOT the sync folder.
Once that process is complete then use the powershell move-cmd to simply 'move' which will just update file locators to be that of the sync folder.
I think this will solve my issue.
Anyone see any problems with this approach?
If you have ruled out device connectivity, multiple files being uploaded at once vs. a single file being uploaded, and mobile device app or internet browser there is nothing wrong with your approach. If you need anymore assistance please reply to this thread or mark this as the answer.
I have a project that is in a zip that was originally coded on a windows 7 OS.I have since moved to windows 10 and I am trying to continue working on the project on my Windows 10 PC.
The issue is that somehow the path is still set as old path and as a result the build fails.
Failed to read NuGet.Config due to unauthorized access. Path:
'C:\Users\abc\RiderProjects\myproject\NuGet.Config'. --->
System.UnauthorizedAccessException: Access to the path
'C:\Users\abc\RiderProjects\myproject' is denied.
The path C:\Users\abc\RiderProjects\myproject should be C:\Users\xyz\RiderProjects\myproject.I looked within the project if i can find hardcoded references to the old path but in vain but i can see references to old path in /bin and /obj folder.
I already tried the following:
1.Look for hardcoded references to old path within solution directory
2.Clean solution
I had to do the following to fix the issue in that specific order.
1.Remove obj and bin folders from every project.A proper gitignore file should be added before commiting to a git repository.In my case since I got the project in a zip , there was some obj file in some projects in the solution
2.Clean the solution
3.Rebuild the project
I'm programming a client side applications using SharePoint Designer 2013.
I want to change to VSCODE since it supports a lot of extensions for some Javascript library like angular, jQuery. And because of the Chrome/Node.js debugger extension.
But when I try to start any Debugger, I got the error:
Unable to create 'launch.json' file inside the '.vscode' folder (Error: UNKNOWN: unknown error, mkdir '\\servername\DavWWWRoot\sitename\Style Library\.vscode').
I get this error because it's impossible to create a folder in SharePoint where the name starts with dot.
So there's a possibility to change the name of this folder or the file location to any directory in my local computer?
No, it's not possible to move/rename that folder. VS code is a tool that bases project management on folder content. So it is essential that the project settings reside in the folder being managed.
You can move the "extensions" folder, but unfortunately not the argv.json (so the ".vscode" will, at least be recreated on vscode launch)
https://github.com/microsoft/vscode/issues/17691#issuecomment-559234574
I hope that'll finally change sometime .
https://github.com/microsoft/vscode/issues/3884
https://github.com/OmniSharp/omnisharp-roslyn/issues/953
I'm currently trying to set up everything to develop a Gear VR app with Eclipse in Java but I keep getting errors when I clean the Gear VR Framework project:
http://pastebin.com/yK8810bG
"Das System kann die angegebene Datei nicht finden." simply means:
"The system cannot find the file specified."
At first Eclipse didn't recognize the directory "C:\Programme\Programmieren\AndroidNDK" (originally "Program Files" instead of "Programme" but it didn't work because of the space; has the subfolders "build", "platforms",...) as a valid folder for the NDK. According to another thread on Stackexchange, you have to create an empty file without a file extension and with the name "ndk-build" in the main folder (so "AndroidNDK"), which I did - even though there's already a file like that in the subfolder "build". That at least made Eclipse happy but now I get the above error messages.
Yes, the folders "GVRf" and "ovr_sdk_mobile" are in the same root folder and yes, I added "C:\Programme\Programmieren\AndroidNDK" to the Windows Path variable but I still get the same error messages.
I checked, the files really don't exist but I don't know, where I would even get them. I followed the steps here, including 1.b., so I should have everything necessary but apparently I don't. Plus, I double checked with this youtube video. I did everything the guy did - except the Git part for GVRf (I downloaded the zip) but including not copying the project into my workspace (that sadly gave me a bunch of other "cannot find..." errors) - and it worked just fine for him but not for me.
Since this doesn't work, I also can't even test the samples. :/
Any ideas where I can get the missing files or what actually could be the problem and how I can fix it?
I fixed it:
There must not be any spaces in the path, so you shouldn't put the framework + NDK in a subfolder of e.g. "Program Files". Eclipse and Java usually don't care but the framework and NDK apparently do.
Eclipse's workspace/your project has to be on the same HDD as the framework. I've tried a couple of things but haven't gotten it to work with my usual workspace since that's on a different HDD.
There seemed to be a problem with the old version of the framework (April 11th to 13th), simply couldn't get it to run. It's now running fine with a newer version (April 15th) - as long as the two above points are met.
I've an Xcode project which has been using svn, but we had to stop using it. Since then when ever I try and Add files to the project I get the error window below. The files actually get added to the file system (using Finder), but not to the project,so not displayed in the file system in XCode and therefore can't be accessed.
I found the answer myself.
Just make sure you delete all the hidden .svn files / folders