how to check if assembly was written in VB
I want to check at runtime if an assembly was probably written in VB. It doesn't have to be a bullet-proof method. Maybe call GetReferenc开发者_如何学JAVAedAssemblies()
and check for an assembly that all VB projects reference?
I just added a VB.NET Console application to my solution. It doesn't reference any assembly which is specific to VB.NET.
A very interesting question, since both are compiled down to MSIL and are supposed to be equal, You would have to look for implementation differences. There is very little information that I can find out there. But try looking at these two links.
- http://www.devnewsgroups.net/dotnetframework/t22165-how-determine-code-vb-net.aspx
- http://thedailyreviewer.com/dotnet/view/can-a-c-program-find-out-what-language-an-assembly-is-written-in-104571742
精彩评论