Old 4.1 question

After 4 years of working Domino system, I need to modify my code slightly. When compiling, VS2010 complains “Could not copy the file “c:…\app\bin\Debug\LE\FEZDomino_GHIElectronics.NETMF.FEZ.pe” because it was not found.” along with three other pe files as well. Looking into the debug\LE folder these are indeed not there. I found the files in c:\program files (x86)\GHI Electronics\GHI NETMF v4.1 SDK\Assemblies\le", and copied them by hand into the above folder. But recompiling removes those files again. The VS2010 project properties Target framework is set to .Net Micro Framework 4.1
Control Panel | Programs & Features shows that I have 4.1, 4.2 and Gadgeteer installed.
Can somebody please tell me how I can make my project compile again? Thanks!

try removing the dlls from the project references and then add them back.

Awesome, thanks. That did the trick.