This is a migrated thread and some comments may be shown as answers.

Copy a telerik report cs file from one project solution to another

1 Answer 94 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
akpaga akpaga
Top achievements
Rank 1
akpaga akpaga asked on 06 Apr 2012, 06:06 PM

I am using a telerik reporting cs file which has designer and resx file...I want to use the same file or report fro my another project..so i copied them over to my new project and changed the default namespaces of the cs file to the current project namespace but still get an error says:

Error    1    Could not load file or assembly 'file:///C:/Windows/assembly/GAC_32/ESRI.ArcGIS.ADF.Connection/10.0.0.0__8fc3cc631e44ad86/ESRI.ArcGIS.ADF.Connection.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format. Line 144, position 5.    C:\Projects\EnbridgeFlanagan\SilverlightApplication1.Web\MissingPhotos .resx    144    5    



I removed  the dll and added it  again but no avail..can some one suggest me if there is an alternate better way of doing it ?  Thank you

1 Answer, 1 is accepted

Sort by
0
Hadib Ahmabi
Top achievements
Rank 1
answered on 09 Apr 2012, 08:11 AM
Well, if in the .resx the assembly path is specified, try to open the .resx (with notepad or in Visual Studio with XML editor) and edit this line that references the assembly to whatever it is currently.
Tags
General Discussions
Asked by
akpaga akpaga
Top achievements
Rank 1
Answers by
Hadib Ahmabi
Top achievements
Rank 1
Share this question
or