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

gooisoft thefaker at hotmail.com
Tue Mar 19 20:00:09 UTC 2013


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.


More information about the Monodevelop-list mailing list