Why Does VS2010 “Lose” my reference on build?

后端 未结 2 1139
予麋鹿
予麋鹿 2021-02-18 22:16

I\'ve developed a class library that does stuff, and tested it with unit tests. The library and tests build and work fine. I then added in a Windows Service project to the solut

2条回答
  •  心在旅途
    2021-02-18 23:23

    When there is a difference in Target .Net Framework(under project settings), it will create reference missing problems. It creates strange problems like when i add the reference it gets added. But when i build, again it will loose the reference. After making Target frame work same for both the project resolved the error.

提交回复
热议问题