Code Monkey home page Code Monkey logo

xamarinandroidbindingsriderbugsample's Introduction

Xamarin.Android Bindings library project Rider bug sample

The only difference between MicrosoftSdk and Standard projects is csproj file. Standard project is generated mostly automatically (except wildcards in ItemGroup nodes), while MicrosoftSdk csproj was created manually, inspired by Baseflow implementation of ExoPlayer Xamarin port. I think this approach is much better, since it makes csproj files much more readable and can support multiple target frameworks if needed. I guess there're also some other advantages as well.

So, main problems in Rider:

  1. MicrosoftSdkBindingsLibrary\Additions\StateProvider.cs - everyting is red, Intellisense doesn't see files from obj\$(Configuration)\$(TargetFramework)\generated\src and obj\$(Configuration)\$(TargetFramework)\generated\enums.
  2. StandardBindingsLibrary\Additions\StateProvider.cs - everyting is red, Intellisense doesn't see files from obj\$(Configuration)\generated\src and obj\$(Configuration)\generated\enums.
  3. SampleApp\MainActivity.cs - same problem, Itellisense doesn't see generated files from the referenced project.
  4. Other issue: Rider doesn't care what TargetFrameworkVersion is written in csproj file, it always picks 11.0 (R - API 30) as target API. Problem relates only to StandardBindingsLibrary project.

Compilation is successful for all projects.

Android Studio project is also included. You can compile it and change there something, csproj will pick a compiled aar automatically (there're conditions in csproj files which give such ability).

xamarinandroidbindingsriderbugsample's People

Contributors

saratsin avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.