Project Xamarin Binding Part 1

in #xamarin6 years ago

This will be the beginning of a story on where I will try to bind two libraries, one for iOS written in Swift and one for android written in java, to C# so that it can be used in a cross platform mobile project. A post on what has been done to get to the starting point will be posted on a later time.

The visual studio solutions are sometimes not willing to give good error feedback or what is wrong with your solution. As stated in the title I am trying to get going with a cross platform binding, I based this on an existing project the MovesenseDotNet project. So I started out building the Android project and included it in the cross platform project, this caused a problem, where some dependencies did not seem to be included as described in the cross platform's .csproj file. This showed up as a little orange/yellow warning triangle in the dependencies.

After half a day of debugging and googling I could not figure out what was wrong with the problem... But suddenly I figured it might be a problem that I have not built and added the iOS project... stupid me... When removing the iOS project from the .csproj file and build the cross platform project the dependencies was built and included automatically.

That was all for now but I assume some more problem will be coming up soon.

Sort:  

Congratulations @tentom! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 1 year!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Do not miss the last post from @steemitboard:

Are you a DrugWars early adopter? Benvenuto in famiglia!
Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Congratulations @tentom! You received a personal award!

Happy Steem Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Do not miss the last post from @steemitboard:

Downvote challenge - Add up to 3 funny badges to your board
Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.16
TRX 0.13
JST 0.027
BTC 60291.00
ETH 2583.81
USDT 1.00
SBD 2.55