The ProjectItem.FileCodeModel and conditional compilation

September 26, 2008

Recently I was playing with the FileCodeModel of a ProjectItem that used conditional compilation to provide some methods in “Debug” configuration (but not in “Release” configuration) such as: Public Sub Method1() … End Sub #If DEBUG Then Public Sub Method2() … End Sub #End If Public Sub Method3 … End Sub Which code elements (methods) […]