<p>Is this possible? Does the .NET framework depend on the meta data in the bytecode? I'd like to have an application i write not work in reflector or a similar .NET decompiler.</p>

[{'answer_id': 31640, 'author': 'lomaxx', 'author_id': 493, 'author_profile': 'https://Stackoverflow.com/users/493', 'pm_score': 0, 'selected': False, 'text': "<p>I don't think you can remove the meta data, but you can obfuscate your code if you're looking to protect your IP. </p>\n"}, {'answer_id': 31643, 'author': 'Glenn Slaven', 'author_id': 2975, 'author_profile': 'https://Stackoverflow.com/users/2975', 'pm_score': 0, 'selected': False, 'text': '<p>The Dotfuscator will stop your code from being able to be decompiled\n<a href="http://www.preemptive.com/dotfuscator.html" rel="nofollow noreferrer">http://www.preemptive.com/dotfuscator.html</a></p>\n\n<p><strong>Edit:</strong> I should have mentioned, that\'s the professional version, the free community version ships with visual studio</p>\n'}, {'answer_id': 31653, 'author': 'jfs', 'author_id': 718, 'author_profile': 'https://Stackoverflow.com/users/718', 'pm_score': 1, 'selected': False, 'text': '<p>I think you are referring to the <a href="http://msdn.microsoft.com/en-us/library/1w45z383.aspx" rel="nofollow noreferrer">Assembly Manifest</a>:</p>\n\n<blockquote>\n  <p>Every assembly, whether static or\n  dynamic, contains a collection of data\n  that describes how the elements in the\n  assembly relate to each other. The\n  assembly manifest contains this\n  assembly metadata. An assembly\n  manifest contains all the metadata\n  needed to specify the assembly\'s\n  version requirements and security\n  identity, and all metadata needed to\n  define the scope of the assembly and\n  resolve references to resources and\n  classes.</p>\n</blockquote>\n\n<p>One of the most important features of .Net assemblies is that they are self-describing components and this is provided by the manifest. So removing them will somehow defeat its purpose.</p>\n'}, {'answer_id': 31671, 'author': 'Orion Edwards', 'author_id': 234, 'author_profile': 'https://Stackoverflow.com/users/234', 'pm_score': 2, 'selected': False, 'text': "<p>If you remove the metadata the framework won't be able to load your code, or figure out which other assemblies it references, or anything like that, so no, that's not a good idea.</p>\n\n<p>Obfuscators will make it a lot harder for an 'attacker' to decompile your code, but at the end of the day if someone is motivated and smart there's not a lot you can do to stop them.<br>\n.NET will always compile down to MSIL, and MSIL is inherently easier to read than raw x86. That's just one of the tradeoffs you make for using .NET. </p>\n\n<p>Don't worry about it. The source code to apache, linux, and everything else is freely available on the net, but it's not providing much competitive advantage to microsoft is it :-)</p>\n"}, {'answer_id': 31879, 'author': 'Mark Ingram', 'author_id': 986, 'author_profile': 'https://Stackoverflow.com/users/986', 'pm_score': 1, 'selected': False, 'text': '<p>This looks like the same question as:</p>\n\n<p><a href="https://stackoverflow.com/questions/29677/how-do-i-make-the-manifest-of-a-net-assembly-private">How do I make the manifest of a .net assembly private?</a></p>\n\n<p>See my answer there:</p>\n\n<p><a href="https://stackoverflow.com/questions/29677/how-do-i-make-the-manifest-of-a-net-assembly-private#29692">How do I make the manifest of a .net assembly private?</a></p>\n\n<p>"I think what you\'re talking about is "obfuscation". There are lots of articles about it on the net:</p>\n\n<p><a href="http://en.wikipedia.org/wiki/Obfuscation" rel="nofollow noreferrer">http://en.wikipedia.org/wiki/Obfuscation</a></p>\n\n<p>The "standard" tool for obfuscation on .NET is by Preemptive Solutions:</p>\n\n<p><a href="http://www.preemptive.com/obfuscator.html" rel="nofollow noreferrer">http://www.preemptive.com/obfuscator.html</a></p>\n\n<p>They have a community edition that ships with Visual Studio which you can use.</p>\n\n<p>You mentioned ILDasm, have you looked at the .NET Reflector?</p>\n\n<p><a href="http://aisto.com/roeder/dotnet/" rel="nofollow noreferrer">http://aisto.com/roeder/dotnet/</a></p>\n\n<p>It gives you an even better idea as to what people can see if you release a manifest!"</p>\n'}, {'answer_id': 31889, 'author': 'neslekkiM', 'author_id': 3308, 'author_profile': 'https://Stackoverflow.com/users/3308', 'pm_score': 0, 'selected': False, 'text': "<p>Wouldn't solutions like VMware's ThinApp (Formerly Thinstall) help a bit with protecting your code also?\nIt comes at an extremely high price though..</p>\n"}]
['https://Stackoverflow.com/questions/31637', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/87/']