Hi,
I have a question about .Net DLL's. I have a need to create a sharable library with a .Net Windows app and a Netduino app.
If I stay in the bounds of the following references...
System
System.Collections
System.Text
System.Threading
System.Xml
System.Reflection
Can I create a single dll used to be referenced in a Netduino app and a windows app?
Common Libraries
Started by Bendage, Jan 26 2012 04:14 AM
4 replies to this topic
#1
Posted 26 January 2012 - 04:14 AM
#2
Posted 26 January 2012 - 04:18 AM
My apologies, I posted this in the wrong section.
#3
Posted 26 January 2012 - 04:38 AM
Hi Bendage,
One of our commercial projects here at Secret Labs has 10,000's of lines of .NET code.
We have compiled .NET Micro Framework, .NET Compact Framework, and desktop .NET Framework DLLs from the same codebase.
You _might_ be able to use .NET Micro Framework .DLLs directly on the desktop, but we generally build them separately to target a specific version of the desktop .NET Framework. Building twice is very quick, so we typically don't mind.
Chris
#4
Posted 26 January 2012 - 04:53 AM
Hey Chris,
Thanks for the late New York response. Working OT? I see a promotion in store!
So,
I am trying to read between the lines here... It is possible? You just don't recommend it?
#5
Posted 26 January 2012 - 05:00 AM
Ah... answered my own question.
A dot net micro framework application will not compile referencing a dll not created under the micro framework regardless if referenced libraries are in both frameworks. They just aint the same
Makes sense now.
Thanks!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users