码迷,mamicode.com
首页 > 其他好文 > 详细

Svn启动窗口报错 Could not load file or assembly 'SharpSvn.dll' or one of its

时间:2017-04-15 20:25:40      阅读:389      评论:0      收藏:0      [点我收藏+]

标签:svn   sage   文件   targe   ...   users   comment   back   ext   

win10 64位系统生成没问题,测试都没问题,结果换到win7 64位系统上,点开就出现,网上搜了下,通过以下方式解决, 必须把bin 文件夹全部删除,重新生成.要不还是会报错.

Solve it.

  1. Change my platform to x86
  2. Output path to "bin\"
  3. Downloaded the x86 of SharpSVN (1.7008.2243.14245)
  4. Add SharpSVN.dll in GAC.
  5. Delete the bin folder and rebuild solution

This is the link for the explanation.

 

 

原文地址

http://stackoverflow.com/questions/15352528/could-not-load-file-or-assembly-sharpsvn-or-one-of-its-dependencies-an-attemp

 

You either have to target x86, and use the x86 dll, or target x64 and use the x64 dll (with 2.0 runtime activation policy) – Sander Rijken May 14 ‘13 at 18:18
    
Yep, using the x86 version solved my problem too. Changing the target CPU to x64 when using the x64 version didn‘t help! – user2173353 Aug 1 ‘13 at 13:23
    
But then it re-appeared and it got corrected when I switched back to x64... What the hack! – user2173353

Svn启动窗口报错 Could not load file or assembly 'SharpSvn.dll' or one of its

标签:svn   sage   文件   targe   ...   users   comment   back   ext   

原文地址:http://www.cnblogs.com/zuochanzi/p/6715214.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!