Reputation: 37999
This is a follow up to this question.
I have added all the generated files to the Vs project, and it publishes successfully. However, when I build the project, I get 38 errors telling me that VS is "unable to delete *.js because access to the path is denied." In other words, source control has put a read-only lock on all of those files and is not able to unlock them automatically.
I don't see any way around this other than manually checking out every compiled javascript file so the compiler can do it's work.
Upvotes: 0
Views: 1012
Reputation: 643
Just try going to their route and checking if the files are read only. I usually have to change this when I get latest version from my code in VS2013. You can just uncheck the "Read only" option from the whole containing folder.
BTW, don't delete all those files from source control, just exclude them.
Upvotes: 1