Adding .NET 4 assemblies to the GAC
Adding .NET 4 assemblies to the GAC
Hi,
IA can add our .NET 3.5 assemblies into the GAC. Is there any way that IA can add our .NET 4 assemblies to the GAC?
TIA
IA can add our .NET 3.5 assemblies into the GAC. Is there any way that IA can add our .NET 4 assemblies to the GAC?
TIA
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Re: Adding .NET 4 assemblies to the GAC
What happens when you try to add a .NET 4 assembly to the GAC? Feel free to attach the assembly in question so we can take a look.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Re: Adding .NET 4 assemblies to the GAC
When I try to mark our assemblies for installation into the GAC folder, IA 8 doesn't show the assembly version numbers of our .NET 4 assemblies. Also, upon compilation the project fails with the following message:
Error during build: Unable to get assembly information for D:\Development\Distribution\Development Toolkit\WCFX\Trial\Assembly\Noemax.WCFX.Net4.Trial.dll
Maybe this has changed since IA 8 that I am using, and IA 9 can actually work with .NET 4 assemblies?
Error during build: Unable to get assembly information for D:\Development\Distribution\Development Toolkit\WCFX\Trial\Assembly\Noemax.WCFX.Net4.Trial.dll
Maybe this has changed since IA 8 that I am using, and IA 9 can actually work with .NET 4 assemblies?
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Re: Adding .NET 4 assemblies to the GAC
Per my earlier request, could you attach the .NET 4 assembly in question?
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Re: Adding .NET 4 assemblies to the GAC
R&D says this new file should make it work for you. Enjoy 

- Attachments
-
- gacnet20x.zip
- Extract and place this file in your InstallAware folder, typically: C:\Program Files\InstallAware\InstallAware 9
- (2.08 KiB) Downloaded 897 times
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Re: Adding .NET 4 assemblies to the GAC
Thanks! Just one more question.... is this supposed to work with IA 8 too?
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Re: Adding .NET 4 assemblies to the GAC
We have validated only on InstallAware 9, but it won't hurt to try! Just backup the old file.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Re: Adding .NET 4 assemblies to the GAC
Seems to be working fine with IA 8.
Many thanks for your support, I appreciate it!
Alexander
Many thanks for your support, I appreciate it!
Alexander
-
- Posts: 5
- Joined: Tue Feb 08, 2011 8:13 am
Re: Adding .NET 4 assemblies to the GAC
I too am having trouble with this. I get the same message when building the installer during the copying stage when IA attempts to copy the first of the .Net 4.0 assemblies required. After updating the copy of gacnet20x.exe to the one attached to this post, I now get a prompt saying "The publisher could not be verified. Are you sure you want to run this software", when clicking Run I get the same error message as the original version of the file; "Error during build: Unable to get assembly information for C:\Install_Set_Creation\......"
Running the same Installer project for the previous version of our software (before we updated to use .Net 4.0) works correctly.
Project is being run using IA 9 on Windows Server 2008 R2 x64 and is built from local files on the C:\ drive.
Any suggestions?
Cheers
D
Running the same Installer project for the previous version of our software (before we updated to use .Net 4.0) works correctly.
Project is being run using IA 9 on Windows Server 2008 R2 x64 and is built from local files on the C:\ drive.
Any suggestions?
Cheers
D
Re: Adding .NET 4 assemblies to the GAC
Dear D,
I have recently played around quite a bit with InstallAware and .NET 4 assemblies. Note that the error you are getting most likely has to do with your assembly, rather than with InstallAware. It could also be that you need to re-install InstallAware. Please refer to this thread:
viewtopic.php?f=2&t=4804&start=15
I have recently played around quite a bit with InstallAware and .NET 4 assemblies. Note that the error you are getting most likely has to do with your assembly, rather than with InstallAware. It could also be that you need to re-install InstallAware. Please refer to this thread:
viewtopic.php?f=2&t=4804&start=15
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
- Posts: 5
- Joined: Tue Feb 08, 2011 8:13 am
Re: Adding .NET 4 assemblies to the GAC
Hi,
I have tried reinstalling IA but this made no difference. I don't think the issue is with our assemblies as we are getting exactly the same error message as TIA had at the beginning of this post. The solution for this issued by Michael Nesmith in April of last year was to issue a patched copy of gacnet20x.zip. However this doesn't work for me when using IA 9 (Build Moya.sp1.070409)
I have read through the other forum post, however this seemed (as I interpreted the problem) to be an issue when installing onto the target machine. I am unable to create the installation package as I get the "Error during build: Unable to get assembly information for C:\Install_Set_Creation\......" message during the build.
Any suggestions?
Cheers
D
I have tried reinstalling IA but this made no difference. I don't think the issue is with our assemblies as we are getting exactly the same error message as TIA had at the beginning of this post. The solution for this issued by Michael Nesmith in April of last year was to issue a patched copy of gacnet20x.zip. However this doesn't work for me when using IA 9 (Build Moya.sp1.070409)
I have read through the other forum post, however this seemed (as I interpreted the problem) to be an issue when installing onto the target machine. I am unable to create the installation package as I get the "Error during build: Unable to get assembly information for C:\Install_Set_Creation\......" message during the build.
Any suggestions?
Cheers
D
Re: Adding .NET 4 assemblies to the GAC
Dear D,
Could you possibly send your assemblies over to support at installaware.com?
Could you possibly send your assemblies over to support at installaware.com?
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
- Posts: 5
- Joined: Tue Feb 08, 2011 8:13 am
Re: Adding .NET 4 assemblies to the GAC
Email sent, thanks for your help.
Cheers
D
Cheers
D
Re: Adding .NET 4 assemblies to the GAC
Dear D,
I got your assembly, and I was able to add it and build my installer no problem on my InstallAware 10.10. Could you please describe the steps you are taking in order to register your assembly?
I got your assembly, and I was able to add it and build my installer no problem on my InstallAware 10.10. Could you please describe the steps you are taking in order to register your assembly?
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
- Posts: 5
- Joined: Tue Feb 08, 2011 8:13 am
Re: Adding .NET 4 assemblies to the GAC
The assemblies were simply added in the project view of IA using the Setup Architecture - Assemblies screen by browsing to the location to add it to the installer. I have since tried this again with a brand new project created using the wizard, pointing it to a new empty directory then added the assembly I sent you and on building to a single file installer I get the same error message.
D
D
Who is online
Users browsing this forum: No registered users and 146 guests