lbugnion / mvvmlight

The main purpose of the toolkit is to accelerate the creation and development of MVVM applications in Xamarin.Android, Xamarin.iOS, Xamarin.Forms, Windows 10 UWP, Windows Presentation Foundation (WPF), Silverlight, Windows Phone.
http://www.mvvmlight.net
MIT License
1.17k stars 312 forks source link

ViewModel folder and ViewModelLocator missing post nuget install #39

Open NeilIrvingMacc opened 6 years ago

NeilIrvingMacc commented 6 years ago

After creating a new Xamarin Forms 3.0 app in VS2017 I add MVVMLight 5.4.1 via NuGet the ViewModels folder and ViewModelLocator are missing from the project once nugget has completed.

How do I correct this? Is it something I have done or do I need to downgrade my version of MVVMLight?

SunnyMukherjee commented 6 years ago

I am experiencing the same problem. I am having to copy the ViewModelBase and create the scaffolding manually in order to get started. Please fix.

NeilIrvingMacc commented 6 years ago

Yes I had to copy from another project

korijHT commented 5 years ago

I am getting this same issue. While following a tutorial I installed the MVVM Light via Nuget Package Manager. It claims everything installed fine, however I have no ViewModel folder nor any scaffolding files... Has anyone figured out a solution or reason for this?

sushibear commented 5 years ago

Same here... :(

jhalbrecht commented 5 years ago

While following a tutorial

@korijHT I'd have liked to see a link to this tutorial as I struggle to implement a Locator pattern in my own learning app...

dan461 commented 5 years ago

I'm trying to use MVVMLight in a Xamarin.Forms app using VS Community 2017 for Mac, having this same issue. The package installs with no errors, but it doesn't create the directories and classes needed. The package doesn't even show up when adding a 'using' unless I add the MVVMLightLibs NuGet as well. Maybe I'll try creating the scaffolding manually, hope that works, I was looking forward to using this.

SunnyMukherjee commented 5 years ago

I had the same issue a few months ago when starting to use MVVMLight with a Xamarin Forms app. I too thought I would have to create the scaffolding manually. You’ll see my original comment above. I don’t think they’ve fixed the issue since then. Then I found FreshMVVM. It works beautifully and it’s easy to use. It was made for Xamarin Forms. Check it out.

greektreat commented 5 years ago

Any update on this? I am having this issue.

jwhitake commented 4 years ago

I am also having this issue in VS 2019 (version 16.3.9) with MvvmLight v5.4.1.1

AshishMantosh commented 4 years ago

Still facing this issue in VS 2019 (version 16.3.9) and with MVVMLightLibsStd10 for.NET Standard v2 and XF v4.2 last stable release