File (or assembly) can't be found after changing project's .NET target-framework from 4.0 to 3.5

前端 未结 3 1515
北海茫月
北海茫月 2021-01-21 09:02

I want to change my C# project, which is based on the .NET 4.0 to 3.5. So I changed the project\'s target-framework to 3.5.

After re-opening and trying to compile the pr

3条回答
  •  -上瘾入骨i
    2021-01-21 09:49

    That reference is pointing to .Net 4 - you need to remove all .net 4 references and then readd them using the .net 3.5 version of the assemly and then it will work

    paul

提交回复
热议问题