Odd new wyBuild exception

Hello-

I've been happily using wyBuild and wyUpdate for probably 3 years now.

All of a sudden today I get this exception when I try to build an update:

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************System.IO.FileNotFoundException: Could not find file 'C:\Users\wjs\Desktop\wyBuild\EASy\..\..\ODVersions\opendental13.1b\EASy13.1\bin\x86\Release\Anesthesia13.1.dll'.File name: 'C:\Users\wjs\Desktop\wyBuild\EASy\..\..\ODVersions\opendental13.1b\EASy13.1\bin\x86\Release\Anesthesia13.1.dll' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileInfo.get_Length() at wyBuild.Project.DiffRevisions(Revision oldRev, Revision newRev, Object[] oldRevDir, TreeNode newRevDir, String baseString, UpdateDetails updDetails, Boolean allowExBefore, SortedList[] deleteForCatchAll) at wyBuild.Project.BuildUpdate(Int32 revisionFromIndex, Int32 revisionToIndex, UpdateBuilder updateBuilder, Boolean createCatchAll) at wyBuild.frmMain.BuildUpdate() at wyBuild.frmMain.btnBuildUpdate_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5472 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll----------------------------------------wybuild Assembly Version: 2.6.18.4 Win32 Version: 2.6.18.4 CodeBase: file:///C:/Program%20Files%20(x86)/wyBuild/wybuild.exe----------------------------------------System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll----------------------------------------System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll----------------------------------------System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll----------------------------------------Controls Assembly Version: 2.6.18.0 Win32 Version: 2.6.18.0 CodeBase: file:///C:/Program%20Files%20(x86)/wyBuild/Controls.DLL----------------------------------------System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5476 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll----------------------------------------System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5476 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll----------------------------------------Accessibility Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll----------------------------------------

************** JIT Debugging **************To enable just-in-time (JIT) debugging, the .config file for thisapplication or computer (machine.config) must have thejitDebugging value set in the system.windows.forms section.The application must also be compiled with debuggingenabled.

For example:

<configuration> <system.windows.forms jitDebugging="true" /></configuration>

When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registered on the computerrather than be handled by this dialog box.

I don't know why it's referencing my build folder for that dll instead of the folder I've created for this update.

OK well this is odd.

I had moved the folder that it is referencing in the exception into a subfolder called 'archived'. Moving it back to it's original location clears the exception. That folder is from an earlier version, but I've always copied all the latest version of my dll into its individual wyBuild folder. So is it possible that Windows has corrupted the filepath for the last version's dll somehow? Any ideas as to how to correct the problem, short of never moving or deleting that folder?

Hmmm. Well nvm.

I went back and checked on the file path for an older update and indeed found one where that dll's path was the build folder. I've built and updated many times since that version, so it's odd that it would crop up now.

Curiouser and curioser...

Well, wyBuild should warn you if a file doesn't exist (or has been moved). It sounds like you were moving or deleteing files while wyBuild was in the process of building your updates. Is that right?

Thanks for asking - I'm not sure.

It looks like the problem was that I had deleted the folder for that particular build off of the hard drive somehow but not in wyBuild. The file in question did indeed have the wrong path as well, but that was a red herring. Not sure if I had deleted that folder sometime in the past, or when I was building. I suspect I deleted it because I was getting the file not found error, and never thought to check if that file's path was correct. I guess I just forgot to delete that version from wyBuild as well.