[MonoDevelop] Need info on mono workspace

Dan Liew dan at su-root.co.uk
Wed Mar 11 08:52:48 UTC 2015


Hi,

On 11 March 2015 at 06:58, Prashanth Mn <contactmnp at gmail.com> wrote:
> Hi,
> We already have a product which runs on set-top box(embedded) which was
> developed using C#, .net framework.  During development we have used
> windowsCE 5.0 (compact framework) project type.  Now i want to compile the
> same project on Linux (ubuntu v14.04) using MonoDevelop. Below are the
> packages i've installed.
>
> apt-get install mono-devel
> apt-get install mono-complete
> apt-get install referenceassemblies-pcl
>
> I've installed MonoDevelop and tried to open the project.  It says, "This
> project type not supported by Mono".

Have you tried building it on the command line using the xbuild tool?
If you get an error message it might be more informative than what
monodevelop told you.

$ xbuild /path/to/your/solution.sln

> Please suggest how to compile this windowsCE based compact framework in
> Mono.

I have no expertise in this area but I have an idea. Is the framework
specified in your ``.csproj`` files using the TargetFrameworkProfile
tag? E.g. something like

<TargetFrameworkProfile>SOMETHING</TargetFrameworkProfile>

if so try adding a condition to it so the target framework profile is
only set under windows (so under mono on Linux or OSX it would not use
a profile, i.e. all of the .NET runtime is available). It would be
something like

<TargetFrameworkProfile Condition=" '$(OS)' == 'Windows_NT'
">SOMETHING</TargetFrameworkProfile>

If you do this in all your ``.csproj`` files then it might be possible
to have it built under mono. This is just a guess though...


Thanks,
Dan.


More information about the Monodevelop-list mailing list