From: Jean-Claude M. <jc...@us...> - 2003-06-27 00:55:37
|
Update of /cvsroot/ndoc/ndoc/src/Documenter/LinearHtml In directory sc8-pr-cvs1:/tmp/cvs-serv23598/src/Documenter/LinearHtml Modified Files: LinearHtml.csproj LinearHtmlDocumenter.cs Log Message: Fixed the NO_RESOURCES case. Index: LinearHtml.csproj =================================================================== RCS file: /cvsroot/ndoc/ndoc/src/Documenter/LinearHtml/LinearHtml.csproj,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** LinearHtml.csproj 27 May 2003 03:53:43 -0000 1.2 --- LinearHtml.csproj 27 Jun 2003 00:55:33 -0000 1.3 *************** *** 29,33 **** CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" ! DefineConstants = "DEBUG;TRACE" DocumentationFile = "" DebugSymbols = "true" --- 29,33 ---- CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" ! DefineConstants = "DEBUG;TRACE;NO_RESOURCES" DocumentationFile = "" DebugSymbols = "true" Index: LinearHtmlDocumenter.cs =================================================================== RCS file: /cvsroot/ndoc/ndoc/src/Documenter/LinearHtml/LinearHtmlDocumenter.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** LinearHtmlDocumenter.cs 26 Jun 2003 13:18:27 -0000 1.7 --- LinearHtmlDocumenter.cs 27 Jun 2003 00:55:33 -0000 1.8 *************** *** 41,45 **** using System.Xml.XPath; using System.Xml.Xsl; ! using NDoc.Core; --- 41,45 ---- using System.Xml.XPath; using System.Xml.Xsl; ! using System.Reflection; using NDoc.Core; *************** *** 256,260 **** // without having to shutdown the application to rebuild. #if NO_RESOURCES ! string mainModuleDirectory = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); resourceDirectory = Path.GetFullPath(Path.Combine(mainModuleDirectory, @"..\..\..\Documenter\Msdn\")); #else --- 256,260 ---- // without having to shutdown the application to rebuild. #if NO_RESOURCES ! string mainModuleDirectory = Path.GetDirectoryName(Assembly.GetCallingAssembly().Location); resourceDirectory = Path.GetFullPath(Path.Combine(mainModuleDirectory, @"..\..\..\Documenter\Msdn\")); #else |