is there a way to disable visual basic 10 language features in VS 2010. our Dev team has moved to Visual studio 2010, but we still have to keep backwards compatibility with Visual Studio 2008. is there a way to disable the new language features to avoid any issues.
The VB.NET compiler has the /langversion command line option. It is supported by msbuild but not the IDE. Sloppy, but fixable. Open the .vbproj in, say, notepad and paste this XML, right after the Project element:
<PropertyGroup>
<LangVersion>9</LangVersion>
</PropertyGroup>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With