We are using the UltraGrid in a win forms application that is distributed through a UNC path.
When we publish the application, and the user tries to run it we get the error: The application requires that assembly Infragistics2.Win.Misc.v12.1 version 12.1.20.21.2071 be installed in the Global Assembly Cache (GAC) first.
Because this is a corporate application, running a seperate instal on everyones PC that might someday get this application is unreasonable. How do I get the library to install from the publish wizard.
Thank you
Andre
Hello Andre,
Andre Kramer said:When we publish the application, and the user tries to run it we get the error: The application requires that assembly Infragistics2.Win.Misc.v12.1 version 12.1.20.21.2071 be installed in the Global Assembly Cache (GAC) first
If I understand well your issue, one possible reasons to get the error "The application requires that assembly Infragistics2.Win....." after publish your application, could be if you didn`t distribute infragistics assemblies that you are using into your application. To solve this problem you should explicitly set "PublishStatus" to be "Include" for these assemblies.
I already was able to reproduce this scenario at a two different machine. The first one (my machine) has Infragisitcs assemblies and the second one is without Infragistics assemblies. When I set "Publish Status" = "Include" I was able to run the sample at the second machine, otherwise I get the same error that you describe in your first post.
Please take a look at the atatched screenshot and video file and let me know if you have any questions.
Regards
Good Morning;
Tried the above suggestion and it still does not work...
Dont know if this makes any difference:
The user community is still on WinXp .Net version 3.5.
This is our first release of the infragistics controlls in a pre-existing application.
We inhanced one section of the application by adding the ultra grid to it for the drill down capabilities.
The app and updates are distributed to the user community as described in a previous post.
Could you please try to set the Copy Local to 'true', then build the application and try the release on a different machine? Also, depending on the version you have previously used, you might want to try to set the specific version of the assemblies to 'false'.
Please let me know if these suggestions do not work for you.
Didnt work...
I might have misunderstood you. Did you have the time to try this out?