I need to minify some C# code in a handful of Silverlight .cs and .xmal files. What are your tips for maintaining one code base and running a "tool" to generate minified code for a project?
Are there any tools (like Resharper) that will do this? If not fully, partially or assist in some way...
EDIT: I realize that there is no need for C# minification. This is an exercise that I'm doing that does not make sense on the face of it. (This is not homework.)
Is that necessary? It was my understanding that the compiled .Net assembly would be sent across the wire, not the C# (or whatever language) source code.
Here are two "Lessons Learned" posts from other 10k entrants:
http://www.bluerosegames.com/SilverlightBrassTacks/post/Thoughts-on-the-MIX-10K-challenge.aspx
http://bragosphere.blogspot.com/2009/01/blog-post.html
How about a source-code obfuscator? They generally abbreviate names, etc - and certainly remove white space.
For example, here, with demo here (although you'd probably want to disable the string encoding if possible). Note that this isn't a direct recommendation: this is just the first hit I got for C# code obfuscator.
Are you trying to make something for the Silverlight 10k challenge or something? That's why I'm looking for this info...
http://2009.visitmix.com/MIXtify/TenKGallery.aspx