Menu

#7 System.IO.DirectoryNotFoundException

open
nobody
None
5
2006-11-08
2006-11-08
Anonymous
No

Error compiling the namespace stylesheet

Exception: NDoc.Core.DocumenterException

Error compiling the namespace stylesheet

Exception: System.Exception

Error compiling the namespace stylesheet

Exception: System.IO.DirectoryNotFoundException

Could not find a part of the path
'C:\Documenter\Msdn\xslt\namespace.xslt'.

Exception: NDoc.Core.DocumenterException
at NDoc.Documenter.Msdn.MsdnDocumenter.Build(Project
_project) in C:\Documents and
Settings\Administrator\Desktop\NDoc2005\src\Documenter\Msdn\MsdnDocumenter.cs:line
565

at NDoc.Gui.BuildWorker.ThreadProc() in C:\Documents
and
Settings\Administrator\Desktop\NDoc2005\src\Gui\BuildWorker.cs:line
88

Exception: System.Exception
at
NDoc.Documenter.Msdn.StyleSheetCollection.MakeTransform(String
name, XsltResourceResolver resolver) in C:\Documents
and
Settings\Administrator\Desktop\NDoc2005\src\Documenter\Msdn\StyleSheetCollection.cs:line
115

at
NDoc.Documenter.Msdn.StyleSheetCollection.AddFrom(String
name, XsltResourceResolver resolver) in C:\Documents
and
Settings\Administrator\Desktop\NDoc2005\src\Documenter\Msdn\StyleSheetCollection.cs:line
96

at
NDoc.Documenter.Msdn.StyleSheetCollection.LoadStyleSheets(String
extensibilityStylesheet) in C:\Documents and
Settings\Administrator\Desktop\NDoc2005\src\Documenter\Msdn\StyleSheetCollection.cs:line
58

at NDoc.Documenter.Msdn.MsdnDocumenter.Build(Project
_project) in C:\Documents and
Settings\Administrator\Desktop\NDoc2005\src\Documenter\Msdn\MsdnDocumenter.cs:line
400

Exception: System.IO.DirectoryNotFoundException
at System.IO.__Error.WinIOError(Int32 errorCode,
String maybeFullPath)

at System.IO.FileStream.Init(String path, FileMode
mode, FileAccess access, Int32 rights, Boolean
useRights, FileShare share, Int32 bufferSize,
FileOptions options, SECURITY_ATTRIBUTES secAttrs,
String msgPath, Boolean bFromProxy)

at System.IO.FileStream..ctor(String path, FileMode
mode, FileAccess access, FileShare share, Int32 bufferSize)

at System.Xml.XmlDownloadManager.GetStream(Uri uri,
ICredentials credentials)

at System.Xml.XmlUrlResolver.GetEntity(Uri
absoluteUri, String role, Type ofObjectToReturn)

at NDoc.Core.XsltResourceResolver.GetEntity(Uri
absoluteUri, String role, Type ofObjectToReturn) in
C:\Documents and
Settings\Administrator\Desktop\NDoc2005\src\Core\XsltResourceResolver.cs:line
138

at
NDoc.Documenter.Msdn.StyleSheetCollection.MakeTransform(String
name, XsltResourceResolver resolver) in C:\Documents
and
Settings\Administrator\Desktop\NDoc2005\src\Documenter\Msdn\StyleSheetCollection.cs:line
105

Discussion

  • Günter Lissner

    Günter Lissner - 2007-07-17

    Logged In: YES
    user_id=1843091
    Originator: NO

    This is a result of the conditional compilation symbol 'NO_RESOURCES' used while building the application. It may be used for debugging purpouse.

    The application will search XSL transformation files in the file system instead inside the resource assembly as long as this compiler switch is used.

    To workaround, rebuild the application after removing the compiler switch 'NO_RESOURCES' for the documenter sub-project (e.g. Msdn, Latex, etc.) in Visual Studio.

     
  • Günter Lissner

    Günter Lissner - 2007-07-17

    Logged In: YES
    user_id=1843091
    Originator: NO

    Another possibility may be to build the release version of the solution. It is configured without using 'NO_RESOURCES' compiler define.

     
  • Nobody/Anonymous

    Logged In: NO

    Keep up the good work.

    Just confirming the same bug:

    Error compiling the namespace stylesheet

    Exception: NDoc.Core.DocumenterException

    Error compiling the namespace stylesheet

    Exception: System.Exception

    Error compiling the namespace stylesheet

    Exception: System.IO.DirectoryNotFoundException

    Could not find a part of the path 'C:\Documents and Settings\Documenter\Msdn\xslt\namespace.xslt'.

    Exception: NDoc.Core.DocumenterException
    at NDoc.Documenter.Msdn.MsdnDocumenter.Build(Project _project) in C:\Documents and Settings\Administrator\Desktop\NDoc2005\src\Documenter\Msdn\MsdnDocumenter.cs:line 565

    at NDoc.Gui.BuildWorker.ThreadProc() in C:\Documents and Settings\Administrator\Desktop\NDoc2005\src\Gui\BuildWorker.cs:line 88

    Exception: System.Exception
    at NDoc.Documenter.Msdn.StyleSheetCollection.MakeTransform(String name, XsltResourceResolver resolver) in C:\Documents and Settings\Administrator\Desktop\NDoc2005\src\Documenter\Msdn\StyleSheetCollection.cs:line 115

    at NDoc.Documenter.Msdn.StyleSheetCollection.AddFrom(String name, XsltResourceResolver resolver) in C:\Documents and Settings\Administrator\Desktop\NDoc2005\src\Documenter\Msdn\StyleSheetCollection.cs:line 96

    at NDoc.Documenter.Msdn.StyleSheetCollection.LoadStyleSheets(String extensibilityStylesheet) in C:\Documents and Settings\Administrator\Desktop\NDoc2005\src\Documenter\Msdn\StyleSheetCollection.cs:line 58

    at NDoc.Documenter.Msdn.MsdnDocumenter.Build(Project _project) in C:\Documents and Settings\Administrator\Desktop\NDoc2005\src\Documenter\Msdn\MsdnDocumenter.cs:line 400

    Exception: System.IO.DirectoryNotFoundException
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)

    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)

    at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)

    at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)

    at NDoc.Core.XsltResourceResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) in C:\Documents and Settings\Administrator\Desktop\NDoc2005\src\Core\XsltResourceResolver.cs:line 138

    at NDoc.Documenter.Msdn.StyleSheetCollection.MakeTransform(String name, XsltResourceResolver resolver) in C:\Documents and Settings\Administrator\Desktop\NDoc2005\src\Documenter\Msdn\StyleSheetCollection.cs:line 105

     
  • Nobody/Anonymous

    Logged In: NO

    Keep up the good work.

    Just confirming the same bug:

    Error compiling the namespace stylesheet

    Exception: NDoc.Core.DocumenterException

    Error compiling the namespace stylesheet

    Exception: System.Exception

    Error compiling the namespace stylesheet

    Exception: System.IO.DirectoryNotFoundException

    Could not find a part of the path 'C:\Documents and Settings\Documenter\Msdn\xslt\namespace.xslt'.

    Exception: NDoc.Core.DocumenterException
    at NDoc.Documenter.Msdn.MsdnDocumenter.Build(Project _project) in C:\Documents and Settings\Administrator\Desktop\NDoc2005\src\Documenter\Msdn\MsdnDocumenter.cs:line 565

    at NDoc.Gui.BuildWorker.ThreadProc() in C:\Documents and Settings\Administrator\Desktop\NDoc2005\src\Gui\BuildWorker.cs:line 88

    Exception: System.Exception
    at NDoc.Documenter.Msdn.StyleSheetCollection.MakeTransform(String name, XsltResourceResolver resolver) in C:\Documents and Settings\Administrator\Desktop\NDoc2005\src\Documenter\Msdn\StyleSheetCollection.cs:line 115

    at NDoc.Documenter.Msdn.StyleSheetCollection.AddFrom(String name, XsltResourceResolver resolver) in C:\Documents and Settings\Administrator\Desktop\NDoc2005\src\Documenter\Msdn\StyleSheetCollection.cs:line 96

    at NDoc.Documenter.Msdn.StyleSheetCollection.LoadStyleSheets(String extensibilityStylesheet) in C:\Documents and Settings\Administrator\Desktop\NDoc2005\src\Documenter\Msdn\StyleSheetCollection.cs:line 58

    at NDoc.Documenter.Msdn.MsdnDocumenter.Build(Project _project) in C:\Documents and Settings\Administrator\Desktop\NDoc2005\src\Documenter\Msdn\MsdnDocumenter.cs:line 400

    Exception: System.IO.DirectoryNotFoundException
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)

    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)

    at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)

    at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)

    at NDoc.Core.XsltResourceResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) in C:\Documents and Settings\Administrator\Desktop\NDoc2005\src\Core\XsltResourceResolver.cs:line 138

    at NDoc.Documenter.Msdn.StyleSheetCollection.MakeTransform(String name, XsltResourceResolver resolver) in C:\Documents and Settings\Administrator\Desktop\NDoc2005\src\Documenter\Msdn\StyleSheetCollection.cs:line 105

     

Log in to post a comment.

MongoDB Logo MongoDB