Problem : The "frameworkVersion" attribute of the "Project" nodes in prebuild.xml is ignored when generating the MonoDevelop Project configuration file. This can block the build in Monodevelop (for OpenSim for instance) : some references are identified as not available for the default frameworkVersion used.
Expected behaviour : if frameworkVresion is set to "v3_5" in prebuild.xml, the generated .mdp files should contain a "targetVersion" attribute in the project node set to "3.5".
Solution : I think a minor modification of the WriteProject method in Prebuild/src/Core/Targets/MonoDevelopTarget.cs:185 should do the trick. I attached a patch.
patch for Prebuild/src/Core/Targets/MonoDevelopTarget.cs that fixes the issue