Main Site Documentation

Porting SDK


#1

Downloaded and followed your instruction in your e-book on porting the SDK toolkit, primarily for edification as well as I want to add some features to an existing port. However, upon building the iMX version or any other one for that matter, the following erros appear almost immediately.

Microsoft ® Build Engine Version 3.5.30729.1
[Microsoft .NET Framework, Version 2.0.50727.3615]
Copyright © Microsoft Corporation 2007. All rights reserved.

C:\MicroFrameworkPK_v4_1\Framework\Features\Hardware.featureproj(5,11): warning MSB4011: There is a circular reference involving the import of file “C:\MicroFrameworkPK_v4_1\Framework\Features\core.featureproj”. This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\MicroFrameworkPK_v4_1\Framework\Features\SPI.featureproj(5,11): warning MSB4011: There is a circular reference involving the import of file “C:\MicroFrameworkPK_v4_1\Framework\Features\Hardware.featureproj”. This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\MicroFrameworkPK_v4_1\Framework\Features\Usb.featureproj(5,11): warning MSB4011: There is a circular reference involving the import of file “C:\MicroFrameworkPK_v4_1\Framework\Features\core.featureproj”. This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\MicroFrameworkPK_v4_1\Framework\Features\Usb.featureproj(6,11): warning MSB4011: There is a circular reference involving the import of file “C:\MicroFrameworkPK_v4_1\Framework\Features\Hardware.featureproj”. This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\MicroFrameworkPK_v4_1\Framework\Features\Usb.featureproj(7,11): warning MSB4011: There is a circular reference involving the import of file “C:\MicroFrameworkPK_v4_1\Framework\Features\USB_Port.featureproj”. This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\MicroFrameworkPK_v4_1\Framework\Features\TinyCore.featureproj(5,11): warning MSB4011: There is a circular reference involving the import of file “C:\MicroFrameworkPK_v4_1\Framework\Features\core.featureproj”. This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\MicroFrameworkPK_v4_1\Framework\Features\TinyCore.featureproj(6,11): warning MSB4011: There is a circular reference involving the import of file “C:\MicroFrameworkPK_v4_1\Framework\Features\Hardware.featureproj”. This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\MicroFrameworkPK_v4_1\Framework\Features\TinyCore.featureproj(7,11): warning MSB4011: There is a circular reference involving the import of file “C:\MicroFrameworkPK_v4_1\Framework\Features\Graphics.featureproj”. This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\MicroFrameworkPK_v4_1\Framework\Features\TouchScreen.featureproj(5,11): warning MSB4011: There is a circular reference involving the import of file “C:\MicroFrameworkPK_v4_1\Framework\Features\core.featureproj”. This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\MicroFrameworkPK_v4_1\Framework\Features\TouchScreen.featureproj(6,11): warning MSB4011: There is a circular reference involving the import of file “C:\MicroFrameworkPK_v4_1\Framework\Features\Hardware.featureproj”. This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\MicroFrameworkPK_v4_1\Framework\Features\TouchScreen.featureproj(7,11): warning MSB4011: There is a circular reference involving the import of file “C:\MicroFrameworkPK_v4_1\Framework\Features\TinyCore.featureproj”. This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\MicroFrameworkPK_v4_1\Framework\Features\Gesture.featureproj(5,11): warning MSB4011: There is a circular reference involving the import of file “C:\MicroFrameworkPK_v4_1\Framework\Features\TinyCore.featureproj”. This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
(s)).
Project file cont


#2

Where is the error? I am only see warning which are safe to ignore


#3

Sorry, the log file was way to big to post. I am taking the first error.

Building…C:\MicroFrameworkPK_v4_1\Framework\Core\Native_Hardware\Native_USB\Core_Native_Hardware_USB.csproj;
CSC : error CS0006: Metadata file ‘C:\MicroFrameworkPK_v4_1\BuildOutput\public\Release\Client\dll\mscorlib.dll’ could not be found
CSC : error CS0006: Metadata file ‘C:\MicroFrameworkPK_v4_1\BuildOutput\public\Release\Client\dll\Microsoft.SPOT.Native.dll’ could not be found
Done Building Project “C:\MicroFrameworkPK_v4_1\Framework\Core\Native_Hardware\Native_USB\Core_Native_Hardware_USB.csproj” (Build target(s)) – FAILED


#4

Not sure, never seen this error before. It looks like mscorlib.dll is missing somehow!

If you used 4.1 and used a clean build and used the same compiler used in the book then it should just work. you didn’t make any changes at this point so why problems!


#5

I will remove everything and reload from the links in the document and try agin. Thanks for the help. I am not sure why eighter.