I found an issue with the PostBuild.bat file that was causing the build to fail. After lots of “echo” debug calls within the file and systematically removing lines from the ClearCanvas post-build script, I realized it was a Windows path issue. Note that you will never see the issue if your development paths don’t have any spaces in them. Mine do, and that’s where the trouble came in!

 

Here is the part of the ClearCanvas post-build batch file that I changed in order to fix the issue. I had to add a second set of double quotes around the first parameter of the call command. This is in the file located at “Desktop\Executable\PostBuild.bat”.

 

:: Run the solution specific batch file

call ""%1\PostBuild.bat"" %2

 

Also, I added double quotes around all of the paths for the copying of files, deletion of files, etc. I don’t know if they’re necessary, but things seem to work with them in there. I’d recommend it.

 

 

Another “message” that came up during the post-build script was for the ImageViewer Solution-specific script. It was unable to find a path to one of the files. This PostBuild.bat file is located at “ImageViewer\PostBuild.bat”. The problem line was (on line 20):

            copy "..\..\..\..\DataStore\bin\%1\ClearCanvas.DataStore.dll" ".\Common"

So, I poked around and found that the file that I think it was looking for was:

            copy "..\..\..\..\Dicom\DataStore\bin\%1\ClearCanvas.Dicom.DataStore.dll" ".\Common"

 

 

I hope that this helps anyone having issues building with the new release of v0.95.

 

 

 

 

Keith Markfield
Software Engineer

Empiric Systems, LLC
[EMAIL PROTECTED]
866-EMPIRIC

The information contained in this message may be privileged or confidential and protected from disclosure. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to this message and delete the material from any computer.

 

_______________________________________________
dev mailing list
[email protected]
http://clearcanvas.ca/mailman/listinfo/dev_clearcanvas.ca

Reply via email to