G
Guest
Using VS.net, can I compile a class library to the .NET framework, and to the
Windows CE .NET compact framework, depending on the configuration?
I have an app, and one of its projects is a class library. I want versions
for desktop and handheld applications. All functions used by the class
library are supported by the .NET compact framework.
So, I have three projects in my solution. I have a Windows Application, a
Class Library, and a Smart Device Application. The Windows Application and
the smart device application both have references to the Class Library.
In the configuration manager, I can't specify anything but .NET for the
platform of the class library. Similarly, the Windows App can choose .NET,
and the Smart Device App can choose Windows CE.
Is there any way to use the same source code for both projects, and specify
which version to create? Ideally, I would like to have two configurations,
one for WinCE and one for "regular" windows, and the platform for the class
library would depend on which was chosen.
Windows CE .NET compact framework, depending on the configuration?
I have an app, and one of its projects is a class library. I want versions
for desktop and handheld applications. All functions used by the class
library are supported by the .NET compact framework.
So, I have three projects in my solution. I have a Windows Application, a
Class Library, and a Smart Device Application. The Windows Application and
the smart device application both have references to the Class Library.
In the configuration manager, I can't specify anything but .NET for the
platform of the class library. Similarly, the Windows App can choose .NET,
and the Smart Device App can choose Windows CE.
Is there any way to use the same source code for both projects, and specify
which version to create? Ideally, I would like to have two configurations,
one for WinCE and one for "regular" windows, and the platform for the class
library would depend on which was chosen.