cbordeman / mvvm-tools Goto Github PK
View Code? Open in Web Editor NEWA Visual Studio extension to help move between view/viewmodel and other MVVM XAML tasks, for any project type. By Chris Bordeman.
License: Other
A Visual Studio extension to help move between view/viewmodel and other MVVM XAML tasks, for any project type. By Chris Bordeman.
License: Other
I'm getting this error while switch between View and ViewModel. I tried uninstall and reinstall the VSIX again. Still facing same issue. I'm using VS 2017. ActivityLog file attached. ActivityLog.zip
Hello. Thanks for making this extension!
I have my project organized such that my viewmodels and views are organized by "screen". Example:
projectroot/Views/ScreenA/[many views]
projectroot/ViewModels/ScreenA/[many viewmodels]
projectroot/Views/ScreenB/[many views]
projectroot/ViewModels/ScreenB/[many viewmodels]
Doing it this way, I can't seem to get the extension to find the corresponding View or ViewModel. Is there any way to get this to work with this folder structure?
For what it's worth, I use Stylet as my MVVM framework and that package looks for the corresponding View/ViewModel by taking the current path of the V/VM and replacing the word "View" with "ViewModel" (and vise versa) and looking in that directory. That method seems to work well.
Navigating around MVVM like this is an excellent idea, but at the moment the configuration (seems) needlessly constrained to only C# / xaml projects.
I was looking for something like this, but for Kendo/Javascript MVVM projects.
I suspect a little flexibility with the configuration would enable this to work on more projects.
If I have file open with a View or ViewModel ending (i.e. FooView.xaml, FooViewModel.cs, etc) I get the following error:
The type initializer for 'MvvmTools.Utilities.SettingsUtilities' threw an exception.
When I tried "Tools->Options->MVVM Tools" I get:
An error occurred loading this property page
If I open a file that doesn't have View or ViewModel in the name I get the expected error dialog that says:
Couldn't find any matching view or view model classes
I would love to use this extention. It would be very usefull, If I can get it to work. I'm using Visual Studio 2013 With Caliburn.Micro.
I use a naming pattern where Windows have a "Windows" suffix, and the view-model has a "VM" suffix, for example "MainWindow", and "MainWindowVM". I'm unable to figure out how to configure this pattern in your tool.
General Settings: https://imgur.com/a/ZTUxq
Solution and Projects Settings: https://imgur.com/a/3PxC2
When I am in the view-model, trying to navigate to the view opens a dialog making me choose from "MainWindow.xmal", or "MainWindow.xaml.cs" (shouldn't navigating to the view only show xaml files?).
When I am in the view, trying to switch to the view-model just gives the error "Couldn't find any matching views or view models".
Is it possible for me to make my pattern work with your extension?
As the title says, it's not compatible with VS 2022 even though it states it is.
Please see the following link for help on porting the extension.
Using latest version of VS2019 Enterprise, I get this when I go to the "Solutions and Projects" options page for the extension MVVM Tools:
Even though I have a solution open. Tried with a few different solutions and same result each time. Any ideas?
And the functionality does not work, Ctrl E,V is indeed assigned to MVVM Tools shortcut but does nothing, presumably because of the aforementioned.
Any help would be appreciated. Thank you.
It is working fine in VS 2017, but not in VS 2015 Update 3.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.