VS 2019 Go To Definition not working in XAML WPF - wpf

Hi last months I upgraded Visual Studio 2019 and I'm experimenting some problems like freezing and crashing but the most annoying for me is this.
When I start Visual Studio and use "Go To Definition" in XAML for first time it works
But the next times I use "Go To Definition" it send me to the System.Windows.Data.Binding class
Anyone knows how to fix this or downgrade to a stable version of Visual Studio?
I have done the next things :
Delete .vs folder
Restore Nuget Packages
Reinstalled Visual Studio
Installed VS in another computer

Related

How to show Smart Tags in Winforms Form in Visual Studio 2019

I've been out of the winforms space for quite a few years. Trying to find out where the smart tag is in a winforms form in Visual Studio 2019 and how to invoke it.
Following instructions from https://docs.devexpress.com/WindowsForms/402959/controls-and-libraries/ribbon-bars-and-menu/get-started
I cannot, even without devexpress find the windows smart tag. Ideas?
Smart tag is enable by default in design-time. If you don't see it, try:
Uninstall Visual Studio.
Delete all temporary, settings, data files/folders of Visual Studio.
Restart computer.
Re-install Visual Studio.

.vdproj is incomatible in VS 2019 - Community Edition - and reload project give load error

I'm unable to run a .vdproj in Visual Studio 2019 Community Edition. I tried the below link which hasn't worked either
Visual Studio - vdproj is incompatible
The project shows incompatible and after installing the Installer Project as Extension given in the above link , the project load is failing. Unable to proceed. Please help
This is redundant question.
Please follow this link for the answer:
Visual Studio - vdproj is incompatible
Or follow these Steps which is also taken from that link:
Go to Extensions > Manage Extension
Select Online > Visual Studio Marketplace
Search for Microsoft Visual Studio Installer Projects
Download the package
Close the Visual Studio to start the installation.
Follow the instructions to install the extension.
Once installation is completed. Launch again the Visual Studio.
In the Solution Explorer, look for the .vdproj project
Right click .vdproj project, click Reload
If all of the mentioned remedies not help, there is another possibility, which was the case here in VS2019 Community.
Installed extensions can not only be uninstalled, but also be disabled. In that case it looks like so:
The "Disable" and "Uninstall" buttons show up after a right-click on the corresponding object.
In my case and to my big astonishment, the Installer Project was disabled (showing "Enable" in the button), whoever did it.
It cost me about 2 hours to find out, some restarts of VS2019 and wondering about useless instructions about having to install the extension. After enabling, everything worked like before. Sigh of relief.
After doing lot of research on this topic, Visual Studio 2019 Community edition , is not supporting these kind of projects. Older versions like 2015 , 2010 supports.
Or convert these projects into a console application and run it for local setup and debugging.

Cannot open .csproj-file with Visual Studio C# 2010 Express

I'm trying to open this project (https://github.com/shtejv/ARDrone-Control-.NET) downloaded from the internet but just when I open the project this error appears: "The project type is not supported by this installation."
It also shows the solution corresponding to that project as unavailable.
What can I do? maybe should I download a newer version of Visual Studio?
EDIT: The project that is causing the fail is called ARDrone_Testing so maybe it's a unit testing project so I'll need the full version of VisualStudio2010. I read it in this post!
SOLUTION: It finally works properly, I've just finished installing vs2013 professional and open the project without any problem!
Thank you all!
I'm looking at the .sln file and it is created with Visual Studio 2010:
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
What project is failing? (the name of the project)
Additional dependencies like DirectX shouldn't affect the project loading.

WPF application template not available in Visual Studio 2010

I have just installed Visual Studio 2010.
when I attempt to create a new project in c#, there is no option for a WPF application. There is for Visual Basic.
The WPFApplicaton.zip flie does exist in C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates\CSharp\Windows\1033
What could be wrong here?
My first suggestion would be to run the installer again - it should come up with "repair" and "change" (or something like that) options along with "uninstall".
"Repair" will reset what you already have installed.
"Change" (or "Update" - I don't have VS2010 installed on this machine to check the actual wording) should let you run through the install again adding and removing components. Step through this double checking that you've installed all the templates and options.
If that doesn't work then you could try an uninstall and re-install/
You need to specify the targeting .NET framework.
Select File menu from VS2008 or VS2010; Select .NET framework 3.5 or 4.0; Select Visual C#. you will find WPF Application template listed

Visual Studio 2008 WPF Project error "project type is not supported"

I'm running Windows 7 x64 with Visual Studio 2008 (SP1). Yesterday I came across an issue when creating WPF projects. I don't know if I've created any other WPF projects since I installed Win7.
First of all, in the Create Project dialog, the project type says "csWPFApplication" which is weird enough and I never noticed before. When I try creating the project I get 2 Package Load Failure errors for Microsoft.VisualStudio.Internal.WPFFlavor.WPFPackage and then a message that "The project file ... cannot be opened. The project type is not supported by this installation.
I tried a number of different suggestions from Google and even uninstalled/reinstalled to no avail. Any ideas?
Try starting Visual Studio with.
C:\Program Files\Microsoft Visual
Studio 9.0\Common7\IDE\devenv.exe
/resetskippkgs
I would also try to just create a blank solution/WPF project. and then add the files from your old project one at a time, and see if you still get the error.
If that doesn't work, I would try to uninstall and reinstall .NET 3.5 which looks it could be corrupt.

Resources