Hello,
I have a C# COM Interop managed solution.
I used "regasm /tlb:DatePickerLib.tlb DatePicker.dll /Codebase" to register the DLL the first time and the calling client worked fine. It executed the assembly and I saw the results of my C# program.
When I made a change to my C# COM Interop managed solution, I did the following:
C:\Users\Tony\Documents\Visual Studio 2013\Projects\DatePicker\DatePicker\bin\Debug>regasm /u /tlb:DatePickerLib.tlb DatePicker.dll Microsoft .NET Framework Assembly Registration Utility version 4.0.30319.33440 for Microsoft .NET Framework version 4.0.30319.33440 Copyright (C) Microsoft Corporation. All rights reserved. Types un-registered successfully Type library 'C:\Users\Tony\Documents\Visual Studio 2013\Projects\DatePicker\DatePicker\bin\Debug\DatePickerLib.tlb' un-registered successfully C:\Users\Tony\Documents\Visual Studio 2013\Projects\DatePicker\DatePicker\bin\Debug>
I then reregistered it using:
C:\Users\Tony\Documents\Visual Studio 2013\Projects\DatePicker\DatePicker\bin\Debug>regasm /tlb:DatePickerLib.tlb DatePicker.dll /Codebase Microsoft .NET Framework Assembly Registration Utility version 4.0.30319.33440 for Microsoft .NET Framework version 4.0.30319.33440 Copyright (C) Microsoft Corporation. All rights reserved. Types registered successfully Assembly exported to 'C:\Users\Tony\Documents\Visual Studio 2013\Projects\DatePicker\DatePicker\bin\Debug\DatePickerLib.tlb', and the type library was registered successf ully C:\Users\Tony\Documents\Visual Studio 2013\Projects\DatePicker\DatePicker\bin\Debug>
As you can see, none of those gave any errors and it said it was "Successful".
When I rerun my client consuming unmanaged program, It gives the same results from my original C# COM Interop managed program that I got when I first installed it. It does not show the changes I made to my C# COM Interop managed program.
I have tried deleting all temporary files and restarting my computer.
Does anybody know how to update an already registered assembly?
Any help would be gratefully appreciated.
Thanks,
Tony
Stop The World, I want To Get Off! ........... Life Isn't About Waiting For The Storm To Pass ... It's About Learning To Dance In The Rain.