Re: Relative path running a windows batch

2012-08-22 Thread nietzsche44
de 2012 16:25:52 UTC+2, slide escribió: > How are you specifying your build? Are you passing an sln file to msbuild? > If not, I am not sure msbuild will set the SolutionDir variable. > > Sent from my Windows Phone > -- > From: nietzsche44 > Sent:

Re: Relative path running a windows batch

2012-08-21 Thread nietzsche44
Sorry slide I wasn't aware of that possibility, the problem is that I have not Visual Studio installed in the server. David I am specifying the command in Visual Studio (the server downloads the code from the repository) in the tab Build Events, Post-Build event command line textbox. Thank y

Re: Relative path running a windows batch

2012-08-20 Thread nietzsche44
ens if you build using devenv.exe instead of msbuild.exe? > > Thanks, > > slide > > On Mon, Aug 20, 2012 at 7:27 AM, nietzsche44 > > > wrote: > > Hi, > > > > I am using Jenkins to build a C# project that includes a postbuild event > >

Relative path running a windows batch

2012-08-20 Thread nietzsche44
Hi, I am using Jenkins to build a C# project that includes a postbuild event that copies a file using a relative path: copy $(TargetPath) $(SolutionDir)..\CustomFolder\ But the copy fails because of the relative path ..\ I've made some tests executing a simple Windows batch command using r