Console exe referring to GAC DLL on SharePoint 2010

Hi,

I am writing a console application that will do one time migration of some data. Now I have an existing SharePoint solution which  has the logic to do the migration.

However i need to tweak it a little for the existing documents so I created a console app and set the reference to existing solution with some minor changes.

When I try to run the console app it always give error that the dll is not updated in GAC. Although i have set the reference to the local copy of it.

Do I need to update it on GAC as well or is there a workaround for this.

Problem is that if I update it in GAC it will break the current flow.

Rishi


May 20th, 2015 11:13am

Unless you use the <codeBase> element in your application config file probing will start and the assembly resolver will look in the GAC: https://msdn.microsoft.com/en-us/library/yx7xezcf%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396
Free Windows Admin Tool Kit Click here and download it now
May 21st, 2015 2:35am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics