matt-helps

insight on all things techie

Entries for the ‘Programming’ Category

monodroid: System.NullReferenceException in aresgen.exe

Just in case anyone else gets this uninformative error on their monodroid packaging, I got mine when I included an ImageView in my layout and this highlighted two problems. 1. I got the useless message because I hadn’t created an AndroidManifest.xml file, new projects don’t have them by default, so right-click on the project, go [...]

Code Snippet: 301 redirect with args

If you ever need to redirect one domain name to another (using apache) and you need to do it in code you can simply create a .htacess file in the root of the folder that needs to be redirected and pop the standard 301 redirect in there. That doesn’t really help though if you want [...]

Search and Replace in Visual Studio

Today I’ve been parsing some text files in Visual Studio 2010 express in a semi-manual kind of way (lots of Find and Replace commands!). They were generally not too bad but I needed to clean them up to bring them into a tool I was writing. Here are some helpful things I worked out along [...]

  

Follow mattparkins on Twitter