1

I've developed a dll in .net 2.0. Now I need that dll to be used in other project in the same solution. The project that I am using is also on .net 2.0. It is showing me an error of could not be found.

If I change the target platform from .net 2.0 to 3.5 it works fine in the main project.

Please help me in this.

  • Please open project references and check that error dll properties copy local=true; or check your dll compatibilities for .net 2.0. – rootturk Apr 28 '16 at 12:37
  • @AkınAbdullahoğlu checked it is already there. – Digvijay Rathore Apr 28 '16 at 12:40
  • 1
    I research this problem and found few result. Please check this links. Main Problem : http://stackoverflow.com/questions/4286599/referenced-project-gets-lost-at-compile-time And Solved : http://stackoverflow.com/a/4765076/3041974 – rootturk Apr 28 '16 at 12:45
  • @AkınAbdullahoğlu I did checked. when I run the dll project in 2.0 it is giving me the output and when I refer it in .net 3.5 project its working but i need it in .net 2.0 – Digvijay Rathore Apr 29 '16 at 05:00

1 Answers1

2

I found the solution. Problem was with the dll that has been refer with in the dll xxx that I need to use in project. The dll is refers two more dll with in it so I need to add reference of both of that dll in main project and then I can use using xxx statement.