Reputation: 147
I have two .net projects in my solution.First project is .net 2.0 windows forms project and the second project is .net 4.5 windows forms project.I'm opening a windows form of my .net 4.5 project from .net 2.0 project. for code example:
ReportManager.Form1 f1 = new ReportManager.Form1();
f1.Show();
it gives following run time error (ReportManager is my .net 4.5 project name)
Could not load file or assembly 'ReportManager, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. any advice is welcome.
Upvotes: 0
Views: 189
Reputation: 2155
From the comment "Did try to convert and build my .NET 2.0 project and this error came "Interop type 'LOGkeeper.ManagerClass' cannot be embedded. Use the applicable interface instead."
Perhaps this helps in migrating the project up from .NET 2.0?
Interop type cannot be embedded
Upvotes: 1