Problem
Super Clean correctly handles SDK-style projects, but for legacy Web Site Projects (project type GUID {E24C65DC-7377-472B-9ABA-BC803B73C61A}) the bin folder is not a build output — it contains integral assemblies that must not be deleted. Currently Super Clean wipes bin/obj for these projects, breaking them.
Reproduction
- Open a solution containing a Web Site Project (
File → Open → Web Site...-style project).
- Right-click the website node (or the solution if it contains one) and choose Super Clean.
- Observe that the
bin directory is deleted, breaking the project until restored.
Expected behavior
Super Clean should skip Web Site Projects entirely. When invoked on the solution, all other projects clean normally; the website is left untouched.
Implementation notes
Community.VisualStudio.Toolkit exposes Project.IsKindAsync(string typeGuid) and ProjectTypes.WEBSITE (the constant for the Web Site project GUID). Use those to detect and skip.
Problem
Super Clean correctly handles SDK-style projects, but for legacy Web Site Projects (project type GUID
{E24C65DC-7377-472B-9ABA-BC803B73C61A}) thebinfolder is not a build output — it contains integral assemblies that must not be deleted. Currently Super Clean wipesbin/objfor these projects, breaking them.Reproduction
File → Open → Web Site...-style project).bindirectory is deleted, breaking the project until restored.Expected behavior
Super Clean should skip Web Site Projects entirely. When invoked on the solution, all other projects clean normally; the website is left untouched.
Implementation notes
Community.VisualStudio.ToolkitexposesProject.IsKindAsync(string typeGuid)andProjectTypes.WEBSITE(the constant for the Web Site project GUID). Use those to detect and skip.