Code Monkey home page Code Monkey logo

Comments (8)

VisualMelon avatar VisualMelon commented on May 27, 2024 1

Unless there is a roll-forward policy that is changing the behaviour for you, I'd suspect that changing the package wouldn't change anything; this feels like a build process issue. When I have internet that works properly again, I'll push a package to my test feed and put the details here so you can try that, and if that makes a difference then we can go from there.

from oxyplot.

VisualMelon avatar VisualMelon commented on May 27, 2024

2.1.2 does target .NET 7, I believe (now I'm not so sure... (indeed, it does not)), and earlier non-framework versions should be targetable from .NET 7 also.

How exactly are you targeting the nuget package, and what error/problem do you get?

from oxyplot.

Sundow avatar Sundow commented on May 27, 2024

Here is what it targets:
image

I reference a package like:

<PackageReference Include="OxyPlot.Wpf" Version="2.1.2" />

In my net7.0-windows project and while it builds no asset is copied to the build directory. Worked ok when the application targeted net472, other packages referenced the same way are ok. Obviously something with build target.

from oxyplot.

VisualMelon avatar VisualMelon commented on May 27, 2024

This 'just works' for me (net7.0-windows, WPF application): I've never used cake: is it in your screenshot by chance, or are you using it and so maybe it needs configuring rather than/in addition to the csproj?

from oxyplot.

Sundow avatar Sundow commented on May 27, 2024

This 'just works' for me (net7.0-windows, WPF application): I've never used cake: is it in your screenshot by chance, or are you using it and so maybe it needs configuring rather than/in addition to the csproj?

No, I reference the stuff in a classical way, cake is there just occasionally. But supported frameworks are there. And still, not "just works" for me. Not a big deal, I can compile assemblies from code but would be just a bit more convenient having nugets.

from oxyplot.

VisualMelon avatar VisualMelon commented on May 27, 2024

@Sundow should be a 2.1.2-net7 at https://www.myget.org/F/melonoxyplottesting (see https://www.myget.org/feed/melonoxyplottesting/package/nuget/OxyPlot.Wpf) ; it says it is out of date because it has a beta/preview suffix.

from oxyplot.

Sundow avatar Sundow commented on May 27, 2024

@Sundow should be a 2.1.2-net7 at https://www.myget.org/F/melonoxyplottesting (see https://www.myget.org/feed/melonoxyplottesting/package/nuget/OxyPlot.Wpf) ; it says it is out of date because it has a beta/preview suffix.

I tried with this nuget source and it works. But you actually were right, it works even with nuget 2.1.2 from the official nuget. It was my mistake, I forgot to put
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
to my project when converting it to net 7 from net 472.
And after this + explicit loading of OxyPlot.Wpf assembly (mentioning it in xaml is not enough to load it in net 7 version) it works for me.
Sorry for bothering. I guess this request can now be closed.

(By saying so it can still be useful to mention net 7 as the supported framework :-) )

from oxyplot.

VisualMelon avatar VisualMelon commented on May 27, 2024

@Sundow thanks for the update: glad you got it working

from oxyplot.

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.