GithubHelp home page GithubHelp logo

Comments (15)

anaisbetts avatar anaisbetts commented on May 1, 2024 4

@glennawatson thanks for all of your hard work on Pharmacist, it's a great concept and I think the new Source Generator version will be even better! πŸ’–

from pharmacist.

glennawatson avatar glennawatson commented on May 1, 2024 2

We are moving to source generators for next revision which doesn't suffer from nuget source issues. Just have to wait for the visual studio version that supports it next week n

from pharmacist.

AlexanderMelchers avatar AlexanderMelchers commented on May 1, 2024 1

Again asking what the status of this issue is, since it looks like I'm again running into it.

Since my last post here I simply continued using ReactiveUI.Events.*, but have now upgraded Xamarin Forms to version 5.0. With this upgrade, the Expander-control, previously a part of XF, has now been moved into the Xamarin Community Toolkit (see here). Consequently, issues have arisen in using the ReactiveUI.Events.XamForms-package that still contains references to the control that now no longer exists.

I thought I could work around this issue by generating events for Xamarin Forms and Xamarin Essentials myself, in a separate project within my solution. This "events"-project is then referenced by those projects previously using packages from the ReactiveUI.Events.*-namespace. However, when building my solution, I'm now getting the exact same error as above again. It looks like Pharmacist doesn't just run on the project I set up separately to generate my events for me, but simply runs over all my projects, looking for events...

from pharmacist.

glennawatson avatar glennawatson commented on May 1, 2024 1

And sarcastic comments absolutely makes things happen faster.

from pharmacist.

open-collective-bot avatar open-collective-bot commented on May 1, 2024

Hey @cegio πŸ‘‹,

Thank you for opening an issue. We will get back to you as soon as we can. Also, check out our Open Collective and consider contributing financially.

https://opencollective.com/reactiveui

PS.: We offer priority support for all financial contributors. Don't forget to add priority label once you start contributing πŸ˜„

An advanced, composable, functional reactive model-view-viewmodel framework for all .NET platforms!

from pharmacist.

michaelstonis avatar michaelstonis commented on May 1, 2024

I am seeing the same issue when we have pointers to our nuget packages hosted on Azure DevOps.

@glennawatson is there a place in code that would be a good starting point to take a look at for this? I might have some availability to take a peek into here.

from pharmacist.

AlexanderMelchers avatar AlexanderMelchers commented on May 1, 2024

What's the status on this? I'm currently in an upgrade project on our solution, and as part decided to start using ReactiveUI. However, we have a bunch of legacy NuGet-packages, and as soon as I install Pharmacist, I get this NullReferenceException. Initially, Visual Studio would even freeze every time I opened it. I had no idea what was going on, but now turning here it seems that our packages on Azure DevOps might be the problem.

Is there any way around this (config option to turn off scanning proprietary packages?), or am I just forced to fall back on the ReactiveUI.Events.*?

from pharmacist.

AlexanderMelchers avatar AlexanderMelchers commented on May 1, 2024

Cool! Looking forward to it. Not that the ReactiveUI.Events.*-packages are a bad option for the time being. But the less dependencies our project has, the better! Thanks!

from pharmacist.

AlexanderMelchers avatar AlexanderMelchers commented on May 1, 2024

We are moving to source generators for next revision which doesn't suffer from nuget source issues. Just have to wait for the visual studio version that supports it next week

Would this also give us control over which packages Pharmacist tries to process? Because I think that would be the ideal solution, to somehow be able to indicate a list of packages Pharmacist processes or explicitly excludes from processing. Because even if Pharmacist might be able to access all NuGet-packages used by a solution, it might be undesirable to have it generate event bindings for all.

from pharmacist.

glennawatson avatar glennawatson commented on May 1, 2024

It will only generate events for the explicit classes you call Events() on. It has no awareness of NuGet packages.

The code is all ready to go just need time to do a push of a NuGet push.

Monitor over here https://github.com/reactivemarbles/ObservableEventsSourceGenerator

GitHub
Contribute to reactivemarbles/ObservableEventsSourceGenerator development by creating an account on GitHub.

from pharmacist.

softlion avatar softlion commented on May 1, 2024

2 years later, still no fix.

from pharmacist.

glennawatson avatar glennawatson commented on May 1, 2024

See https://www.nuget.org/packages/ReactiveMarbles.ObservableEvents.SourceGenerator/ and https://github.com/reactivemarbles/ObservableEventsSourceGenerator

This uses the dotnet nuget system rather than a custom nuget manager, so can handle private nugets.

Allows to get an observables for property changed events.
GitHub
Contribute to reactivemarbles/ObservableEventsSourceGenerator development by creating an account on GitHub.

from pharmacist.

softlion avatar softlion commented on May 1, 2024

Does you answer hides that you are shut downing pharmacist and redirect to those projects instead ?

Or is it only that you don’t care about the users of pharmacists and the management of this projet so you don’t even want to see any pr from anyone in this field ?

from pharmacist.

glennawatson avatar glennawatson commented on May 1, 2024

@softlion two years without any PR doesn't qualify you to make such a statement.

from pharmacist.

github-actions avatar github-actions commented on May 1, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from pharmacist.

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.