Has anyone noticed that conditional compilation clauses make the VB.NET IDE act strangely?
1. Enter the following code snippet into an empty VB class file in your project. Save the file.
#If DEBUG Then
#Region "some stuff"
Public Class temp
2. Play around with it. You can see that the regions collapse correctly.
3. Exit VS. Enter VS and reload the project.
4. Try to repeat whatever you did in step 2. It won't work..
I got this computer from a client so it is probably a vanilla VS installation. Time to go look for KB articles....