[Mono-dev] Mono.Posix Cross Compiling

Timotheus Pokorra timotheus.pokorra at solidcharity.com
Tue Jan 6 16:25:38 UTC 2015


> As far as I can tell, any attempt to use Conditional property in the <Reference> tag is simply ignored.  So I settle on using the kludgy hack of using different csproj files on windows & mono.  It works so I didn't spend more time on it - but if there's a more elegant solution, I'd like to know.

For OpenPetra, because we have so many assemblies, and our developers
work with all sorts of different IDEs (VisualStudio, SharpDevelop,
MonoDevelop) we generate the sln and csproj files and don't commit
them to the code repository.
If you are interested: we have written a NAnt task
generateProjectFiles to generate the project files and solution files:

The templates for the various IDEs are stored here:

The package names are calculated from the directory hierarchy.

Perhaps this is useful for other projects as well.


More information about the Mono-devel-list mailing list