Tagged Questions
1
vote
0answers
25 views
Visual-SVN Server C# code not properly adding user permissions (version 2.7.2)
Story time! One of our more disgruntled employees decided to upgrade visual svn and modify our web interface a day before his last day. We had the old authentication set up, and it was all working ...
0
votes
0answers
42 views
SharpSVN: Unable to connect to a repository at URL | Access Forbidden
client.Authentication.DefaultCredentials = new NetworkCredential("login",
"pswd",
...
0
votes
0answers
16 views
SharpSVN doesn't update files
client.Resolve(dir, SvnAccept.TheirsFull);
Console.WriteLine("Updating...");
if (client.Update(dir, new SvnUpdateArgs() { UpdateParents = true }) )
...
6
votes
3answers
183 views
How to organize our javascript in mulitple visual studio projects
In our solution in VS2012 we have multiple web applications that all require javascript. We developed a single page application using Telerik's Kendo UI for MVC4 ASP.Net in combination with jQuery and ...
0
votes
0answers
12 views
How to convert svnkit's jars to dlls by using ikvmc
I use the fatjar to convert the svnkit's jars to a big jar.
Then I use ikvmc to convert it like this:
ikvmc -target:library myJarPath
Then I use this dll in my C# project,But it has a problem ...
0
votes
1answer
22 views
SharpSVN wrong assembly
"Unable to find assembly 'SharpSvn, Version=1.7002.1998.12257, Culture=neutral, PublicKeyToken=d729672594885a28'."
http://sharpsvn.open.collab.net/docs/walkthrough.htm#svn_checkout
doing everything ...
0
votes
0answers
47 views
error MSB6006: “svnversion.exe” exited with code 1
I am trying to get revision number from svn to put on my AssemblyInfo.cs file. I already made that on my computer and works fine. But when I use hudson to build and deploy my application automatically ...
0
votes
1answer
45 views
Jira/Subversion/CruiseControl release notes, migrate to bamboo?
We are using a combination of Jira, Subversion and CruiseControl.net in our workflow. With each commit, the corresponding Issue-ID is stored in a bugtraq-property of svn. Jira accesses the repository ...
0
votes
2answers
43 views
Need Help Writing SVN Code Review Tool
I am working on writing a SVN Code Review Tool for my team. We use VisualSVN Server on the server side and TortoiseSVN on the client side.
What I am trying to do write a Post-Commit hook that will ...
1
vote
0answers
348 views
SharpSVN: Unable to connect to repository at URL
I'm trying to write a SVN hook in C# that determines the branches a transaction was commited to. Although it is unlikely and defies common sense to commit into multiple branches, I still want to know ...
0
votes
0answers
72 views
After rebuilding WCF solution, IIS serves old XSD and WSDL files
I just rebuilt my WCF solution using VS2010 and uploaded it onto a Windows 2008 server with IIS 7.5 on it. For some reason, even after cleaning up Temporary ASP.NET files, restarting the server - ...
1
vote
2answers
89 views
Best practice for writing a custom portion of code?
Found thinking of a title a little tricky, but basically my question is how do you keep a system as generic (right term?) as possible when needing to write customer special code.
My scenario is that ...
0
votes
2answers
44 views
Visual svn dump file size 0kb
I have console application. In that I am taking copy of my svn project.my code is:
System.Diagnostics.Process process = new System.Diagnostics.Process();
System.Diagnostics.ProcessStartInfo startInfo ...
0
votes
0answers
56 views
Is there an open-source SVN GUI for WPF?
I am looking for a version control component (preferably SVN, but could be CVS or Git) which has a C# API and, ideally, a GUI so that it can be tightly integrated into my (WPF-based) app.
The GUI ...
0
votes
1answer
25 views
SvnExeption throw “Disk I/O error”
I have this error:
When i do checkout in svn, using svnclient (in c#), throw an exception(svnexception).
The message: "disk I/O error".
The problem is that a lot of files are downloaded.
Anyone ...
0
votes
1answer
39 views
Write to standard input when svn is asking for password - c# process
I am trying to create an app that uses the Subversion command-line. I can pass through the username with the following:
process.StandardInput.WriteLine(Program.UserName);
And after that it asks for ...
0
votes
1answer
56 views
TeamCity - using 2 svn folders
I'm trying to build a project in TeamCity which contains some DLLs that the .csproj file is using, but I keep getting an error (CS0246) because they can't access the folder that they are in.
I added ...
0
votes
1answer
37 views
Updating repository after Checkout with Empty depth
I`m using SharpSVN.
How can I split Checkout method logic into two steps:
Create an empty svn folder
Update to HEAD revision
Here is how do I do the first step with SvnDepth.Empty argument
var ...
0
votes
1answer
84 views
how to get VisualSVN Repository URL in C# using WMI [duplicate]
I want get the VisualSVN Repository URL from C# code. I know their is a way to get it by using WMI methods. But i didn't know how to do it. Can anyone help me..
0
votes
0answers
18 views
Alternative library to NSvn for x64 in C#?
While migrating an application to a 64-bit system I have the problem to update the NSvn wrapper. According to this post SVN Libraries for .NET? this lib is no more available in the original design. I ...
3
votes
3answers
625 views
Linking Tortoise SVN revision number to assembly version
I'm developing a program in C# .net in visual studio and version controlling it with tortoise SVN.
at present I'm creating the assembly version based on the build number.
Is there a way I can link ...
0
votes
2answers
145 views
How to link software versions to tortoise svn revisions
I'm developing a C# .net application in visual studio that I'm version controlling with tortoise SVN.
My question is this:
Is there a way i can link the assembly version of my main project eg:
...
0
votes
2answers
35 views
What is R60, R72, and MINE file?
I was building a DataAccessLayer using C# in VS 2012, and in my project, there are three files which I don't know how to deal with.
DataAccessLayer.csproj.mine
DataAccessLayer.csproj.r60
...
1
vote
1answer
92 views
SharpSVN: GetList command ommits Uris if filtered by revision
I'm using SharpSvn.1.7-x64.1.7010.2403 (provided by NuGet) in a .NET 4.0 Console project. The svn list command is used by me frequently:
Collection<SvnListEventArgs> list;
client.GetList(new ...
1
vote
1answer
101 views
Delete local SVN authentication credentials with SharpSVN
I’m using SharpSVN.
I have to delete the SVN authentication credentials stored in the PC.
I try with
using (SvnClient client = new SvnClient())
{
// Clear predefined handlers and previous ...
1
vote
1answer
64 views
pass svn revision number to cruise control api from C#
I want to pass different svn revision numbers to cruisecontrol, so that it can create different builds for all provided revision numbers. I tried using cruise control API to do force build
const ...
1
vote
1answer
295 views
Save locally SVN authentication credentials with SharpSVN
I’m using SharpSVN.
I want to store the SVN credential in pc.
I have try to set credentials updating default credentials
using (SvnClient client = new SvnClient())
{
...
1
vote
1answer
66 views
Chained builds using Jenkins and SVN?
I'm attempting to set up a build hierarchy in Jenkins of this type:
A tools DLL gets built due to code changes checked in to SVN.
If that build succeeds, the DLL is then copied to the references ...
0
votes
0answers
16 views
Is there any lib like pysvn in C#
I want to Up/Commit/Diff SVN in my application. The pysvn can do it, but my application write by C#. So I google it, but no any lib like pysvn in C#. How can I Up/Commit/Diff SVN in C#
1
vote
1answer
241 views
SVN and Jenkins for C# on same machine (ubuntu)
i am facing the following problem. I would like to implement the approach of CI with jenkins into my Project. The project is written in C#.
I have an ubuntu server v. 12.0.4.2 LTS. The idea is to run ...
0
votes
0answers
164 views
csproj reference has relative hint path that takes it out of source control
Our group solution has a csproj file with the following:
<ItemGroup>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.Web.Administration, Version=7.0.0.0, ...
0
votes
1answer
175 views
Check updates in specific directory in svn c#
I'm trying to check if a certain svn subdirectory was updated, and if so, update my entire working directory.
Here is what I do:
SvnClient svnClient = new SvnClient();
SvnWorkingCopyClient ...
0
votes
1answer
73 views
Checking if SVN was updated C#
I'm trying to check if the svn was updated, and I don't wish to use SharpSVN.
I'm trying to use the Process class.
In batch, this is what I would normally do: svn st -u <svn path> | find "*"
...
-4
votes
2answers
70 views
Checkout a working copy of a SQL Server database using C#
I think the title speaks for itself. I need to checkout a working copy of a database on SQL Server, to my own computer, using C#. Pretty much like SVN. In this copy I must be able to ...
0
votes
1answer
113 views
Process to export svn files hangs with Process.Start()
I try to execute a .cmd to export files from SVN, it works manually and in my local machine(WS2003 SP2 IIS Identiy: Local System), but it fails in the execution server (same configuration).
The ...
1
vote
0answers
62 views
C# svnadmin dump, strange behavior
i've written a c# application to check if a repository should be dumper or not (using some paramenters)
I've compiled this application on my computer (Winsows 8) where it works as intended.
When i ...
0
votes
0answers
130 views
Fastest way of running SVN updates in C#.NET
I'm trying to run an SVN update using C#. I know of a few ways to do this, but I don't know which is best.
Now, I'll start off by defining best: I'm looking for a method which doesn't care for CPU ...
0
votes
0answers
31 views
Dual file browsers and SVN Externals
hoping for lots of insight and pointers on this one as there are a lot of elements to this I'm not familiar with.
I'm currently using SVN, and often have a need for multiple projects to use a ...
0
votes
2answers
86 views
Determine SVN working copy revision from C#
I'm writing a small console tool in C# that needs to know the revision number of an SVN working copy directory to process other data with this number. I already have support for SVN 1.4 to 1.6 by ...
2
votes
2answers
188 views
In SharpSvn, what's SvnClient.getinfo return value?
In SharpSvn's documentation I found (here), the return value of SvnClient.getinfo (boolean type) is missing. Can anyone help with that?
Thanks.
0
votes
1answer
56 views
SvnSharp's SvnLookClient changed item actions explanation
The property Action of an SvnChangedEventArgs is of type SvnChangeAction enum, but I can't find what each enum value means.
The possible values are None, Add, Delete, Modify and Replace.
I tested and ...
3
votes
4answers
254 views
using svn diff command in code
Hi i have a problem using svn command in code behind :
public void SvnDiff(int rev1, int rev2)
{
try
{
var p = new Process();
...
4
votes
1answer
1k views
Could not load file or assembly 'SharpSvn' or one of its dependencies. An attempt was made to load a program with an incorrect format
I just downloaded the 64bit version of the SharpSVN here's the link!
When I run my application, error message displayed. I have searched the net on how to fix this issue but I'm failed. I tried the ...
0
votes
1answer
20 views
anksvn checkin file
I am using the most recent version of anksvn for a visual studio 2008 project file. I now
want to check this code into anksvn, but I am having a problem.
The situtation is, I checked in the most ...
1
vote
1answer
110 views
SharpSVN Sync Command C#
I am trying to automate a svnsync init and svnsync sync process via sharpsvn.
I am unable to find any documentation regarding svnsync on the provided docs.
So far I am able to successfully create a ...
0
votes
1answer
68 views
Utiltizing SVN commands from a custom interface
I'm looking to automate the GUI available for TortoiseSVN. Rather than using the one provided and manually inputting the urls, I would like to save off various urls that I switch to on a daily basis ...
0
votes
1answer
205 views
Can't determine the user's config path (when trying to get the revision number)
I am using SharpSVN dll with my Visual Studio 2010 to get the latest revision number so I can version my project using this number. I tried this piece of code below but it gives me error saying:
...
6
votes
3answers
306 views
Can't read root
So I'm using SharpSVN(SharpSvn.1.7-x86 1.7008.2243) and I keep running into a problem. Every time I try to use the SvnWorkingCopyClient on a repo that's at the root of a drive( for example say I have ...
1
vote
1answer
117 views
svn command-line commands are not working in webpage after publishing at IIS server
i am using svn cmd line commands to fetch the top revision number from SVN server in c#.net webpage as below.
ProcessStartInfo processStartInfoSVNorTFS = new ...
2
votes
1answer
424 views
SVN Pre-commit hook for avoiding commits to specific branches
What is a possible way to block svn commits to specified branches using c#? How could I get the path of the branch from the arguments in the pre-commit hook? (or any other suggestions for getting the ...