سؤال

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.

هل كانت مفيدة؟

المحلول 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.

نصائح أخرى

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top