This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Installshiled doesn't work with .net 4 c# custom action
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 15, 2010
09:47 AM
Installshiled doesn't work with .net 4 c# custom action
Hi guys,
I have installed installshield 2010 professional edition with sp1, and xpansion Pack for Visual Studio 2010, I tried to add an new managed code custom action, I got an error message when I tried to browse the class and method from the dll, the message is "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information."
the dll is build in .net 4, and it works fine in vs2010.
Can anybody give me some kindly help please?
Thanks very much
I have installed installshield 2010 professional edition with sp1, and xpansion Pack for Visual Studio 2010, I tried to add an new managed code custom action, I got an error message when I tried to browse the class and method from the dll, the message is "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information."
the dll is build in .net 4, and it works fine in vs2010.
Can anybody give me some kindly help please?
Thanks very much
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 15, 2010
09:53 AM
Hi,
With c++ dll, the dll must be an unicode dll. I think it may be the same with a c# dll.
With c++ dll, the dll must be an unicode dll. I think it may be the same with a c# dll.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 15, 2010
10:06 AM
ametisse wrote:
Hi,
With c++ dll, the dll must be an unicode dll. I think it may be the same with a c# dll.
Hi ametisse,
Thanks for your reply. the dll works in .net 3.5, Our company just upgraded to .net 4.0, it's then errored in installshield.
And aren't all c# dlls unicode?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 01, 2010
11:07 AM
Hi
Did you ever find any solution for this. I am running into the same issue. Works with .net 3.5 but not 4.0
I did install the latest IS patch for IS 2010, but no luck
Did you ever find any solution for this. I am running into the same issue. Works with .net 3.5 but not 4.0
I did install the latest IS patch for IS 2010, but no luck
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 02, 2010
02:43 AM
I think it should be possible to use .net 4.0 for building a DTF dll in c#. This dll now can be used as a c++ dll and there is no need to use the InstallShield c# dll wrapper.
Tobias
Tobias