Code Monkey home page Code Monkey logo

Comments (12)

noelitc avatar noelitc commented on June 19, 2024

also is there example of just sending a text message to a custom reciever?

from sharpcaster.

noelitc avatar noelitc commented on June 19, 2024

Hi,
When I said android I meant Unity built for android.
regards
Noel

from sharpcaster.

Tapanila avatar Tapanila commented on June 19, 2024

Not sure about Unity as I haven't ever tried using Sharpcaster with Unity.
If you have sample project/tutorial that I can compile and debug on Windows 11 machine for Unity I can try does this work there.

from sharpcaster.

noelitc avatar noelitc commented on June 19, 2024

Here is a sample Unity Project I made with with sharpcaster.
https://github.com/noelitc/sharpcastertest

from sharpcaster.

noelitc avatar noelitc commented on June 19, 2024

hi,
Sorry to is the correct one
https://github.com/noelitc/sharpCasterTestUnity

from sharpcaster.

Tapanila avatar Tapanila commented on June 19, 2024

I noticed that I had old packages.config files in repository and removed those.
Not sure how to use the new package references on unity but if you start using those it should just work.

If you need to keep using packages.config then you can just add this there:
<package id="Microsoft.Extensions.DependencyInjection" version="7.0.0" />

My understanding is that Microsoft.Extensions.DependencyInjection should work fine on Unity.

from sharpcaster.

noelitc avatar noelitc commented on June 19, 2024

Thanks. but that had no impact. is Microsoft.Extensions.DependencyInjection core to the project. Could I implement a simpler approach for my particular need. I just want to send a text message to the chromecast?

from sharpcaster.

Tapanila avatar Tapanila commented on June 19, 2024

You would need to replace the dependency injection that I use with something else. It's only used in one place so shouldn't be too hard to replace it.

from sharpcaster.

Tapanila avatar Tapanila commented on June 19, 2024

Seems like if you get the Microsoft.Extensions.DependencyInjection Downloaded it works pretty well. After that it seems to require to switch from .net standard 2.1 to .net framework since dynamic isn't supported on .net standard 2.1.

I opened a pull request to your repo where I can get it compile without warnings but not sure at all does it really work

from sharpcaster.

noelitc avatar noelitc commented on June 19, 2024

yes I used unity nuget to get Microsoft.Extensions.DependencyInjection . it compiles now without warnings but when build for android it hangs on moving processing map file...

from sharpcaster.

Tapanila avatar Tapanila commented on June 19, 2024

Okay. Then I have no idea :(

from sharpcaster.

stale avatar stale commented on June 19, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from sharpcaster.

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.