Well your solution file above works fine for me and I assume it does for you, so how are you 'putting it in another project' exactly?