Problems in Visual studio 2019 16.11.3 [duplicate] - visual-studio-2019

I upgraded from VS 2019 16.0.3 to 16.0.4 and it broke debugging for some of my projects.
VS 2017 has a page for downloading old versions, but I can't find something similar for VS 2019.
How can I downgrade my version of VS 2019?

Now there is a page for downloading old versions of VS 2019 as well.

as I said in here
I had the same Error (in version 16.9.3)
but By Repairing Visual Studio 2019, Updating last version of windows 10,
close VS, delete .vs hidden folder (under solution folder) ,bin and obj folder then restart your VS .
Fortunately My problem was solved.

Related

Why are all my templates in visual studio gone?

I recently installed Visual Studio for Mac 2022. I had VS Mac 2019, and it had the .net templates. When I installed VS 2022, all my previous .net templates were gone, even though I selected to install .net templates. When I open VS 2019, it has all of the templates installed, even the ones that I installed with only VS 2022. Is there any way to fix this, or should I just use VS 2019? 2022 vs 2019
Could you please try to set your .NET SDK path?
You can locate it under Preferences->SDK Locations->.NET Core and set the path as /usr/local/share/dotnet/dotnet.
Hope this can help solve the problem.
Ref: https://developercommunity.visualstudio.com/t/Starter-templates-missing/10070338?space=41&q=missing+templates
The Other - .NET project templates in Visual Studio for Mac 2019 require the Mono framework.
In Visual Studio for Mac 2022 the project templates that require Mono have been removed.
Instead you can install the .NET SDK use the project templates that target .NET 6.0, .NET Core 3.1, and these are available from the Web and Console section, if the associated SDKs are installed.
To install the .NET SDK you can either download them directly from the download page or re-run the installer and ensure that .NET is selected.

Where is Code Analysis in Project properties of Visual Studio 2022

If I open a .NET 5 project in Visual Studio 2019, I see code analysis as follows.
And now if I open the same project in Visual Studio 2022 Preview, I dont see that any more.
What am I missing?
Maybe it was a Release Candidate version because in the latest VS2022 the Code Analysis is there:

this project is incompatible with the current edition of visual studio

I developed an application into Visual Studio 2012. Now I installed Visual Studio 2015 and run the same application into Visual Studio 2015. but i found an error "this project is incompatible with the current edition of visual studio" I searched it again and again and found many solutions but these solutions are not working for me.
The problem was that I wasn't select Microsoft Web Development during installation period so that whenever I opened my ASP.net MVC project in that installed IDE. It showed me error this project is incompatible with the current edition of visual studio. So I updated this installed 2015 Visual Studio by Control Panel\All Control Panel Items\Programs and Features. Now it is working
This stackoverflow provides better answer for various other project file failures which cause same error as above.

Broken references when migrating from Visual Studio 2013 to Visual Studio 2015

When migrating packages from VS2013 to VS2015, all external and internal references for Data Access Layer Project were completely broken. References and packages for all other projects are fine. When uninstalling and re-installing/re-adding the references they still appear as broken.
Has anyone ever encountered this before? If so, what did you do to fix this?
I ended up removing the project from Team Foundation Server, opened it up with Visual Studio 2013 and mapped it to a different location. The program then rebuilt successfully and now when opening it with Visual Studio 2015 all references are building.
Have had the same issue. After analyzing project warnings I found that NuGet can't restore packages from solution's .nuget folder. In my situation enabling automatic package restore according to this answer fixed all errors.

Robert Giesecke's Unmanaged Exports and Visual Studio 2015 Build Error

We have been using Robert Giesecke's excellent Unmanaged Exports library for a while with our Delphi application. We just upgraded to Visual Studio 2015 and it doesn't seem to be working anymore--I can compile the exact same project in VS2013 and it works fine, can access the functions in the DLL, etc. I recompile in VS2015 (exact same code and project) and I get a build failure on the Unmanaged Exports library as shown below:
Task Parameter:SdkPath=C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6 Tools\ (TaskId:44)
Cannot find lib.exe in 'K:\Visual Studio 2015\Common7\IDE\\..\..\VC\bin'. (TaskId:44)
Done executing task "DllExportAppDomainIsolatedTask" -- FAILED. (TaskId:44)
Done building target "RGieseckeDllExport" in project "BWSITwilio.csproj" -- FAILED.: (TargetId:73)
And as such the library will not export the functions in the DLL for me to access in Delphi. I can stay in VS2013 for a while but something seems amiss with the library in VS2015 (maybe looking in the NETFX 4.6 folder??)
I am open to ideas so I can use VS2015--I was about to uninstall 2013 but have to hold off now.
Thanks in advance for any input or advice--it is really this library that has allowed us to continue to use Delphi since we can access anything in .NET with it!
The release notes for version 1.2.7 (dated 16 August 2015) on Nuget include this:
no longer fails the build when it can't find lib.exe
I suspect you are using an older version and can solve your problem by moving to the latest.
You are probably using a version that was built before VS 2015 was released and I'm sure Robert's latest version now supports VS 2015.
For what it's worth, even if lib.exe still cannot be found that's not going to bother you since you don't need a .lib file to import into Delphi.
I was facing the same issue and was able to solve this by manually copying over some Visual Studio 2013 files into the 2015 folder. I searched for lib.exe on my computer and used Beyond Compare with the two application's program file directories.
Open C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\ in
Explorer, select all files, Copy.
Open C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\ in Explorer, Paste. When prompted to replace, choose Skip.
After doing this I was able to compile my projects that were using RGiesecke.DllExport in Visual Studio 2015 again.
I can't tell you what specific version of 2013 I had installed because I've since uninstalled, but apparently these files are leftover. I'm running MS VS Community 2015 Version 14.0.23107.0.
Not sure if its relevant at all, but the lib.exe I copied from the 2013 bin folder's version reads 12.0.21005.1.

Resources