sharpsvn

“Could not load file or assembly”/ “or one of its dependencies. The module was expected to contain an assembly manifest.”

风格不统一 提交于 2019-12-07 11:15:50
问题 I have a c# application which uses SharpSVN dll and NServicebus dll,it compile fine but when it is executing(in the time of initialize the bus) it throw the following error Could not load file or assembly 'file:///C:\Repositories\Repo\hooks\SharpSvn-DB44-20-Win32.dll' or one of its dependencies. The module was expected to contain an assembly manifest. How can I solve the above problem. Thank in advance Susanta 回答1: Exclude the sharpsvn dlls from the NServiceBus assemblyscanning by configuring

How to use SharpSVN in ASP.NET?

纵然是瞬间 提交于 2019-12-07 08:16:55
问题 Trying to use use SharpSVN in an ASP.NET app. So far, it's been nothing but trouble. First, I kept getting permission errors on "lock" files (that don't exist), even though NETWORK SERVICE has full permissions on the directories. Finally in frustration I just granted Everyone full control. Now I get a new error: OPTIONS of 'https://server/svn/repo': authorization failed: Could not authenticate to server: rejected Basic challenge (https://server) This happens whether I have the

How can I view the changes made after a revision is committed and parse it for comments?

拟墨画扇 提交于 2019-12-07 02:26:03
问题 I was hoping to automate some tasks related to SubVersion, so I got SharpSvn. Unfortunately I cant find much documentation for it. I want to be able to view the changes after a user commits a new revision so I can parse the code for special comments that can then be uploaded into my ticket system. 回答1: If you just want to browse SharpSvn you can use http://docs.sharpsvn.net/. The documentation there is far from complete as the focus is primarily on providing features. Any help on enhancing

Using client.status in c# with sharpsvn

孤街醉人 提交于 2019-12-05 15:52:06
I want to use the status method but i dont understand how it works. Could someone show me an example of use please? EventHandler < SvnStatusEventArgs > statusHandler = new EventHandler<SvnStatusEventArgs>(void(object, SvnStatusEventArgs) target); client.Status(path, statusHandler); Noon Silk Well, it'll work exactly like the svn status command : http://svnbook.red-bean.com/en/1.0/re26.html You'll get the list of files pumped to the EventHandler: using(SvnClient client = /* set up a client */ ){ EventHandler<SvnStatusEventArgs> statusHandler = new EventHandler<SvnStatusEventArgs>

How to use SharpSVN in ASP.NET?

China☆狼群 提交于 2019-12-05 14:53:15
Trying to use use SharpSVN in an ASP.NET app. So far, it's been nothing but trouble. First, I kept getting permission errors on "lock" files (that don't exist), even though NETWORK SERVICE has full permissions on the directories. Finally in frustration I just granted Everyone full control. Now I get a new error: OPTIONS of ' https://server/svn/repo ': authorization failed: Could not authenticate to server: rejected Basic challenge ( https://server ) This happens whether I have the DefaultCredentials set below or not: using (SvnClient client = new SvnClient()) { //client.Authentication

How can I view the changes made after a revision is committed and parse it for comments?

…衆ロ難τιáo~ 提交于 2019-12-05 07:18:20
I was hoping to automate some tasks related to SubVersion, so I got SharpSvn. Unfortunately I cant find much documentation for it. I want to be able to view the changes after a user commits a new revision so I can parse the code for special comments that can then be uploaded into my ticket system. If you just want to browse SharpSvn you can use http://docs.sharpsvn.net/ . The documentation there is far from complete as the focus is primarily on providing features. Any help on enhancing the documentation (or SharpSvn itself) is welcome ;-) To use log messages for your issue tracker you can use

compiling a .net application with either a 32-bit or 64-bit dll

五迷三道 提交于 2019-12-02 13:41:48
问题 I have an application that we wrote here at work that uses the SharpSVN wrapper for SVN. It has served us well of the past few years. However, we have started bringing in 64-bit systems and our application cannot seem to access the SharpSVN dll on these systems. I have downloaded the 64-bit version of the SharpSVN dll and I am wondering what to do next. I cannot stop my 32-bit users from using the application, so I need to be able to compile for both platforms. Luckily, with this application,

compiling a .net application with either a 32-bit or 64-bit dll

落爺英雄遲暮 提交于 2019-12-02 07:16:05
I have an application that we wrote here at work that uses the SharpSVN wrapper for SVN. It has served us well of the past few years. However, we have started bringing in 64-bit systems and our application cannot seem to access the SharpSVN dll on these systems. I have downloaded the 64-bit version of the SharpSVN dll and I am wondering what to do next. I cannot stop my 32-bit users from using the application, so I need to be able to compile for both platforms. Luckily, with this application, we split different layers of the ntier stack into separate projects within the solution so my business

sharpsvn logmessage edit sharpsvn?

戏子无情 提交于 2019-12-01 23:20:15
问题 use the sharpsvn. The specific revision logmessage want to change. It is implemented like '[show log] -[edit logmessage]' of svn. I am awkward in English. so, to help you understand. my code is attached. public void logEdit() { Collection<SvnLogEventArgs> logitems = new Collection<SvnLogEventArgs>(); SvnRevisionRange range = new SvnRevisionRange(277, 277); SvnLogArgs arg = new SvnLogArgs( range ) ; m_svn.GetLog(new System.Uri(m_targetPath), arg, out logitems); SvnLogEventArgs logs; foreach

How to read each revision of file using sharpsvn client using c#?

坚强是说给别人听的谎言 提交于 2019-12-01 20:18:22
问题 How to read each revision of file using sharpsvn client using c# ? Not the revision numbers but the content of the file in each revisions............ 回答1: You can use SvnClient.FileVersions for this like described in a similar question public void WriteRevisions(SvnTarget target, SvnRevision from, SvnRevision to) { using(SvnClient client = new SvnClient()) { SvnFileVersionsArgs ea = new SvnFileVersionsArgs { Start = from, End = to }; client.FileVersions(target, ea, delegate(object sender2,