Random assembly references fail (“Are you missing a using directive or an assembly reference?”)

后端 未结 7 857
时光说笑
时光说笑 2020-12-15 16:52

My application has a mixture of 3.5 and 4.0-targeted assemblies. I\'m working on a new Windows service targeting 4.0 and the project suddenly seems unable to see some of th

相关标签:
7条回答
  • 2020-12-15 17:39

    It worked for me when I changed the target framework to 4.0..But that was not the solution we wanted..We Wanted to use VS 2010 Premium for our project but the intention was NOT to use .net 4.0...The main class library project(.net 2.0) was referencing the dll "system.web.abstractions.dll"...I added the reference to this dll in other projects(.net 2.0) which references the main class library...the solution compiled without any problems...so it could be the case with your visual studio solution...

    But everything works fine if we use VS 2008 professional..we need no workaround & everything works like magic...

    0 讨论(0)
提交回复
热议问题