cphillips83 / csharptest-net

Automatically exported from code.google.com/p/csharptest-net
0 stars 0 forks source link

To start debugging JIRASVN #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I have download your source code and want to start debugging your UI on my 
visual studio, but it keep complaining that i am missing a bunch of things.

Do you know how can i debug without tortoisesvn? how do you setup all those 
svn properties within the debug mode so I can just run the JIRASVN pop up?

thanks

Original issue reported on code.google.com by michelle...@gmail.com on 23 Feb 2010 at 8:33

GoogleCodeExporter commented 8 years ago
LOL, yea... it's kinda a pain in the neck.  I've done the whole 'attach to 
process' thing under the debug menu but that 
isn't much fun.  So to debug the UI and issue update etc, I use the SvnEditor 
project.  The SvnEditor is the command-line 
checkin dialog that can integrate directly with svn instead of TortoiseSVN.  
Since it's a command line app you just need 
to feed it a comment file much like SVN would:

So here is the setup:
1. The post-build of SvnEditor should already have the following:
  <PropertyGroup>
    <PostBuildEvent>ECHO . > C:\svn-commit.tmp.txt</PostBuildEvent>
  </PropertyGroup>

2. Set your user options (SvnEditor.csproj.user) to the following:
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <StartArguments>C:\svn-commit.tmp.txt</StartArguments>
    <StartWorkingDirectory>E:\source\code\directory</StartWorkingDirectory>
  </PropertyGroup>
  <PropertyGroup>
    <ProjectView>ProjectFiles</ProjectView>
  </PropertyGroup>
</Project>

3. Change the path "StartWorkingDirectory" above to the svn directory with the 
jira bugtraq options

4. Set SvnEditor as the startup project and click F5

Original comment by Grig...@gmail.com on 25 Feb 2010 at 2:13