【发布时间】:2011-07-19 17:08:53
【问题描述】:
我正在使用 ASP.NET MVC3、StructureMap 和 SharpSvn。
这是我正在使用的代码:
public class SvnFileReader : ISvnFileReader
{
private readonly string _svnAddress;
public SvnFileReader(string svnAddress)
{
_svnAddress = svnAddress;
}
public void DownloadFiles(DirectoryInfo destination)
{
using (var svnClient = new SvnClient())
{
// checkout the code to the specified directory
svnClient.CheckOut(new Uri(_svnAddress), destination.FullName);
}
}
}
当我执行这段代码时:
_svnFileReader.DownloadFiles(new System.IO.DirectoryInfo(@"d:\test"));
我收到以下错误消息:
无法加载文件或程序集 'file:///D:\Projects\SvnFileReaderDemo\bin\SharpSvn-DB44-20-Win32.dll' 或其依赖项之一。模块 预计将包含一个程序集 清单。
任何帮助将不胜感激!
【问题讨论】:
标签: c# svn exception-handling 64-bit sharpsvn