Use path.extname instead of string parsing nonsense, remove ability to add .dll as content - it should be a framework/reference