Tools for creating cross platform CSharp projects.
Best for creating a common library that compiles to Windows, MonoDevelop and MonoTouch.
- Install Ruby: http://www.ruby-lang.org/
- Enter this into the command line:
gem install cross_platform_csproj
- Create a file at the root folder of your project called:
rakefile.rb
- Add the following to the file:
require 'cross_platform_csproj'
task :default => [:updateProjectFiles]
task :updateProjectFiles do files = FileList.new('**/*.cs') CrossPlatformCSProj::updateProject('MyProject.csproj', files) end
- Enter this into the command line (current directory at project root):
rake
See more elaborate example:
https://github.com/markslwong/CrossPlatformCSProj/blob/master/example.rb