Giter Site home page Giter Site logo

[BUG] Can't build UWP about sextant HOT 13 CLOSED

albilaga avatar albilaga commented on April 27, 2024
[BUG] Can't build UWP

from sextant.

Comments (13)

albilaga avatar albilaga commented on April 27, 2024 1

@RLittlesII this is xamarin forms project.

from sextant.

RLittlesII avatar RLittlesII commented on April 27, 2024 1

I tried rolling back to Sextant 2.4.1 and the problem no longer appeared, so I think it started with the 2.5.1 package (I had other build errors but I think that's just because the API changed).

The main thing that changed was we shipped Sextant with a uap target package. A UWP project using Xamarin.Forms should use the Sextant.XamForms package.

from sextant.

RLittlesII avatar RLittlesII commented on April 27, 2024 1

@albilaga Can you confirm that the setup for the UWP app here is setup how you are trying to setup? If so, I was able to get a UWP target for a Xamarin.Forms application working.

from sextant.

RLittlesII avatar RLittlesII commented on April 27, 2024 1

@albilaga Great. I apologize it took so long to get that. I plan on putting together a few samples in the near future. One will be using Sextant in a stand alone UWP application. Going to close this issue.

from sextant.

open-collective-bot avatar open-collective-bot commented on April 27, 2024

Hey @albilaga 👋,

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 sextant.

RLittlesII avatar RLittlesII commented on April 27, 2024

@albilaga Is this the UWP project for a Xamarin.Forms project? Or a stand alone UWP project? I ask because the packages you would need to include would be different in this scenario.

from sextant.

ericcox avatar ericcox commented on April 27, 2024

There seems to be a workaround, but my project has other problems so I haven't been able to completely test it yet.

You have to check out the source repo, revision a2851ae (the one tagged with 2.5.1), and edit the project file Sextant.cproj in the source editor (you can't do this in the property editor because it is a multiple-platform project not a UWP project, so the 'Generate library layout' checkbox is disabled)

Add <GenerateLibraryLayout>true</GenerateLibraryLayout> to the first <PropertyGroup>, and build the solution. (Note: I had problems building the test projects, so I just unloaded them). This will generate the missing Sextant.xr.xaml file we need. Copy it into the folder named in the error message, and you can get your project to build.

Again I haven't been able to completely test my project to verify that it doesn't cause other problems, but this workaround got me over this hurdle.

from sextant.

RLittlesII avatar RLittlesII commented on April 27, 2024

@ericcox Do you happen to have a reproducible sample?

Any information on the versions of UWP?
When this started?
Has this always been an issue?

Sounds like the UWP nuget was never working based on this.

I don't use UWP often and I have limited access to Windows environments at the moment. So any additional information around this is helpful towards a resolution.

from sextant.

ericcox avatar ericcox commented on April 27, 2024

As a matter of fact I've been working on a proof of concept to get myself familiar with how the various pieces work, without having to try to integrate it into a huge 50+ project solution. It's attached.

I'm using Windows 10 version 1809, build 17763, with target and minimum versions set to same.

I tried rolling back to Sextant 2.4.1 and the problem no longer appeared, so I think it started with the 2.5.1 package (I had other build errors but I think that's just because the API changed).

Not sure if it's always been an issue - just started experimenting with Sextant today :)

xamarin-ninject-reflectui.zip

from sextant.

ericcox avatar ericcox commented on April 27, 2024

Oh - almost forgot: I have the Android/iOS projects unloaded for now - no idea if they even build.

from sextant.

albilaga avatar albilaga commented on April 27, 2024

@RLittlesII Yes. If I am not wrong I am just using default setup app and install Sextant.XamForms and from you sample looks like it is working. Cool.

from sextant.

albilaga avatar albilaga commented on April 27, 2024

No worries. Great it is solved now 🥂

from sextant.

github-actions avatar github-actions commented on April 27, 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 sextant.

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.