Pblm with XML Doc file generation for a Web site => HRESULT : 0x80131047

Dec 7, 2007 at 10:34 AM


I followed the help to create an XML documentation file for a .NET2.0 Web Site,
but when I modify the web.config adding this in the configuration section :

<!-- For VB.NET -->
<compiler language="vb;visualbasic" extension=".vb"
type="Microsoft.VisualBasic.VBCodeProvider, System, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>

I get this error during the Web Site Validation Step :
Générer (web): Le nom ou le code base de l'assembly donné n'est pas valide. (Exception de HRESULT : 0x80131047)

Do you have an idea of the reason ?

Dec 7, 2007 at 3:20 PM

I'm not sure, but try to specify a relative path for the /doc: switch instead of a rooted path; e.g., compilerOptions="/doc:Release\bin\ProjName.xml"

- Dave
Dec 7, 2007 at 4:14 PM
Thanks Dave,

Finally I used this syntax that works,

<compiler language="vb;vbs;visualbasic;_vbscript"
type="Microsoft.VisualBasic.VBCodeProvider, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"