X# and Xamarin

This forum is meant for questions and discussions about the X# language and tools
Post Reply
George
Posts: 106
Joined: Thu Nov 05, 2015 9:17 am

X# and Xamarin

Post by George »

Hi,

since December 2016, I have developed an Android application (with Xamarin and C#) where users see various measurements regarding company ship's voyage data.

Also, by incorporating Google Maps into the app, users see the course of ships displaying useful parameters for each waypoint.

I made an attempt today to convert the C# project to X# project:
- I changed the .SLN to look at .xsproj instead of .csproj
- change and rename .cs files to .prg files

After these changes, the solution normally opened in VS2017, but obviously I can not compilation because .xsproj says at the end:

<Import Project = "$(MSBuildExtensionsPath)XamarinAndroidXamarin.Android.CSharp.targets" />

Looking at which languages ​​Xamarin supports, I saw that the folder:
C:Program Files (x86)MSBuildXamarinAndroid
contains 2 files:
Xamarin.Android.CSharp.targets (for C#)
And Xamarin.Android.FSharp.targets (for F#)
(The 2 attachments in this message having .TXT extension at the end, in order to be able to attach them).

Because I have no knowledge at MSBuild level, I would like to ask if a corresponding file for X# can be produced.
Xamarin.Android.CSharp.targets.txt
(2.59 KiB) Downloaded 73 times
Xamarin.Android.FSharp.targets.txt
(3.43 KiB) Downloaded 77 times
My C#/Xamarin application works well for over 6 months on users' mobiles and tablets, but I'd rather eventually transfer all C# and Vulcan projects to X#.

thanks
George
User avatar
robert
Posts: 4540
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

X# and Xamarin

Post by robert »

George,

At this moment we do not support Xamarin yet.
When we do then we will also release a similar targets file for X#.
However, supporting Xamarin requires more than just a special Targets file.
Xamarin also expects that the project system supports certain interfaces that we do not support yet.

We are planning to start working on extensions to the Visual Project System this Summer. Support for Xamarin, but also for .Net Core and portable class libraries are things we hope to add.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
George
Posts: 106
Joined: Thu Nov 05, 2015 9:17 am

X# and Xamarin

Post by George »

Robert,

>However, supporting Xamarin requires more than just a special Targets file.

obviously.

>We are planning to start working on extensions to the Visual Project System this Summer. Support for Xamarin, but also for .Net Core and portable class libraries are things we hope to add.

thanks

George
Post Reply