fbpx

X# and Xamarin

  • George Theopoulos
  • George Theopoulos's Avatar Topic Author
  • Offline
More
1 year 6 months ago #1 by George Theopoulos
X# and Xamarin was created by George Theopoulos
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)\Xamarin\Android\Xamarin.Android.CSharp.targets" />

Looking at which languages ​​Xamarin supports, I saw that the folder:
C:\Program Files (x86)\MSBuild\Xamarin\Android
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.

File Attachment:

File Name: Xamarin.An...gets.txt
File Size:3 KB

File Attachment:

File Name: Xamarin.An...gets.txt
File Size:3 KB


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
Attachments:

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago #2 by Robert van der Hulst
Replied by Robert van der Hulst on topic X# and Xamarin
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
This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

  • George Theopoulos
  • George Theopoulos's Avatar Topic Author
  • Offline
More
1 year 6 months ago #3 by George Theopoulos
Replied by George Theopoulos on topic X# and Xamarin
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

Please Log in or Create an account to join the conversation.