Why does code cleanup keep emptying _ViewImports.cshtml

Every time I cleanup my website, R# keeps removing imports from _ViewImports.cshtml.

Is there a way to turn this off?

0
1 comment

Hello Bobby Cannon, thank you for your question. I have checked the behavior you described, but could not reproduce it. It would be great if you could share a small sample solution so that we can reproduce the problem on our side. 

You can upload a sample solution to the JB server and share the Upload ID with us. Or you can create a new support request using the “ Contact Support ” button above and attach a sample solution there. Thank you!

0

Please sign in to leave a comment.