[MonoDevelop] How to switch my project to target the 3.0.6 beta version instead of the 2.10.12 stable version?

Michael Hutchinson m.j.hutchinson at gmail.com
Wed Mar 20 02:06:52 UTC 2013


You're changing target runtime correctly, it really is as simple as
using the "active runtime" menu.

The problem is that property is still not implemented in Mono master:
https://github.com/mono/mono/blob/master/mcs/class/corlib/System.Security.Cryptography/CspParameters.cs#L112

On 19 March 2013 16:00, gooisoft <thefaker at hotmail.com> wrote:
> I have a project (in MonoDevelop on Mac) which I have been porting from a
> Visual Studio Windows project.
>
> All has been going well. I have been compiling and running against 2.10.12
> stable version of Mono.
> (At least I think I have... that is what it has a tick mark against under
> menu option
> <Project> -> <Active Runtime>
>
> However I have now discovered a part of the code that needs
> System.Security.Cryptography.CspParameters.CryptoKeySecurity.SetAccessRule(
> ... )
>
> In 2.10.12 calling this method gives a NotImplementedException (because it
> has not been implemented).
>
> Then I noticed that in 3.0.6 this method HAS been implemented so I
> thought... haha ... I'll try switching to the 3.0.6 version.
>
> In MonoDevelop I change the active runtime tick so that it is now ticked
> against 3.0.6.
>
> In "Edit References" there is only one list item for each name space... so
> no obvious way of changing the target libraries there - so I was thinking,
> maybe that is all I need to do... just change the "active runtime".
>
> However when I run the project I still get NotImplementedException ...
>
> Although I am new to MonoDevelop and not exactly sure what is going on, it
> seems to be the case that the code is still running against 2.10.12 version
> and ignoring the tick mark against the 3.0.6 version.
>
> How do I change my project so that it runs against 3.0.6?
>
>
>
> --
> View this message in context: http://mono.1490590.n4.nabble.com/How-to-switch-my-project-to-target-the-3-0-6-beta-version-instead-of-the-2-10-12-stable-version-tp4659082.html
> Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list



-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list