Hi, working with 12.5.2, doing a simple publish to http://localhost/<appname>, and worked fine the first few times. However, now suddenly, I'm getting the error:
pbiu complete with exitcode=1. Log results follow:
Cannot copy related files to lcal publish folder.
So I check out the log file, and it shows the following:
Intelligent Updater Trace output file: C:\Dev\PB 12.5.net\CCC4\ccc.out\bin\debug\pbiupub.log
---------------------------------
Exception Time: 2014-02-18 23:29:51.5547570
Process ID: 5180
AppDomain: pbiu.exe Domain ID: 1
Managed Thread ID: 1
Current Thread State: Running
Method: Void WinIOError(Int32, System.String)
Exception Type: System.IO.FileNotFoundException
Exception Message: Could not find file 'C:\Dev\PB 12.5.net\CCC4\ccc.out\bin\debug\reachframework.dll'.
Exception Source: mscorlib
Exception StackTrace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
at PBIntelligentUpdater.FileOrganization.CopyRelatedFiles()
at PBIntelligentUpdater.FileOrganization.PrepareLocalFiles()
Exception Call Stack: at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at PBIntelligentUpdater.PublishLogger.logException(Exception ex, Boolean logCallStack)
at PBIntelligentUpdater.PublishLogger.LogException(Exception e)
at PBIntelligentUpdater.FileOrganization.PrepareLocalFiles()
at PBIntelligentUpdater.PublishEngine.doPublish(PublishProperty myProperty)
at PBIntelligentUpdater.PublishEngine.doPublish(String strXmlFileName)
at PBIntelligentUpdater.Program.Main(String[] args)
---------------------------------
This is the 2nd time I've run into this problem with this project. At one point, I could not get past this, even though this file exists, and is part of the .net framework. And everything has worked fine, and published fine until this point. I haven't added anything new, simple modification of code. We're talking about a simple two window app. nothing sophisticated whatsoever. And this error is very annoying as I have googled my fingers off, and can't seem to find anything about this, other than a ton of sites offering to have you download "their" fixed version of this file.
And the thing is, this reference is not marked for Copy Local, nor was it before, nor does it need to be since it's part of the framework, which I find extremely frustrating as it's never required it before, and even if I mark it for copy local, it doesn't copy it, and I can't figure out why it's suddenly requiring this file to be in the debug directory, and can't seem to find it. I'm at the end of my rope on this one. Thanks in advance!
System: Windows 7 64 bit
PB: 12.5.2 5602
--Brian