GithubHelp home page GithubHelp logo

Comments (21)

glennawatson avatar glennawatson commented on May 1, 2024 2

with some of these nuget packages it can take a while to update unless you do a nuget cache clean
you can clean it with dotnet
so like

dotnet nuget locals all --clear

from pharmacist.

glennawatson avatar glennawatson commented on May 1, 2024 1

Thanks, I'll have a look at it today.

from pharmacist.

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

Hey @weitzhandler 👋,

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.

glennawatson avatar glennawatson commented on May 1, 2024

I'm getting some build errors with the project at the moment. Eg for the droid project I am getting:

/Users/glennwatson/Downloads/UnoPharmacist-master/UnoPharmacist/UnoPharmacist.Shared/Assets/LockScreenLogo.scale-200.png : warning XA0101: @(Content) build action is not supported
/Users/glennwatson/Downloads/UnoPharmacist-master/UnoPharmacist/UnoPharmacist.Shared/Assets/SplashScreen.scale-200.png : warning XA0101: @(Content) build action is not supported
/Users/glennwatson/Downloads/UnoPharmacist-master/UnoPharmacist/UnoPharmacist.Shared/Assets/Square150x150Logo.scale-200.png : warning XA0101: @(Content) build action is not supported
/Users/glennwatson/Downloads/UnoPharmacist-master/UnoPharmacist/UnoPharmacist.Shared/Assets/Square44x44Logo.scale-200.png : warning XA0101: @(Content) build action is not supported
/Users/glennwatson/Downloads/UnoPharmacist-master/UnoPharmacist/UnoPharmacist.Shared/Assets/Square44x44Logo.targetsize-24_altform-unplated.png : warning XA0101: @(Content) build action is not supported
/Users/glennwatson/Downloads/UnoPharmacist-master/UnoPharmacist/UnoPharmacist.Shared/Assets/StoreLogo.png : warning XA0101: @(Content) build action is not supported
/Users/glennwatson/Downloads/UnoPharmacist-master/UnoPharmacist/UnoPharmacist.Shared/Assets/Wide310x150Logo.scale-200.png : warning XA0101: @(Content) build action is not supported
/Users/glennwatson/Downloads/UnoPharmacist-master/UnoPharmacist/UnoPharmacist.Droid/Properties/AndroidManifest.xml : warning XA4211: AndroidManifest.xml //uses-sdk/@android:targetSdkVersion '26' is less than $(TargetFrameworkVersion) ''. Using API-28 for ACW compilation.
Resources/values/Styles.xml(2): error APT0000: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
Resources/values/Styles.xml(2): error APT0000: No resource found that matches the given name: attr 'windowActionBar'.
Resources/values/Styles.xml(2): error APT0000: No resource found that matches the given name: attr 'windowNoTitle'.

The UWP project seems to be working now though with 1.4.1.

from pharmacist.

glennawatson avatar glennawatson commented on May 1, 2024

Closing the issue since the Droid issues seem unrelated to Pharmacist. Feel free to comment if that is not the case.

from pharmacist.

weitzhandler avatar weitzhandler commented on May 1, 2024

OK, will check about the Droid project, but I actually tried the UWP one.
Try unloading all other projects but the UWP one, it doesn't work either.

from pharmacist.

glennawatson avatar glennawatson commented on May 1, 2024

UWP is 100% compiling/working for me.

from pharmacist.

glennawatson avatar glennawatson commented on May 1, 2024

Try doing a NuGet cache clean.

from pharmacist.

weitzhandler avatar weitzhandler commented on May 1, 2024

Can Pharmacist work on Xamarin.Droid and Xamarin.iOS?

from pharmacist.

glennawatson avatar glennawatson commented on May 1, 2024

Yep.

from pharmacist.

glennawatson avatar glennawatson commented on May 1, 2024

You gotta consider the scenario with Xamarin is slightly different, almost everyone has a .net standard 2.0 project for the UI, then just a front end for each platform. So you would put pharmacist in your .net standard 2.0 shared project. Uno seems to like shared projects which are slowly disappearing from Microsoft recommended list.

from pharmacist.

weitzhandler avatar weitzhandler commented on May 1, 2024

Well I can't change the way Uno works.
In a way, this is the advantage of Uno over XF, because it makes a regular UWP app run everywhere.

from pharmacist.

weitzhandler avatar weitzhandler commented on May 1, 2024

But if Pharmacist works on Droid and iOS, it should work. Uno creates to regular Xamarin projects, and just adds another assembly Uno.UI which encapsulates the UWP control API for the current platform, same as for WASM.

from pharmacist.

glennawatson avatar glennawatson commented on May 1, 2024

Have you tried the instructions above? It has been working with your trial project for me since yesterday.

from pharmacist.

weitzhandler avatar weitzhandler commented on May 1, 2024

I've tried it only with the UWP so far, it did generate the files, but the generated files issued errors.
It tries to generate DataContextChanged event, whereas Windows.UI.Xaml.DependencyObject doesn't have such event.

image

from pharmacist.

weitzhandler avatar weitzhandler commented on May 1, 2024

Well look like it's the interactivity library.
Please see my branch targeting that.

from pharmacist.

glennawatson avatar glennawatson commented on May 1, 2024

The issue is solved in 1.5.3 so do the nuget clear trick and try that.

from pharmacist.

weitzhandler avatar weitzhandler commented on May 1, 2024

Thank you. Yes looks like it's working now.

from pharmacist.

glennawatson avatar glennawatson commented on May 1, 2024

Re-opening, doesn't seem like the droid project is producing properly.

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

I deliberately included Uno in the testing.

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

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.