|
From: Kevin D. <kd...@op...> - 2004-12-15 07:05:57
|
Hi John, Under normal (Release build) circumstances , the xslt files are stored as embedded resources within the NDoc assemblies, and never exist on the file system. This makes deployment easier, and avoids file locking problems if there are multiple NDoc runs occurring concurrently. However, having embedded xslt files is a pain for development as one has to stop NDoc, recompile and rerun to test any change. So, in the debug builds in VS, we have defined a conditional compilation constant NO_RESOURCES. When this is set, NDoc does not use the embedded resources but instead uses the original sources which are at fixed location relative to the executables. If you move the executable, then the xslts will obviously not be found. If you really need to use a debug build and move the executable, then you should remove the NO_RESOURCES flag from the debug configuration for each documenter project.... Hope that shines some light on your problem ;) regards, Kevin --- "Never attribute to malice that which can be adequately explained by stupidity" > -----Original Message----- > From: ndo...@li... > [mailto:ndo...@li...] On Behalf Of > joh...@co... > Sent: Wednesday, 15 December 2004 6:34 AM > To: ndo...@li... > Subject: [ndoc-devel] NDoc 1.3 - Documenter folder usage > > I've always tested code changes within the debugger and > everything worked fine. > Today I moved the > NDocGui.exe > and all associated dlls and exe's to a folder here: > C:\Program Files\NDoc 1.3\bin\net\testbuild > > Now, the NDocGui.exe app causes errors because many of the > xslt files are not found. > > If copy the contents of the development Documenter folder (it > has the html, xslt etc files) to here: > C:\Program Files\NDoc 1.3\Documenter > > It will find the files and compile the help ok. > > I built in debug mode. Does this have anything to do with it? > I noticed the official release here: > C:\Program Files\NDoc 1.3\bin\net\1.1 > works fine without the > C:\Program Files\NDoc 1.3\Documenter > folder. > > Anyone have any hints where the paths to these xslt files are set? > It wants them to be in here for msdn style help. > C:\Program Files\NDoc 1.3\Documenter\Msdn\xslt > > ----- Original Message ----- > From: "Paul Selormey" <pa...@to...> > To: <ke...@kd...>; <ndo...@li...>; > <ndo...@li...> > Sent: Monday, December 13, 2004 5:04 PM > Subject: Re: [ndoc-devel] NDoc 1.3 - final call for bug reports > > > >I do not know if this is already reported, the only problem I am > >having right now is a crash when I do this... > > > > 1. Click the "ReferencePaths" to display the "ReferecePath > Collection > > Editor" > > 2. Click the "Add" button and there I get an exception. > > > > This is further information on the exception > > > > > ---------------------------------------------------------------------- > > ------------------------------------------------ > > > > ************** Exception Text ************** > > System.IO.FileNotFoundException: File or assembly name > > NDoc.ExtendedUI, or one of its dependencies, was not found. > > File name: "NDoc.ExtendedUI" > > at NDoc.Core.ReferencePathCollectionEditorForm.btnAdd_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.ControlNativeWindow.OnMessage(Message& m) > > at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) > > at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 > > msg, IntPtr wparam, IntPtr lparam) > > > > === Pre-bind state information === > > LOG: DisplayName = NDoc.ExtendedUI, Version=1.3.1782.0, > > Culture=neutral, > > PublicKeyToken=b9896512f28c0f09 > > (Fully-specified) > > LOG: Appbase = C:\Program Files\NDoc 1.3\bin\net\1.1\ > > LOG: Initial PrivatePath = NULL > > Calling assembly : NDoc.Core, Version=1.3.1782.0, Culture=neutral, > > PublicKeyToken=b9896512f28c0f09. > > === > > > > LOG: Publisher policy file is not found. > > LOG: Host configuration file not found. > > LOG: Using machine configuration file from > > C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config. > > LOG: Post-policy reference: NDoc.ExtendedUI, Version=1.3.1782.0, > > Culture=neutral, PublicKeyToken=b9896512f28c0f09 > > LOG: Attempting download of new URL file:///C:/Program Files/NDoc > > 1.3/bin/net/1.1/NDoc.ExtendedUI.DLL. > > LOG: Attempting download of new URL file:///C:/Program Files/NDoc > > 1.3/bin/net/1.1/NDoc.ExtendedUI/NDoc.ExtendedUI.DLL. > > LOG: Attempting download of new URL file:///C:/Program Files/NDoc > > 1.3/bin/net/1.1/NDoc.ExtendedUI.EXE. > > LOG: Attempting download of new URL file:///C:/Program Files/NDoc > > 1.3/bin/net/1.1/NDoc.ExtendedUI/NDoc.ExtendedUI.EXE. > > > > > > > > ************** Loaded Assemblies ************** mscorlib > > Assembly Version: 1.0.5000.0 > > Win32 Version: 1.1.4322.2032 > > CodeBase: > > file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll > > ---------------------------------------- > > NDocGui > > Assembly Version: 1.3.1782.0 > > Win32 Version: 1.3.1782.0 > > CodeBase: > > file:///C:/Program%20Files/NDoc%201.3/bin/net/1.1/NDocGui.exe > > ---------------------------------------- > > System.Windows.Forms > > Assembly Version: 1.0.5000.0 > > Win32 Version: 1.1.4322.2032 > > CodeBase: > > > file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5 > > c561934e089/system.windows.forms.dll > > ---------------------------------------- > > System > > Assembly Version: 1.0.5000.0 > > Win32 Version: 1.1.4322.2032 > > CodeBase: > > > file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/sy > > stem.dll > > ---------------------------------------- > > System.Drawing > > Assembly Version: 1.0.5000.0 > > Win32 Version: 1.1.4322.2032 > > CodeBase: > > > file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d > > 50a3a/system.drawing.dll > > ---------------------------------------- > > NDoc.Core > > Assembly Version: 1.3.1782.0 > > Win32 Version: 1.3.1782.0 > > CodeBase: > > file:///C:/Program%20Files/NDoc%201.3/bin/net/1.1/NDoc.Core.DLL > > ---------------------------------------- > > NDoc.Documenter.JavaDoc > > Assembly Version: 1.3.1782.0 > > Win32 Version: 1.3.1782.0 > > CodeBase: > > > file:///C:/Program%20Files/NDoc%201.3/bin/net/1.1/NDoc.Documenter.Java > > Doc.DLL > > ---------------------------------------- > > System.Xml > > Assembly Version: 1.0.5000.0 > > Win32 Version: 1.1.4322.2032 > > CodeBase: > > > file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e08 > > 9/system.xml.dll > > ---------------------------------------- > > NDoc.Documenter.Latex > > Assembly Version: 1.3.1782.0 > > Win32 Version: 1.3.1782.0 > > CodeBase: > > > file:///C:/Program%20Files/NDoc%201.3/bin/net/1.1/NDoc.Documenter.Late > > x.DLL > > ---------------------------------------- > > NDoc.Documenter.LinearHtml > > Assembly Version: 1.3.1782.0 > > Win32 Version: 1.3.1782.0 > > CodeBase: > > > file:///C:/Program%20Files/NDoc%201.3/bin/net/1.1/NDoc.Documenter.Line > > arHtml.DLL > > ---------------------------------------- > > NDoc.Documenter.Msdn > > Assembly Version: 1.3.1782.0 > > Win32 Version: 1.3.1782.0 > > CodeBase: > > > file:///C:/Program%20Files/NDoc%201.3/bin/net/1.1/NDoc.Documenter.Msdn > > .DLL > > ---------------------------------------- > > NDoc.Documenter.NativeHtmlHelp2 > > Assembly Version: 1.3.1782.0 > > Win32 Version: 1.3.1782.0 > > CodeBase: > > > file:///C:/Program%20Files/NDoc%201.3/bin/net/1.1/NDoc.Documenter.Nati > > veHtmlHelp2.DLL > > ---------------------------------------- > > Interop.MSHelpCompiler > > Assembly Version: 1.0.0.0 > > Win32 Version: 1.0.0.0 > > CodeBase: > > > file:///C:/Program%20Files/NDoc%201.3/bin/net/1.1/Interop.MSHelpCompil > > er.DLL > > ---------------------------------------- > > NDoc.Documenter.Xml > > Assembly Version: 1.3.1782.0 > > Win32 Version: 1.3.1782.0 > > CodeBase: > > > file:///C:/Program%20Files/NDoc%201.3/bin/net/1.1/NDoc.Documenter.Xml. > > DLL > > ---------------------------------------- > > 79dqpqga > > Assembly Version: 0.0.0.0 > > Win32 Version: 1.1.4322.2032 > > CodeBase: > > > file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/sy > > stem.dll > > ---------------------------------------- > > julbsptk > > Assembly Version: 0.0.0.0 > > Win32 Version: 1.1.4322.2032 > > CodeBase: > > > file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/sy > > stem.dll > > ---------------------------------------- > > iv9g4ia2 > > Assembly Version: 0.0.0.0 > > Win32 Version: 1.1.4322.2032 > > CodeBase: > > > file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/sy > > stem.dll > > ---------------------------------------- > > System.Design > > Assembly Version: 1.0.5000.0 > > Win32 Version: 1.1.4322.2032 > > CodeBase: > > > file:///c:/windows/assembly/gac/system.design/1.0.5000.0__b03f5f7f11d5 > > 0a3a/system.design.dll > > ---------------------------------------- > > Accessibility > > Assembly Version: 1.0.5000.0 > > Win32 Version: 1.1.4322.573 > > CodeBase: > > > file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d5 > > 0a3a/accessibility.dll > > ---------------------------------------- > > > > ************** JIT Debugging ************** To enable just in time > > (JIT) debugging, the config file for this application or machine > > (machine.config) must have the jitDebugging value set in the > > system.windows.forms section. > > The application must also be compiled with debugging enabled. > > > > For example: > > > > <configuration> > > <system.windows.forms jitDebugging="true" /> </configuration> > > > > When JIT debugging is enabled, any unhandled exception will > be sent to > > the JIT debugger registered on the machine rather than > being handled > > by this dialog. > > > > > ---------------------------------------------------------------------- > > ------------------------------ > > > > > > ----- Original Message ----- > > From: "Kevin Downs" <kd...@op...> > > To: <ndo...@li...>; > > <ndo...@li...> > > Sent: Monday, December 13, 2004 5:11 PM > > Subject: [ndoc-devel] NDoc 1.3 - final call for bug reports > > > > > >> Hi everyone, > >> > >> This is a final call-out before the official release of > 1.3 - If you > >> have any bugs that you have not yet submitted, do so > within the next 24 hours! > >> > >> If there are no 'show-stoppers', I will release 1.3 in a couple of > >> days time... :) > >> > >> > >> regards, > >> Kevin > >> > >> --- > >> "Make it idiot-proof, and someone will make a better idiot..." > >> > >> > >> > >> > >> ------------------------------------------------------- > >> SF email is sponsored by - The IT Product Guide Read > honest & candid > >> reviews on hundreds of IT Products from real users. > >> Discover which products truly live up to the hype. Start > reading now. > >> http://productguide.itmanagersjournal.com/ > >> _______________________________________________ > >> ndoc-devel mailing list > >> ndo...@li... > >> https://lists.sourceforge.net/lists/listinfo/ndoc-devel > >> > >> > > > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide Read honest > & candid > > reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start > reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > ndoc-devel mailing list > > ndo...@li... > > https://lists.sourceforge.net/lists/listinfo/ndoc-devel > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide Read honest & > candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > ndoc-devel mailing list > ndo...@li... > https://lists.sourceforge.net/lists/listinfo/ndoc-devel > |