Giter VIP home page Giter VIP logo

Comments (7)

roxk avatar roxk commented on June 11, 2024

Seems we can ignore the error: novotnyllc/MSBuildSdkExtras#161

from authgear-sdk-xamarin.

roxk avatar roxk commented on June 11, 2024

Oh, seems like we can target dotnet 6 https://devblogs.microsoft.com/xamarin/tips-for-porting-your-xamarin-library-to-dotnet-maui/, which include the new build tools that allow multi-targeting by default. It also makes it compatible with MAUI by default :D

from authgear-sdk-xamarin.

roxk avatar roxk commented on June 11, 2024

Updating tfm indeed allow dotnet pack to work as expected. However, as the resultant dll now targets net6.0, and net6.0-$platform, they are now not consumable by xamarin project (mostly .net5). One trick we can try is to modify the output folders so net6.0-android -> MonoAndroid12.0 before packaging, to see if the correct dll would be picked up by xamarin project, but that looks too hacky. Will try to see if we can simply ignore the error or has other workaround.

from authgear-sdk-xamarin.

roxk avatar roxk commented on June 11, 2024

Decide to simply use github action to build for now. Goal:

  1. Minimal: manual publish based on tag/whatever git conditionals
  2. Consider adding nuget api token so CI can auto-publish as well. Again, must be tag/git-ref based

from authgear-sdk-xamarin.

roxk avatar roxk commented on June 11, 2024

Nuget supports scoped API key: https://docs.microsoft.com/en-us/nuget/nuget-org/scoped-api-keys so it's safe to publish to nuget servers in CI.

from authgear-sdk-xamarin.

roxk avatar roxk commented on June 11, 2024

https://github.com/actions/upload-artifact

Github action as expected support artifact uploading and retention/expiry :) Not sure if it has any additional fees by default though.

from authgear-sdk-xamarin.

roxk avatar roxk commented on June 11, 2024

🎉
image

from authgear-sdk-xamarin.

Related Issues (20)

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.