Mvvm Light and Visual C# Express? - c#

Does MVVM Light work with Visual C# Express? Can't seem to get any of the templates showing up.

At this point, I do not support Visual C# express for MVVM Light templates. I only support express editions for the Windows Phone and for Windows 8 (Visual Studio 11 for WinRT).
I will consider supporting Visual C# express in a further revision of the installer. Unfortunately supporting new versions of Visual Studio is quite a lot of work to update the MSI...

It's quite easy to take the templates and move them to the personal template directory and they appear in visual studio 2010 express.
But I can't find the WPF4 dll. In GalaSoft binary dir, there's Silverlight 3/4/5 and WP7/WP71, but no WPF.

According to the MVVM Light Toolkit Codeplex pages, it should. Did you explicitly follow the installation instructions given on this page?

MVVMLight is just MVVM framework. It has nothing to do with project template in Visual Studio. I think your problem is Visual Studio hasn't installed correctly.
Update:
In case WPF project template not show up, run VCSExpress.exe /InstallVSTemplates at your installation path, e.g. $\Microsoft Visual Studio 10.0\Common7\IDE\VCSExpress.exe /InstallVSTemplates

Related

Xamarin Forms Previewer is missing

The issue occurred on Visual Studio Community 2019 version 16.9.1.
The VS version mentioned above was just downloaded. I am trying to develop a mobile app, but the Xamarin Forms Previewer is missing and I can not enable it from the Option Tools.
For more information, please see the attached files.
Can you help me with a solution?
Thank you in advance!
The XAML Previewer has been deprecated in Visual Studio 2019 version 16.8 and Visual Studio for Mac version 8.8, and replaced by the XAML Hot Reload feature in Visual Studio 2019 version 16.9 and Visual Studio for Mac version 8.9.
For now, it use the Hot Reload insead and provide a live visual tree to receive a real-time view of your running XAML code. It shows a tree view of the UI elements of your running Xamarin.Forms application.
When you debug you project, by default, it appears on the IDE's left. If you don't see it, use Debug > Windows > Live Visual Tree to show it.
I also face the same problem today in visual studio 16.9.1. I am also not able to enable it from anywhere in Visual Studio

visual studio c# extensions missing

I've search the web and found questions from 3-9 years ago.
My problem is that I can't find anywhere the .NET standard or Windows Console Application or Windows Desktop Application or class Library for C#.
When I had Visual Studio 2015 - it was there by default.
Today I have Visual Studio 2017 and window 10 and I can't get my things together.
Are they canceled?
What is the other option?
When I look at my New project library -> Online -> Visual C#
There are many different applications but non of them seems to come from Microsoft.
Meanwhile I've got a .NET Core API Solution template but it has a lot of errors.
Please help
visual studio c# extensions missing
Just like Joe said, you should use Visual Studio installer to install the modules you need. Visual Studio 2017 use the a new way to install Visual Studio! In the newest version, MS have made it easier for you to select and install just the features you need. MS have also reduced the minimum footprint of Visual Studio so that it installs more quickly and with less system impact than ever before.
After the installer is installed, you can use it to customize your installation by selecting the feature sets—or workloads—that you want.
For the .NET core API project, you need install module .NET Core cross-platform development.
Check the document Install Visual Studio 2017 for some more details.
Hope this helps.

C#, Swift, AND Android in Visual Studio 2015

I'm still a coding/C# newbie. I've spent the last 30 days learning C# probably about 8-12 hours per day. That said, I'm trying to get a setup where I can build Android apps, do some Swift programming, and continue learning C#.
I am currently running Visual Studio Express 2015 and it's for the Desktop platform, not Windows 10 apps.
My question is, can I use Visual Studio to do all of these things in one combined installation? I ask this because I was just about to install Xamarin and then I also found this Silver compiler which ALSO says it includes Visual Studio 2015: http://www.elementscompiler.com/elements/silver/default.aspx .
However, I'm not sure if I were to install Xamarin and then try to install Silver, is the Silver's Visual Studio going to over-write the Xamarin or my original installation of the IDE? I want to have ONE Visual Studio installation that allows me to start C#, Swift, AND Android projects.
I am also slightly confused on the different variations of Visual Studio 2015. By having Express, do I already have Community or is this a different IDE?
Thank you.
I would suggest you get Visual Studio Community instead of Express since Express is very limited. In community you are able to do all of those.
For Swift you only can use the language in the Xcode IDE. Swift can use in the Mac OS and Ubuntu, can not use in the windows now.
It's not correct. Silver is a project where you can use swift to write native apps on Windows. Xamarin is a completely different thing. With this tool you can write platform-independent with C#. For Mac, Android, iOS, and nativly with C# on Windows. It should be your prepared way, if you want to write many code in C#.

Change from Windows Forms to WPF Application

I already made an application that is using Windows Forms, but I knew that Windows Forms setup was no longer available in Visual Studio 2013, that is made me to install both of Visual Studio 2010 and Visual Studio 2013. When I want to make some changes in my application and re-build the setup, I have to run Visual Studio 2010 rather than Visual Studio 2013. The reason because I am using Visual Studio 2013, because I like this version and I am using Visual Studio 2010 just because for when I want to make some changes in my application.
I knew about WPF Applications when I finished made my application. And I am considering to uninstall Visual Studio 2010 and work with Visual Studio 2013. Do I have to re-write everything on my application's code to WPF? Because from what I heard, some functions in WPF are not the same in Windows Forms. And let's say that I successfully change my application from Windows Forms to WPF, what setup is provided with WPF ? So the other users could use my application on their computer?
i knew that Windows Forms setup has no longer available in Visual Studio 2013
Windows Forms is still available as a technology in Visual Studio 2013. If you are referring to the setup project type for creating an installer switching to WPF will not make it available for you.
So you can switch to Visual Studio 2013 and continue using Windows Forms but you will have to find another way to create an installer (and switching to WPF will not fix that problem).
In my opinion the ViX Toolset is very good for creating an installer. However, it is not "drag and drop" as the old Visual Studio Setup project type is.
#Kaoru You have to make some changes, Because some of functions in WPF and Win Forms are different.You don't need to change the Application Logic. But you have to change some modifications in UI and also code.
I heard a tool something called WF2WPF But I never used it and not found yet it.
If you are missing installer projects in VS 2013, then you may want to try Visual Studio Installer Projects Extension.
This preview release provides support for Visual Studio Installer projects in Visual Studio 2013. You can download the extension from the Visual Studio Gallery.

MVVM Light in Visual Studio 2012 shows no project templates

I have followed guide on http://www.galasoft.ch/mvvm/installing/ to install MVVM light on VS 2012. I've downloaded MVVM Light Toolkit V4.1 for Visual Studio 2012 from http://mvvmlight.codeplex.com/releases and after installation I cannot see any MVVM light projects when I click FILE->NEW PROJECT in VS 2012.
I choose to install binaries, templates and snippets everything by default. I have no idea what's happening.
What do I wrong? There are no errors.
My aim is to create MVVM light project with VS 2012 in C#
To enable project template you have to go to Start - Programs - MVVM Light - Vsix folder and run one of the files there (I think you need MvvmLight.VS2012.vsix but read their names carefully to find the one that fits your Visual Studio edition).
If you don't have such folder - try to find it somewhere in "C:\Program Files (x86)\Laurent Bugnion (GalaSoft)\Mvvm Light Toolkit\Vsix"
I'm a bit late, but check the following path:
C:\Program Files\Laurent Bugnion (GalaSoft)\Mvvm Light Toolkit\Vsix
(Start > All Programs > MvvmLight > VSIX)
You'll find Visual Studio Extensions (vsix). Try running the VS2012.
I've solved problem by installing it manually from the source code. I've copied snipptes, templates to VS 2012 directory and it worked.
Source can be found here http://mvvmlight.codeplex.com/SourceControl/changeset/view/b9bb3f49bb0e

Categories