index > Developer Documentation and Help System > Unresolved assembly reference: System.Configuration

Unresolved assembly reference: System.Configuration


While trying to generate .chm/.HxS, using the recent September 2006 CTP release of Sandcastle, for one of the dlls, I got this error message.

Generating reflection information...
[W:\LVFW\Docs\HelpBuild\LavaDatasourcesCore\Sandcastle\Working\GenerateRefInfo.bat]
MRefBuilderStatic (v2.0.2459.30849)
Copyright Microsoft Corp. 2005
Error: Unresolved assembly reference: System.Configuration (System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a) required by Lava.Core

The help generation worked fine when I added System.Configuration.dll to the dependencies list.

System.Configuration is a .NET Framework assembly and is present in GAC. Ideally, it should have been loaded directly instead of adding it explicitly into the dependecies. Lava.Core has references to other System assemblies too, viz. System.dll, System.Data.dll, System.XML.dll, etc., but only System.Configuration.dll is required to be specified explicitly in the dependencies.

Please let me know if this is an issue with the recent release or I am missing something...

Please reply asap. Thanks.

sanch

hmmm, I remember this being a problem with the first CTP, not being able to resolve references to items that exist in the GAC. Double check to make sure that sandcastle has been updated???
Rick.

Rick Casey

Rick is correct and Sandcastle does not resolve references to GAC. We do plan to address this in future. Sandcastle GUI written by Eic available at

Anand Raman - MSFT

Thanks for the reply.

But does that mean that the resolution issue is only with certain assemblies and not all? As I had mentioned, Lava.Core has references to other System assemblies too, viz. System.dll, System.Data.dll, System.XML.dll, etc., but only System.Configuration.dll is required to be specified explicitly in the dependencies.

Sanchit.

sanch

It's true that there are a handfull of assemblies (mscorlib.dll, System.dll, et al.) that are treated specially by MRefBuilder. They are always loaded from the location specified in MRefBuilder.config, and are therefore neither required nor used when specified by the /dep option.

We didn't choose this odd split in the way dependencies are handled, and were confused by it ourselves at first. It's an artifiact of the reflection library that MRefBuilder uses the parse assemblies, and the developer of that library assures us that it is necessary in order for his library to do something which was very important to us: be able to load and parse assemblies from of "foreign" .NET Framework version (i.e. a version different from the one MRefBuilder was compiled under).

dawright
Totally off-topic but:
dawright: from your answers it seems that you're a Microsoft guy working on sandcastle. It would be clearer that you'd have some indication of this at least in the profile but preferably also just as Anand, append - MSFT to your nickname
Simon Dahlbacka
reply 6

You can use google to search for other answers

 

More Articles

Generating xml output using Sandcastle
MSDN (or MS Document Explorer) crashing like crazy
Printing msdn2005 topic trees with collapse all option disabled
Maximized microsoft document explorer window in VS2005
Local Search from VS'05 returns zero items
How to support help (CHM)????
Problem with Sandcastle generated HTML files
How Can Connect MSDN library Apr2003 to Visual studio 0.6 to Use ...
MSDN 8 Installation on a server
Line-breaks in <remarks/> bloc in SandCastle
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Would like to organize Help Favorites in…
how do i produce technical articles usin…
Sandcastle and MSDN topic URL web service
MSDN pages do not open when selected.
Where I can found the Hierarchy Chart fo…
classic chm Help doesn't link to MSDN Li…
VS 2005 Search for Help - object moved?
Porting a Mac OS 8 app to Windows
Offline / Online help...
Change default from VB to C#
Bugs in Sandcastle 2006 September CTP
Problem with non-functional links in VS2…
Unable to link MSDN with Visual Studio 2…
Windows SDK July CTP breaks documentatio…
Addition to main_castle.xsl for tables f…

Hot Articles

Dynamic or not Dynamic Help, Help!
Hyperlink that combines 2 SQL fields
F1 context sensitive help and code
Links to the MSDN online lib are wrong
Extreme Bug / Needs Fixing!
SandCastle and VB.Net Applications
code and example xml tags
Problem: DirectX help not setup for use …
Is there a problem installing Visual Stu…
MRefBuilder Index Out of Range Error whe…
struggling with vsip
How to Install MSDN Jan2006 in VS 2005?
"This page cannot be displayed"…
comment helper in VS2005
VS 2003 C# Date Convertions Or Comparision

Recommend Articles

Namespace-level comments in Sandcastle?
<MSHelp:Attr> for Filter
Help system reconfigures when USB drives…
Re: Attribute <typeparam> not used…
How to support help (CHM)????
Welcome to the Documentation and Help Sy…
code and example xml tags
VS 2005 help the same as with vs 2003?
Visual Studio Extensions for WinFX Beta …
Dynamic Help not working!
Document explorer favorites
Could not get all providers
Error: SharedContentComponent: The share…
Printing online documents is limited to …
Generating xml output using Sandcastle