c# - Subversion connection with C # in Visual Studio 2010 -
i using connect library subversion sharpsvn error. code follows:
svnclient client = new svnclient(); string targetsource = "http://xxxxxxx/svn/xxxx/xxxx/"; string uridest = "c:/documents , settings/user/my documents/jesus/project/test"; client.checkout(new uri(targetsource), uridest, svnrevision.head.revision, true);
although lack of authentication, if try run code following error in main () of project:
"the mixed-mode assembly compiled version 'v2.0.50727' runtime , can not loaded @ runtime 4.0 without additional configuration information."
put in config file:
<configuration> <startup uselegacyv2runtimeactivationpolicy="true"> <supportedruntime version="v4.0"/> </startup> </configuration>
it seems used library not built target .net 4.0 runtime.
Comments
Post a Comment