Reputation: 412
Is there a way to determine the language in which an assembly was originally written? I was considering looking at the referenced assemblies or something similar but wondered if it's as simple as a specific assembly attribute or such...
Upvotes: 9
Views: 1041
Reputation: 942020
There is no specific attribute. Just hints. If you see an assembly reference to Microsoft.VisualBasic then the odds are high that it was written in VB.NET. If you see a <CppImplementationDetails>
class then it was written in C++/CLI. Absence of these hints makes C# likely. Ignoring the possibilities of a Mono assembly or the dozens of language ports to .NET
Upvotes: 10