If I change target framework to 4.1 in my project, I got error after rebuilding as follow.
Error 20 Could not copy the file "C:\Users\Tobi\Documents\Visual Studio 2010\Projects\ECOLINE_Project\FezCobraWorkhard\bin\Debug\LE\GHI.Premium.USBHost.pe" because it was not found. ECOLINE
Error 19 Could not copy the file "C:\Users\Tobi\Documents\Visual Studio 2010\Projects\ECOLINE_Project\FezCobraWorkhard\bin\Debug\LE\GHI.Premium.System.pe" because it was not found. ECOLINE
Error 18 Could not copy the file "C:\Users\Tobi\Documents\Visual Studio 2010\Projects\ECOLINE_Project\FezCobraWorkhard\bin\Debug\LE\GHI.Premium.IO.pe" because it was not found. ECOLINE
Error 16 Could not copy the file "C:\Users\Tobi\Documents\Visual Studio 2010\Projects\ECOLINE_Project\FezCobraWorkhard\bin\Debug\LE\GHI.Premium.Hardware.pe" because it was not found. ECOLINE
Error 17 Could not copy the file "C:\Users\Tobi\Documents\Visual Studio 2010\Projects\ECOLINE_Project\FezCobraWorkhard\bin\Debug\LE\GHI.Premium.Hardware.EMX.pe" because it was not found. ECOLINE
2. I have checked my SDK, it’s the latest vision form GHI Homepage. “Microsoft .NET Micro Framework 4.2 QFE2 SDK”
3. I’m not sure the vision of “NetMf.CommonExtensions”, I have downloaded from http://netmfcommonext.codeplex.com/ I havn’t found the vision of this library file
I have tried my project again and the project ran well after removing the “NetMf.CommonExtensions” from References, deleting “using NetMf.CommonExtensions;”, and any “string.replace” method. so I think my source code is well.
I just need the “string.replace” method, and the method is very useful for my project.
I have also found a new Warning in Error List that I haven’t ever seen , if I add the “NetMf.CommonExtensions” again to References and rebuild the project. as follow:
Warning 1 The predefined type 'System.Runtime.CompilerServices.ExtensionAttribute' is
defined in multiple assemblies in the global alias; using definition from 'c:\Program
Files\Microsoft .NET Micro Framework\v4.2\Assemblies\le\mscorlib.dll' ECOLINE
I’m not very sure what the warning means, but it seems that it have relation to “mscorlib.dll”