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

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

 

错误2:点击上传提示一个异常. 

unhandled exception has occurred in your application.if you click continue,if you chick continue,the application will ignore thie error and attempt to continue.if you click Quit, the application will close immediately
exception has been thrown by the target of an invocation.

抓捕异常存储

Svn启动窗口启动 上午 12:49:56
Svn启动窗口报错 Unable to connect to a repository at URL 'svn:///^^^^^^^/ftp' 上午 12:49:57

在win10上没问题,local 地址也换了,换了个电脑就出现这种情况.报错信息还有个详细的window的报错,

解决方法,加 try catch  抓取详细位置.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at WinForm.SetSvnForm.btnSvncommit_Click(Object sender, EventArgs e) in D:\Home\CheckPlatform\WinForm\WinForm\SetSvnForm.cs:line 66  这一行是个按钮提交上传的 地方, 是点这个地方出现的异常. 看来win的报错还是要仔细看看.
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

转载于:https://www.cnblogs.com/zuochanzi/p/6715214.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值