Cannot create Visual Studio 2012 MVC4 WebAPI project - visual-studio-2012

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.

Related

Microsoft Visual Studio 2012 new mobile phone project

I'm new in Visual Studio. Installed Microsoft Visual Studio Professional 2012 (Version 11.0.50727.1 RTMREL).
Need to create windows mobile 6.5 application. When I go to File > New > Project I cannot find Windows Mobile in the list of templates. I tried installing Windows Mobile 6.5 Development Tool Kit still doesn't show up. Any ideas?
Yes, you need either Visual Studio 2005 or 2008 and better than the Express edition.
Then you need to install the Windows Mobile 6 SDK or the Windows Mobile 6.5.3 DTK.
In Visual Studio 2005/2008 you will see SmartDevice in the list of Project Templates when you start a new project.
A trial of VS2008 can be downloaded at http://downloadfreesoftwaresforpc.blogspot.de/2012/05/visual-studio-2008-professional-edition.html (http://download.microsoft.com/download/8/1/d/81d3f35e-fa03-485b-953b-ff952e402520/VS2008ProEdition90dayTrialENUX1435622.iso)
You can upgrade the trial following MSDN at http://msdn.microsoft.com/en-us/library/cc442563%28v=vs.90%29.aspx
You'll need a copy of Visual Studio 2008 to do development for Windows Mobile\Windows Embedded Handheld. Visual Studio 2010 and later only support the new "Windows Phone" OS.

Visual Studio 2012 Database Project - Construction of frame content failed

This might not be the right forum for an issue I'm having, however, I'm dead in the water until I can solve it.
My VS 2012 solution has a Database project: Database.sqlproj.
Today I hit a colliding package problem that led me to reinstall and repair Sql Server Data Tools to eliminate warnings. The activity log revealed that the installation apps had been creating incorrect names in the registry. Ten+ names in the registry had paths in which a backward slash had been left out between "Program Files(86)\Visual Studio 11.0" and "Common7". The path shown in the errors in the activity log looked like this:
C:\Program Files (x86)\Microsoft Visual Studio 11.0Common7
I searched for and corrected those errors in the registry, opened VS 2012 and my project without errors, or so I thought. I discovered that I could no longer 'Publish' the database project. Looking into the SQL Server Object Explorer and the activity log I now see this:
Construction of frame content failed. Frame identifier:
ST:0:0:{fbcae063-e2c0-4ab1-a516-996ea3dafb72} Frame caption: SQL Server Object
Explorer Exception details: System.ArgumentException: The parameter is
incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)) at
System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32
errorCode, IntPtr errorInfo) at
System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode) at
Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32
id, ProvideToolWindowAttribute tool) at
Microsoft.VisualStudio.Shell.Package.FindToolWindow(Type toolWindowType, Int32
id, Boolean create, ProvideToolWindowAttribute tool) at
Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory.Create ToolWindow(Guid&
toolWindowType, UInt32 id) at
Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()
Thanks for any help with this,
Arnold
Installation Information
Windows 7 Professional
Microsoft Visual Studio Professional 2012
Version 11.0.51106.01 Update 1
Microsoft .NET Framework
Version 4.5.50709
Installed Version: Professional
Team Explorer for Visual Studio 2012 04938-004-0033001-02913
Microsoft Team Explorer for Visual Studio 2012
Visual Basic 2012 04938-004-0033001-02913
Microsoft Visual Basic 2012
Visual C# 2012 04938-004-0033001-02913
Microsoft Visual C# 2012
Visual C++ 2012 04938-004-0033001-02913
Microsoft Visual C++ 2012
Visual Studio 2012 SharePoint Developer Tools 04938-004-0033001-02913
Microsoft Visual Studio 2012 SharePoint Developer Tools
NuGet Package Manager 2.2.40116.9051
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
SQL Server Data Tools 11.1.21208.0
Microsoft SQL Server Data Tools
Telerik OpenAccess ORM 2012.3.1404.1
Telerik OpenAccess ORM Copyright © 1996–2012 Telerik AD
OpenAccess is the ultimate data access layer solution for Microsoft .NET database applications.
www.telerik.com/orm
Web Developer Tools 1.1.31017.0
Windows Azure Tools October 2012
Windows Azure Tools for Microsoft Visual Studio 2012 - October 2012 v1.8.51019.1603
OK. I uninstalled VS 2012 and then reinstalled with the latest version. That took care of all of the issues.

opening .ccproj file in VS 2012 Express for web

how can i open solution which is being developed using trial version of Visual Studio 2012 Professional in Visual Studio 2012 Express for web?
When i try to do so, i get an error stating the solution you are trying to open is incompatible with this version of the application. Open this solution with another version which supports this type of solution.
Visual Studio 2012 Express For Web wouldn't do alone, in order to open an Azure project with it you have to install the Azure SDK after you have installed the VS.

Windows Azure Tools for Microsoft Visual Studio 2012 Core requires the Visual Web Developer feature to be installed in Visual Studio 2012

i'm trying to install WindowsAzureTools.vs110.exe on mu Windows 7 PC. I have Visual studio 2012 Ultimate installed. The installation of WindowsAzureTools.vs110.exe ends with fatal error: Fatal Error 0x80070643. In the log file there is nothing interesting, but in the event log there is error:
Product: Windows Azure Tools for Microsoft Visual Studio 2012 Core --
Windows Azure Tools for Microsoft Visual Studio 2012 Core requires the
Visual Web Developer feature to be installed in Visual Studio 2012
(Professional or above).
can somebody help what I'm missing?
I have installed full version of VS2012 with all components.
thanks
Could you try installing the full package for Visual Studio instead? Link: http://go.microsoft.com/fwlink/?LinkID=254364&clcid=0x409
And for the manual installation you have to know that there are 2 download pages, maybe you downloaded it from the wrong page:
Windows Azure SDK for .NET - June 2012 -> You need this one if you use VS2012 RC
Windows Azure SDK for .NET - June 2012 SP1 -> You need this one if you use VS2012 RTM

download url: Web Publish update, released with Visual Studio 2012 RC.

I'm running Visual Studio 2010 Ultimate and working on a MVC 3 project.
I was just reading the:
"Deploying an ASP.NET Web Application to a Hosting Provider using Visual Studio or Visual Web Developer: Introduction - 1 of 12 "
This states ".....install the Web Publish update that was released with Visual Studio 2012 RC."
Where do I download this?
Please note : I do not want to install VS 2012. I only want to upgrade my VS2010 Ultimate
Thanks
It is part of the Windows Azure SDK for VS2010: http://www.windowsazure.com/en-us/develop/downloads/

Resources