My Shelve testing build is failing, and it is giving me:
Project file 'e:\p4\tech\...\someproject.vcproj' could not be loaded.
The project is either missing from disk or access was denied.
whereas the projet is actually present on my local system.
There is also a new project that I am adding to the perforce tree, for which:
The new path is already added in the client spec, so that it gets mapped to the new project. However, it still complaints that:
Project file 'e:\p4\tech\...\newproject.vcproj' could not be loaded.
The project is either missing from disk or access was denied.
Please let me know how should I go about fixing this. Thanks.
Related
I have absolutely no idea, what does it means? I only press OK in assembly information in order to specify Assembly Version.
What paths is absent? And what operation VS2022 can not finished? It looks as Visual Studio programmers what is useful error messages are.
I just ran into this problem and for me it was a VB project, and when you modify the AssemblyInfo, it tries to write the AssemblyInfo.vb file to the .\My Projects\AssemblyInfo.vb. Normally when you create a fresh project, I think this folder is created automatically so VS assumes it's there and gives you this error if the folder is missing.
In my case the folder was not checked in to git, so when I checked out the project the folder was not there. I would assume the same is true for c# projects, except the folder expected would be .\Properties\AssemblyInfo.cs.
All I had to do was create the "My Projects" folder at the root of my project and the error went away. It appears you are using c#, so try creating a "Properties" folder at the root of your project and see if the error goes away.
I still don't understand what path Vs2022 can not found and what operation VS2022 can not complete, but manually add CS-file with needed attributes solve this issue.
I am hoping someone has had this issue before and can help me resolve. I was working on a company project. I had just finished up and needed to publish my project to the server. When trying to publish, I got the error "This file is currently not available for use on this computer."
So then I tried to open one of the .cs files of the solution, and the error occurred again from trying to open the file. So I tried to grab the latest version from TFS thinking it would give me whichever file is missing, but when I click "Get Latest Version" on the project, the error message pops up there too.
I thought surely I will be able to delete the project locally and then remap it, but I can't even delete the project off my computer, as the error message pops up halfway through deletion. When it occurs there, however, I do get "Error 0x800710FE: This file is currently not available for use on this computer."
Also have tried deleting offline cached files through Control Panel > Sync Center > Manage Offline Files > Disk Usage > Delete temp files
I got this error for a small, test solution that was not using TFS. The default file location is the documents folder, which in my environment is synced using the Sync Center. I moved all of the solution files to a new local folder that was not included in Sync operations and the error went away.
Conclusion: storing VS files in a folder managed by Sync Center is likely a bad idea.
I got this error when trying to save an excel file served from a webpage.
The solution for me was to save it under a different filename. Possibly because I previously had a file with the same name open in excel.
we have a XPage project in the Domino Designer. The project contains a file [database.nsf]/Code/Java/META-INF/services/com.ibm.xsp.core.events.ApplicationListener, which configures an com.ibm.xsp.application.events.ApplicationListener2 (same with com.ibm.xsp.application.events.ApplicationListener) to be executed when the application is created, refreshed and destroyed.
When I clean and rebuild the project I often get the following error in the problem section:
The project was not built due to "Resource already exists on disk: '[database.nsf]/WebContent/WEB-INF/classes/META-INF/services/com.ibm.xsp.core.events.ApplicationListener'." Fix the problem, then try refreshing this project and building it since it may be inconsistent.
This message is correct: the file is than available at that location. (You have to use the Eclipse view "Navigator" to see it, because the directory /WebContent/WEB-INF/classes is hidden in the project explorer.). When I open the file, it is empty. When I open the properties of the file, the size is "-1 bytes" (yes, minus). When I delete the file and refresh the folder in the Navigator, sometimes the file come directly back again with size -1 bytes, sometimes not. Sometimes the bug is solved after next clean project, but sometimes it reoccurs.
When the Designer compiles the project without error, the file has the correct content. At runtime this file is read and the ApplicationListener is executed, all events are fired as expected.
When the error occurs I could copy the content by hand into the problematic file and save it, delete the error task in the Domino Designer. Than the application also works fine (?).
I tried to create a minimal example, with a new project (nsf database) with only the configuration file (/Code/Java/META-INF/services/com.ibm.xsp.core.events.ApplicationListener) and the application listener implementation. Unfortunately the error does not occur.
The reason may be, that our project has a lot of files. We had this problem only with the services definition file. The problem also occurs when I rename the file (I appended two underscores as test).
The problem occurs with Domino Designer 9.0.1 and Notes 9.0.1 FP3.
Our project has an associated on disk project. But I had the same problem after removing the association. After associate again the problem was there again.
Is there a solution, except removing the file? (Whithout the file our application will not work correctly.)
Thanks in advance
Stephan Koops
I have had the same issue. In the 'Problems' view it lists 'The project was not built due to "Resource already exists on disk .../WebContent/WEB-INF/Classes/... then a file with a long hex name ending in .js.
Even simple Xpage changes would not appear on the browser no matter what I did with clean/build etc
What I find works is:
Open the 'Package Explorer' view, and in the first Folder called Local you will see a series of *.js files as mentioned above.
Delete them all.
Clean and build.
Bingo, my xpage is now working again.
I am trying to add a resource to my C++/CLI project. I am working with Visual Studio 2012. TFS 2013.
Right Click on the project => Add => Resource => I get the error.
Error:
The operation could not be completed. Access is denied.
I do not understand why I am getting this error. I don't know how to fix it. So far:
I checked-out the entire project (Project and all its files)
I removed the "Read-Only" mark of the folder and all the files inside it.
I can add other files and edit everything, but for some reason I can not add resources.
I can edit the resource file in Notepad, so I don't know what else to do. (I even rebooted just in case).
I can add resources to a C++ Native Library I have in the same project.
What else could be causing this error?
This happened to me because I had still opened the resource (*.rc) file in the Resource Editor and/or Text Editor. As soon as I closed it, I was able to add resources again.
It seems the Resource file was somehow corrupted. After trying different approaches, I kept getting the same error, while I could easily add resources to other projects.
I deleted the resource file and everything related, and created everything from scratch and it worked.
I'm trying to map a folder from TFS, and it fouls it up every time I re-try doing it.
My structure on server is:
$/
--tool
----ASK
------Project1
------Project2
------Project3
------etc
I map to a local folder: C:\mytool and do a get. It correctly downloads all the folders in this structure:
C:/mytool
--tool
----ASK
------Project1
------Project2
------Project3
------etc
However, when I try to open ASK.sln (located in C:/mytool/tool folder) It fails when it tries to open projects.
Instead of opening
C:\mytool\tool\ASK\Project1
it complains that it can't find the project at
C:\mytool\tool\mytool\tool\Project1
and same for other projects, i.e.
C:\mytool\tool\mytool\tool\Project2
C:\mytool\tool\mytool\tool\Project3
Please help!
I've tried deleting everything, mapping C:\mytool to tool instead of '$/' and also to 'ASK' and every time it tries searching for projects in the wrong location.