Bugs item #1086272, was opened at 2004-12-16 00:05 Message generated for change (Comment added) made by dukeytoo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1086272&group_id=31650
Category: None Group: None >Status: Deleted Resolution: None Priority: 5 Submitted By: Steven Campbell (dukeytoo) Assigned to: Nobody/Anonymous (nobody) Summary: Solution task fails to find interop Initial Comment: Scenario: New primary interop assemblies with support for old and new COM type libraries (i.e. backward compatible), but with a new .NET version number. Visual Studio.NET projects have references to old interops, but the new ones have been registered using regasm. Visual Studio.NET works fine, i.e. it resolves and uses the new interop. On build machine, the new primary interop is registered and installed in the GAC. Nant solution task is unable to load the new interop, because it does a registry lookup on the old type library and finds the old interop assemblyname, which has a different .NET version number. E.g. Type library version 1.0: PrimaryInterop = xxx, version 1.0.1234.0000 <=lookup finds this one Type library version 1.1: PrimaryInterop = xxx, version 1.0.2345.1111 <=this is the most current one Suggested fix: iterate "upward" through the type library versions in the registry, until an interop is found that can be loaded. Workaround: Update Visual Studio.NET references to new interops. ---------------------------------------------------------------------- >Comment By: Steven Campbell (dukeytoo) Date: 2004-12-16 19:01 Message: Logged In: YES user_id=709880 I could, but I have discovered that this was operator error. Sorry for the trouble. ---------------------------------------------------------------------- Comment By: Gert Driesen (drieseng) Date: 2004-12-16 00:52 Message: Logged In: YES user_id=707851 Steven, Can you package up a zip file containing the minimum set of files necessary to reproduce this issue ? Thanks ! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1086272&group_id=31650 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
