Question

I work in a C# environment doing web development using Visual Studio 2010 Ultimate. Intellisense is still working and my code compiles and runs fine, but I cannot refactor my code using the right click menu refactor tool. I'm instead prompted, "Could not prepare files for refactoring." I already reset my settings to defaults but no luck. It's still not working. Other functions are working correctly like go to definition, etc.

Était-ce utile?

La solution 2

Problem was due to Web Deployment Projects Beta. I needed to uninstall the beta for visual studio 2010 and install Web Deployment Projects RTW.

Autres conseils

If you have Web Deployment Projects, I understand that deleting them fixes this (quite rare) issue.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top