S
Sam
I added my reporting class (that uses C# interop Excel assemblies to createreports) to a large application but the application is failing to compile due to the following errors. The application is targeting .NET Framework 4.The application also references some assemblies that target older versions.. The reporting class is only called directly from the application. What isthe issue here?
Note that I tested my reporting class separately and it works fine.
Error 1 Predefined type 'Microsoft.CSharp.RuntimeBinder.Binder' is not defined or imported
Error 11 One or more types required to compile a dynamic expression cannot be found. Are you missing references to Microsoft.CSharp.dll and System.Core.dll?
Also, I need to deploy this application to multiple servers and I fear someof them may not have the interop assemblies and COM Dlls. Is it possible to ship them along with the application. I noticed the Copy Local property is False and cannot be changed for these assemblies.
Note that I tested my reporting class separately and it works fine.
Error 1 Predefined type 'Microsoft.CSharp.RuntimeBinder.Binder' is not defined or imported
Error 11 One or more types required to compile a dynamic expression cannot be found. Are you missing references to Microsoft.CSharp.dll and System.Core.dll?
Also, I need to deploy this application to multiple servers and I fear someof them may not have the interop assemblies and COM Dlls. Is it possible to ship them along with the application. I noticed the Copy Local property is False and cannot be changed for these assemblies.