Tools for synchronizing multiple cross platform CSharp projects.
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
samples/simple
.gitignore
Gemfile
Gemfile.lock
LICENSE.txt
README.md
README.rdoc
cross_platform_csproj.gemspec
example.rb

README.md

Cross Platform CSharp Projects

Tools for creating cross platform CSharp projects.

Best for creating a common library that compiles to Windows, MonoDevelop and MonoTouch.

Note: These instructions are for those who don't want to use the source code

Installation

  1. Install Ruby: http://www.ruby-lang.org/
  2. Enter this into the command line:
    gem install cross_platform_csproj

Usage

  1. Create a file at the root folder of your project called:
    rakefile.rb
  2. 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

  3. 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