Using lastest .Net 4 System.xml.dll version at runtime without recompiling the component in .Net 4 RRS feed

  • Question

  • Hi,

        Recently, we discuss there is a bug for in XMlReader.Create function which returns a reader that causes incorrect discarding of significant whitespace. Microsoft has fixed this problem in the System.xml.dll of .NET 4.0, however, our packages are complied with .Net 2.0 and we do not want to compile our packages in .NET 4.0 yet.

    At the moment what we think of is that to see if there is a way to instruct our package to load the System.xml.dll of .NET 4.0 instead of .NET 2.0 at runtime. Since our packages are used in other applications which does not have a executable by itself (normally load up by application through com interop), thus we cannot use application configuration file to overcome this problem. anyone has any idea about this kind of problem? Thanks



    Thursday, July 29, 2010 9:24 AM


  • hi,

       Unfortunately, our package does not have a executable, thus we cannot use App.config to over this problem. However, now I am thinking of compiling all out packages with .NET 4 since We use quite a bit on the System.xml package. Thanks for you help.




    • Marked as answer by eryang Monday, August 9, 2010 2:25 AM
    Friday, July 30, 2010 2:19 AM

All replies