I just had to reinstall VS 2019 and have VS machine build an ASP.net web application there.
When running it, all CSS formatting is ignored. Neither own nor from bootstrap.
Is there a switch or setting somewhere that I still need to do?
Execution of the website is done in Windows 11 via Edge and IISExpress in Https mode.
VS 2019 reinstalled, created project ASP.net web application (project template), launched application with F5.
Related
In general, there is a website(ASP .NET MVC 5) that I run in Visual Studio.
The first time everything starts clearly, and if you restart the debug session, then the second time it does not start. If you look at the tray, then IIS Express is absent there.
Only restarting Visual Studio solves the problem, but again, only 1 time and you have to restart the studio each time.
What could be the problem?
This happened exactly to me when I upgrade a solution from VS 2010 to VS 2017.
I searched for solutions and only found: remove the .vs directory from the solution, remove the IIS Express directory from the documents or reinstall VS.
The problem was that the solution has multiple web projects that can run. And in one of them, in the .csproj, there was this configuration:
<UseIISExpress>false</UseIISExpress>
<UseIIS>False</UseIIS>
When I set it to true, the problem was gone.
Regards.
I have created a brand new ASP.NET MVC 5 project in VS2015 Enterprise (update 3). It runs as expected on that machine. However, when I copy/paste the whole project to a different machine running VS2015 community edition (update 3), the site fails to load and I get the error message:
The program '[1648] iisexpress.exe has exited with code 0 (0x0).
Here's the kicker - Creating a new ASP.NET MVC 5 project in VS community edition and copy/pasting and running it in VS2015 enterprise in the same way, however, works normally without any configuration changes. I have recreated the files in the users\documents\IISExpress folder as pointed out by other SO questions, tried changing ports, but to no avail.
EDIT: IIS immediately fails on launching, by the way. It sounds like a config issue, but I'm not sure what to check in this case.
I got the same issue, what i did is just close all the visual studio instances and in your project folder clear the .vs file(mostly it's Hidden). after that open your project.
I start debuging a mvc project. If I stop and start debugging again, visual studio hangs. If I change port and start debugging, it's fine.
The problem: I can't stop and start debugging until I change the port. How can I solve this issue ?
I have tested this in Vs 2013 Ultimate and Vs 2015 Community.
IIS Express version: 10
Clear site bindings on applicationhost.config and be sure you don't have same port numbers on projects.
For Vs 2015 applicationhost.config is at \ProjectDirectory\.vs\config.
Quick background. My client uses Visual Studio 2010 for their website. It was ported onto a new machine, and I had to do some extensive work to get all of the 3rd party controls and add-ons to work. They then requested source control, so using their MSDN license I pulled down and installed TFS 2012 on their machine. Everything installed correctly, and seemed to work until I went to add the existing VS2010 project to TFS2012, and I got an error that when traced back, basically told me that I would not be able to use TFS 2012 and VS2010 together. I weighed the choices, updating the project to VS2012, or uninstalling TFS 2012 and installing TFS2010, and decided the TFS route was the way to go, as I did not want to screw around with all the add-ons again. TFS2012 uninstalled fine, and TFS2010 installed fine.
When I went to start configuring TFS2010, I got an error ([ Application Tier ] TF255297: The Web site found has bindings that conflict with the bindings chosen for the Web site for Team Foundation Server. You must manually resolve the conflict between the bindings.) basically telling me the binding were not removed for the TFS2012 install. I looked in IIS and there is nothing in there using port 8080.
So my question is, how do I find out where the bindings are in use. I tried the netstat commands, and did not find anything using port 8080. I am kind of dead in the water here, so any help that is offered would be greatly appreciated.
I read this article on getting slowcheeta working on the build server. It works fine with Console apps but I can not get it to work for Web Applications.
I verified that the build service can access the slowcheeta (works fine for consoles apps).
I am able to transform on my local machine for web applications correctly as well.
The primary .config file is set to content do not copy, the transforms are set to none, do not copy.
The server is TFS 2012 with visual studio 2010 and 2012 installed to support build tasks.
github