Giter Club home page Giter Club logo

Comments (8)

alprinias avatar alprinias commented on June 16, 2024

Ok, went and added by hand the missing dll from the location it had been downloaded into by nuget.

Now, when I try to add a MvvmManager, I get an error saying "could not load file or assembly MvvmBaseLib.NetStandard..."

Alex

from mvvmforms.

KlausLoeffelmann avatar KlausLoeffelmann commented on June 16, 2024

Which .NET Framework are you targeting?
I think we need 4.7 for 2.3.2 Beta. @surgien, can you give some advise?
(Will take some time, we're in GMT+1...)

from mvvmforms.

KlausLoeffelmann avatar KlausLoeffelmann commented on June 16, 2024

About the toolbox: You need to do a trick to populate them to the toolbox, since a NuGet cannot populate the toolbox, and we did not want a VSIX. (If you had a solution for that, we'd be HAPPY to hear about! :-) ). The Wiki describes how it is done.

from mvvmforms.

alprinias avatar alprinias commented on June 16, 2024

Thanks for the fast response!

I'm targeting 4.5.2.
I followed the Wiki, but as I said in my original post, I ended up not having the dlls in my bin folder after installing the nuget and building.
Don't worry for delays, I'm in GMT+2.

from mvvmforms.

KlausLoeffelmann avatar KlausLoeffelmann commented on June 16, 2024

Since we decided to go for .NET Standard 2.0, I suppose 4.5.2 will not work (they're simply not compatible). If you cannot upgrade to 4.7 or 4.7.1, then you need to downgrade MvvmForms to 2.x (@surgien need to confirm the highest working Version), but you need to use PCLs then. (You could try to use the backwards compatibility setting for .NET Standard Dlls by inserting this

  <PropertyGroup>
    <TargetFramework>netstandard1.4</TargetFramework>
    <PackageTargetFallback>$(PackageTargetFallback);portable-win+net45+wp8+win81+wpa8</PackageTargetFallback>
  </PropertyGroup>

into your project, but I personally did never test this, so I would not be able to say reliably, if that's really working. Target would then be .NET Standard 1.4, if I remember correctly.)

from mvvmforms.

alprinias avatar alprinias commented on June 16, 2024

Sooo, I installed 4.7.1 and created a new test project and it now works!
My problem now is that when I go to the MvvmManager and select "Manage View/ViewModel Bindings..." I get a pop up "Value cannot be null. Parameter name: collection" with an OK button. When I press the button, VS crashes and restarts itself.. this is VS 2015 Community.
Alex.

from mvvmforms.

surgien avatar surgien commented on June 16, 2024

The DataContextType-Property is empty. You have to define a type first. Crash will be fixed.

from mvvmforms.

KlausLoeffelmann avatar KlausLoeffelmann commented on June 16, 2024

Can we issue a MessageBox-Box warning that the DataContextType-Property is not set, and not swallow silently?

from mvvmforms.

Related Issues (5)

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.