Visual Studio 2017 15.7.2 - ASP.NET Core Application is missing - asp.net

I installed the Visual Studio 2017 Enterprise and updated it to the last version. I choosed the necessary web components in the Visual Studio Installer, tried to execute the devenv /InstallVSTemplates, tried to repair Visual Studio and installed .NET Core SDK (x86 and x64).
Nothing of this helped me, I still can't find the ASP.NET Core Application under .NET Core in Visual Studio. How can I solve this problem?

Solution that I found myself: Everything described above was indeed caused by a mistake in the third screen.
I did not find how to solve this problem automatically, I just installed all these .msi packages manually. The installer loads them, but for some unknown reason can not install it themselves. To install them manually, you need to go to the directory where Visual Studio is installed, there just look for these packages by name and install them. Then you need to run the installer again and if it shows another error with another package, you need to repeat the procedure with a manual installation. I had to repeat it three times with three different packages. After that, I started the installer once more and it installed the rest.

Related

Visual Studio 2019 Doesn't seem to see that I have .NET Core 3.1 Installed (with SDK)

I just installed Visual Studio a few days ago and for some reason I can't create anything but a class.
When I go to create a new User Control the pop up window lets me do everything except for click the "Add" Button to close the window and create the control.
If I double-click the User Control selector to create automatically, it pops up an alert box that says I need to go to the installer to get the .NET Framework target libraries. But when I go to the project's properties I see that I am already targeting .NET Core 3.1 and the only other option I have to target is .NET Core 3.0.... I assume this is because I'm in a .NET Core WPF application but I have no idea why it won't let me create a new control. It won't let me create anything except for a new class.
What is going on here? How can I work around this bug?
I've faced your problem recently. most of the templates were not installed after installation.
something you have to do is Modify your installation.
open Visual Studio Installer and click on Modify then choose the features(.Net core,Asp.net, Desktop Application and etc) in order to re-install them.
keep it in mind that, if installer encounters any problem or missing dll. installation instantly will be completed that should not happen.
keep your eyes close to your installer process and make sure all packages are installed.
a successful installation MUST not have any warning otherwise there are packages not installed.
it's better to install packages one by one NOT totally. I mean if you want the Asp.Net Core feature then try to install it at first. then try to install another feature.
Actually, I was not able to install whole features in a single installation and I don't know why. in short, don't heavy your installation.
If the problem still exists then:
1. Close all open solutions
2. Run InstallCleanup.exe
C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe
3. Remove all existing Visual Studio programs from Control Panel -> program features
4. Restart pc and re-install Visual Studio
5. Make sure you have connected to the network
6. Choose only one feature(Don't select all) to install + Visual Studio Editor
vs bug
Extensions don't work properly in VS 2019 and make it hang. it's may happen because the Extensions have to be updated to be compatible with vs 2019 or it's vs bug.

Unable to Install: my .msi file

I have develop a system in asp.net using win form and made its .msi file. I have installed it on my system it works perfect but when i try to install it on clients system it gives me following error.
The framework i'm using is 4.5 Visual studio 2013
This is the error i'm facing.
Need serious suggestion to resolve this error.
Thanks all .My problem sorted out using visual studio installer i add primary out and localize resources of the product in exe. Bingo the problem go on.

Web Projects in VS2015 Update 1 Professional are Missing

On one machine, I don't have the Web Projects.
First of all I had a Ultimate Trial, there I had the webprojects. Then I uninstalled it and installed the Professional, since then all web projects (4.5 and 5 rc) are missing.
I did install the Web Developer Tools. I Also installed and repaired the asp 5.
I also uninstalled VS2015 and reinstalled it.
On all other machines even those where i also uninstalled the ultimate it works fine I don't want to reinstall the whole machine :-/
Try to reset to default templates back by using the following command line (run as local Admin):
devenv /installvstemplates
UPDATE: also removing folders ItemTemplatesCache and ProjectTemplatesCache from C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE might help. It is pretty safe to delete them but I would backup just for any cases.

Error while Publishing Web App in Visual Studio Professional 2013

I am trying to publish my Web App in Visual Studio Professional 2013 but getting the following error
I got the same question asked over here but no useful answer.
Can anyone please help
You probably will be using older version, that was having an issue. refer detail [here]
Install the newer web deployment tool, should work.
which .net version are you using.
check web deploy version. if vs has 2 web deploy version, the vs get confuse to take which version. If it has 2 version, just uninstall vs and then instal it along with web deploy. if the Vs has one 1 web deploy version, you uninstall and install the web deploy. It will rectify your problem i hope.
You can refer This link
Check if version 9.0.0.0 of the assembly is installed in GAC. (from the VS2013 developer command prompt) gacutil /l Microsoft.Web.Deployment. Issues like this have occurred in the past where things worked, then after installing an update (or trying to install one) then reports of missing dlls, like nuget, occur.
The usual course of action is to repair the Visual Studio installation.
There is a problem with your publish profile. Delete the pubxml file located bellow Properties folder in your project and then create a new publish profile.
I got the same problem when older project runs into the new .NET Framework, for that you have to do the following.
Right Click on your project name->select Property Pages -> Click Build from the menu-> then select Target Framework .Net framework 4.5 or your current using framework..
"Could not load file or assembly" means the required file (of that mentioned version) is not available in the assembly (nor in the registry). All you gotta to do is to ensure this same is installed properly that would allow you to proceed further. The other things to ensure is the latest framework installed on your system.
Think you have some errors happen when to install or update Visual 2013, so you can reinstall again and this error will be fixed.

System.Data.SQLite Visual Studio 2012 .NET 4.5 Won't Show in Data Source

I'm developing on a Winodws 7 x86 machine in Visual Studio 2012 using .NET 4.5. I installed the x86/x64 System.Data.SQLite official Nuget package for my project. But I still don't see it as an option in the Data Source\Data Provider selections in the "Choose data source" dialog. I saw this answer here and it looks like this is all I should have to do (SQLite 1.0.82.0 (latest) in Visual Studio 2012 not showing in Designer Data Source). Am I missing something?
Thanks!
This package worked for me.
Apparently
"This setup package is capable of installing the design-time
components for Visual Studio 2012."
means
"This setup package is required for installing the design-time
components for Visual Studio 2012."
I just wanted to add this as a followup because I was having issues seeing the designer in VS2012 as well and it may help others in the future.
After multiple attempts at installing the designer and not seeing it show up, I ran
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe /setup
This will force VS to rebuild its registry based on all of the installed packages. This will take a couple of minutes. Afterwards, I was able to start up VS 2012 and see the entry.
I am curious whether the installer executes this command at all or if it just triggers it but does not wait for it to finish. At which point the end user opens VS 2012 before the command has time to finish.

Resources