Once I open a .NET 4.6 project I got this message
Configuring Web http://localhost:64886/ for ASP.NET 4.6 failed. You must manually configure this site for ASP.NET 4.5 in order for the site to run correctly. ASP.NET 4.6 has not been registered on the Web server. You need to manually configure your Web server for ASP.NET 4.6 in order for your site to run correctly.
And I'm sure that .NET 4.6 is installed on my computer
Actually it isn't .Net framework problem. It's Visual studio problem.
You can install that visual studio 2012 update and it will work smoothly.
The details of the update can be found here https://www.microsoft.com/en-us/download/details.aspx?id=44907
Related
Team,
I am a beginner in Azure. I have a task to upgrade the Azure SDK from 2.1 to the latest version available. The Azure project is housed under a MVC 4.0 solution and is currently using VS 2012.
Is it mandatory to use VS 2017 professional/Enterprise edition to work further on the project.
Can i still have VS 2012 and upgrade to the lastest Azure SDK version. How to go about it ?
My AZURE project uses a worker role, Azure storage n all.. Can anyone give me the step by step upgradation steps for this?
Can i still have VS 2012 and upgrade to the lastest Azure SDK version. How to go about it ?
The short answer is no. We could get the answer from this link.
We could know that VS 2015+ is required to install the Azure SDK 3.0
System Requirements
Supported Operating System
Windows 10 , Windows 8, Windows 8.1, Windows Server 2008 R2 SP1, Windows Server 2012 R2, Windows Server 2016
Note: Windows 7 Home Basic is not supported.
Required Software:
Microsoft Visual Studio 2015 OR
Microsoft Visual Studio Express for Web 2015 OR
Microsoft Visual Studio Community Edition 2015
IIS7 or IIS10 with ASP.NET and WCF HTTP Activation, Static Content, IIS Management Console and HTTP Redirection.
WebDeployment Tools 2.1 or up
I had a .net 4.6 project and I installed the .Net Framework 4.6 but when I open my project Visual studio 2012 gives me those 3 options
1-Change the target to .Net Framework 4.6. You can change back to
".Net Framework, Version=v4.6" at later time.
2-Download ".NetFramework, Version=v4.6". The project will not change.
3-Do not load the project.
I'm sure that I had .Net 4.6 installed on my computer
The Idea that Visual studio 2012 doesn't support by default building project using .Net 4.6 and you have to setup something called targeting .net framework this allows you to find .Net 4.6 as a target .Net version on the project properties.
To update you studio 2012 you have to download 12.9 MB update from this link
I have make an application on visual studio 2013 and I want to run this application on visual studio 2010 and dotNet framework 4.0 on my windows xp system but when I run my application I am getting an error below:
To run this application, you first must install one of the following versions of .Net Framework; .Net Framework, Version=v4.5
And also .Net Framework, Version=v4.5 does not support on windows xp
Kindly suggest me what should I do, waiting for your reply.
Thanks.
in your project properties, go to the dropdown "framwork" and select version 4.
I recently installed a fresh copy of Windows 7 ultimate, because of one reason: The windows recent update to .Net framework 4.5 made my MVC 3 and 4 disappear off the New -> Website template list and only exists in New -> Project option in Visual studio 2012 Pro. I never had this before, it's only the recent "Security" updates and few others all related to .Net framework 4.5 made this magical thing to happen. I don't understand why? Before the Windows "Security" update of 4.5 I was able to see all the MVC templates (3,4) off the New -> Website Template, leaving only two Web option related to Razor 1 and Razor 2, and others few others completely unrelated to MVC.
Please don't direct me to these links,
http://social.msdn.microsoft.com/Forums/vstudio/en-US/efe91261-c52a-44bd-9fe7-199d86ed9733/visual-studio-2012-not-displaying-net-framework-45-or-mvc-project-templates
and Visual Studio 2012 - no MVC project template, no 4.5
Because I have already tried those.
FYI: Re-installation, completely removed and re-installed a fresh copy, uninstalled all Visual studios 2008, 2010, 2012, and then re-installed one by one, and rebooted after every installation, Did not work.
Everything has to do with the Latest windows Update! Anyone else have this problem?
I have installed visual studio 2012 ultimate. I tried to create new project - MVC4 - WebAPI. I got the error message "The system cannot find the file specified. (Exception from HRESULT:0x80070002)"
I have reinstalled vs 2012 and repair mode also. I still cannot rid of this error message.
Any advise?
Download ASP.NET Web tools 2012.2 from
http://www.asp.net/downloads and install it
I am quite positive you should be able to create ASP.NET MVC projects using Visual Studio 2012.