Description of Visual Studio 2012 Update 4
Microsoft released Visual Studio 2012 Update 4 (Visual Studio 2012.4) on November 13, 2013. Additionally, this update also fixed various issues.
Support for Visual Studio 2012 is provided only for this current update, which is considered to be the Visual Studio 2012 Service Pack, and for the Visual Studio 2012 RTM version, which was released in August, 2012. For more information, see the Microsoft Support Lifecycle policy.
Visual Studio 2012 updates are cumulative releases that include the new features and fixes that were delivered in previous Visual Studio 2012 Updates. The following download link always points you to the latest Update:
How to obtain Visual Studio 2012 Update 4
Download the latest Visual Studio 2012 update package now
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
For installation guidance for Visual Studio products, see:
How to install Visual Studio 2012 Update 4
How to install Visual Studio
How to install Team Foundation Server and Visual Studio ALM
Important This update applies to Visual Studio and Team Foundation Server (TFS). Visual Studio and TFS installation mechanics are different. The Visual Studio update is an update that installs on top of whatever is already installed on the computer. The TFS update is a full layout that replaces whatever is installed on the computer. Before you try to apply the TFS update, make sure that you have a full backup of your current databases. If the TFS update installation fails, you will be unable to restart the update or roll back to the earlier version of TFS without performing a restore.
Because Visual Studio 2012 Update 4 is go-live, the following upgrade paths apply.
- TFS 2012 Update 4 RC 4 to TFS 2012 Update 4 RTM
- TFS 2012 Update 4 RTM to TFS 2013 RTM
- TFS 2012 Update 4 RC 4 to TFS 2013
New technology improvements and fixed issues in Visual Studio 2012 Update 4
Note Unless otherwise indicated, linked items will take you to Microsoft Connect webpages.
Team Foundation Server
Team Foundation Server
- Administration and Operations
- Assume that you install a Team Foundation Server (TFS) 2012 application-tier server on a computer that has no instance of Microsoft SQL Server installed. You do not configure Microsoft SQL Server Reporting Services. In this situation, you cannot upgrade the application-tier server.
- Scheduled Backups configuration is no longer blocked if the SQL Server service for TFS 2012 is running as a virtual account (for example: NT Service\MSSQLSERVER).
- In TFS 2012 Update 2 and Update 3, transactional backups record a failure when they try to run while a full or differential backup is running.
Scheduled Backups no longer run transactional backups if a full or differential backup is running. Instead, the job will be suspended until the other backup has finished running.
- TFS in-place upgrades now support configuration and settings persistence together with host headers. The TFS in-place upgrades will log an error when the process encounters an invalid host header.
- When you upgrade a configuration database to TFS 2012 Update 3, and attach a TFS collection to the upgraded configuration database, memberships and permissions may be lost.
- When you try to upgrade TFS, the upgrade operation may be not successful and you receive the following error message:TF20507: The string argument contains a character that is not valid:'u0009'.
- When you attach a TFS collection back to the upgraded TFS server, an unexpected database failure occurs and the TFS collection upgrade is not successful.
- Assume that you use a user to move domains, and then to detach and attach a collection to an existing configuration database. When you save favorites in TFS, the favorites cannot be saved.
- Assume that you use a user to upgrade TFS server to TFS 2012 Update 3 after a previous domain migration and display name change. The user will not be active in Work Item Tracking.
- Assume that there are two identities that use the same domain and account name. For example: domain1\user1. In this situation,the wrong user will become activated and the user domain1\user1 cannot access to TFS collections.
- Agile Planning
- Assume that you have a TFS 2012 instance that contains many team projects. When you open the dashboard page in TFS SharePoint portal, you experience slow performance and may receive an error message.
- When you use Turkish locale on the computer and upload an inline image into a work item in Visual Studio 2012. The image cannot be viewed by other clients.
- When you have a TFS 2012 server that is configured for synchronizing with Project Server, you may fail to reorder backlog items.
- Build Automation
- Assume that you create a gated check-in for a build definition by using an upgrade template in a TFS 2010 server. You upgrade the TFS 2010 server to TFS 2012 server, and then you use the upgraded TFS server together with the TFS 2010 build agents. In this case, the build fails on the TFS 2010 build agents when you perform a check-in action.
- Assume that you create a build definition by using the default template in a TFS 2010 server. When you upgrade the server from TFS 2010 to TFS 2012, the build definition is modified to run against a newly uploaded upgrade template.
- 790415: Exception occurs when you call IBuildDefinition.Save method to save a build definition in a running build.
- A "No zip file of logs was created because the archive operation failed" warning occurs when a build is completed successfully.
- IndexSources build workflow activity experiences slow performance.
- Assume that a scheduled build runs for a long time, and then the build is stopped manually on the next day. When you manually queue the build again, it suppresses the next scheduled build.
- When you define a build by using Upgrade Template in file container, after you queue the build, the build starts but never completes.
- Build may freeze on the last step and never complete, due to the failure of previous builds.
- Version Control
- An error message is received when a user opens any view that tries to filter history by the display name of the user. This issue occurs if the display name contains a special character, such as a comma.
- Assume that you try to check in a large file in TFS server. The file cannot be uploaded. When you check in the file again, you receive an error message that states a previous upload process failed.
- Assume that you edit a file, and you do not save it. When you check in the file in the Pending Changes window, you may not receive a message asking you to save the file.
- 800141: Assume that user A creates a code review request on file "file1." User B renames file1 to "file2," and checks in the change. In this situation, user A cannot submit a code review comment on file1 later, even though the code review is for file1.
- Work Item Tracking
- There is a 60-second delay when you use Internet Explorer to browse any page in which a work item store is used. This issue occurs if the collection contains more than 175 team projects.
- The functionality to create or edit work items stops working if a team is associated with many area paths.
- The functionality to move items in the Kanban board does not work in some environments that have mixed cultures.
- When a query is saved together with an Assigned to field that contains a constant, users will not see the correct query results after saving and running the query if the constant is also a TFS group display name.
- Assume that you have a TFS 2012 server plugin that raises an exception (For example,, during work item save), a generic AJAX exception is shown to the user instead of the exception actually thrown by the plugin.
- A TFS user from a group that does not have work item write permission on an area can change the area of a work item to another area where he has the write permission.
- When you delete a team project, you may receive the following error message when you perform create, read, update and delete operations for workitems:TF400013: An unexpected database error occurred. Contact your Team Foundation Server administrator. (Code: 208)
- Performance improvement in Web Access for work item types that have many allowed field values.
- Web Access
- When you try to connect to a TFS 2012 server by using a web browser together with an unexpected user agent string, you receive an internal error page instead of the requested page. Additionally, you cannot access any TFS web access pages.
- Assume that you have a TFS 2012 server that is configured for synchronizing with Project Server. When you try to save a copied work item in TFS web access, you may receive the following error message:TF237165: Team Foundation could not update the work item because of a validation error on the server. This may happen because the work item type has been modified or destroyed, or you do not have permission to update the work item.
- You may receive the following error message in Windows Forms Designer:Collection was modified; enumeration operation may not execute
- After you install Visual Studio 2012 Update 3, neither of the following applications display localized strings. Instead, These applications display English strings.
- LightSwitch HTML Applications (VB or C#)
- Upgraded LightSwitch Applications (VB or C#)
- LightSwitch HTML applications periodically show English strings after you install the latest security updates for the .NET Runtime 4.5.
- Assume that you open a project that contains a screen together with many date members. Additionally, each date member has a display name set. In this situation, the screen designer freezes when you try to perform an operation in it.
Visual Studio IDE
- When you remotely debug an ASP.NET application that is hosted in IIS, breakpoints in code behind might not be hit.
- You receive an error message when you try to debug a Visual Studio isolated shell application at the first time.
- The debugger occasionally steps to the wrong line when you debug native code.
- Enables the debugger to attach a remote web site that is running in Microsoft Azure.
- Visual Studio 2012 crashes randomly when the Telerik Justcode or Codesmith tool is installed.
- Project conversation report is formatted incorrectly on Windows 8.1 Preview.
- Assume that you have a dataset (.xsd) file that does not belong to a Visual Studio project. You receive an error message that states parameter is incorrect when you open the dataset file in Visual Studio 2012.
- Visual Studio 2012 may crash when you load some solutions.
- Slow performance when you scroll a source code page if View White Space option is turned on.
- In a long-running Visual Studio session, when you open and close documents, tool windows and so on, Visual Studio may crash under certain circumstance.
- Assume that you have Visual Studio 2012 Update 3 installed on a Windows 8 computer. You upgrade the operating system to Windows 8.1 preview or later version. In this situation, you receive a blocking dialog when you start Windows Simulator. Additionally, you still cannot start the Windows Simulator after you follow the instructions in the dialog.
- Concurrency Visualizer for 64-bit applications does not work on a 64-bit Windows 8.1 operating system.
- When you profile applications on Windows 8.1 Preview, the profiling tools have issues in collecting and displaying the symbolic information.
- Catch block might be removed incorrectly by C++ optimizer when the try block is calling a function that exists in an external DLL.
- Visual C++ 2012 Redistributable Package is uninstalled when you uninstall Visual Studio 2012.
- 777533: Incorrect machine code is generated by C++ optimizer when you compile a C++ application that targets to x86 platform.
- Visual C++ redistributable bootstrapper files (product.xml) are missing from Visual Studio 2012 installation.
- When you build a C++ application together with the Generate Debug Info option, you receive the following error message:fatal error LNK1318:Unexpected PDB error
- When you build very large applications together with /LTCG (Link-time Code Generation) option, the linker crashes intermittently.
- 797023: C++ compiler or linkers hangs in code generation when compiling projects
- Internal compiler error may occur when you compile a C++ class that contains many virtual functions together with /LTCG (Link-time Code Generation) option.
- Member variables of a type are not properly visualized and displayed when you debug a Visual C++ application.
- Incorrect machine code generation for x64 may occur when an optimization option is enabled.
.NET Framework Core
- Visual Studio Ultimate 2012 is now able to open IntelliTrace Log files that are created by Microsoft Monitoring Agent.
Entity Framework Tools
- Adds support for portable class libraries in NuGet.
- Assume that you have Microsoft Visual Studio Express 2012 for Web or Visual Studio Express 2012 for Windows Desktop together with Visual Studio 2012 Update 1 or later versions installed. You receive the following compile-time error message in the Entity Framework designer when the T4 templates that generate the entities are executed:A processor named 'T4VSHost' could not be found for the directive named 'CleanupBehavior'. The transformation will not be run. The following Exception was thrown:
System.IO.FileNotFoundException: Failed to resolve type for directive processor T4VSHost.
- Windows Phone 8 GDR2 Emulators installed with the Windows Phone 8 GDR2 SDK are not available as deployment targets for native Windows Phone 8.0 applications.
- Windows Phone 8.0 Unit Test Projects fail to run on the Windows Phone 8 GDR2 Emulators installed with the Windows Phone 8 GDR2 SDK.
- Add support for Windows Phone 8 GDR3 Emulators.
Visual Studio Test
- When you open a graphics log (.vsglog) file that is generated on Windows 8.1 Preview by using Visual Studio 2012 Update 3, you receive the following unlocalized message:This log file was created on a newer version of Windows and cannot be opened in Visual Studio 2012
- Test and Lab Manager
- When you set up lab management in Team Foundation Server 2012 by configuring a connection to SCVMM 2012 R2 server, the setup is not successful, and you receive the following error message:"Get-MachineConfig" command let doesn’t exist
- When you try to clone an unfenced environment and deploy it, you receive the following error message:To use this environment, you must install a compatible test agent in all the machines of the environment. Click 'install agents' to complete this task.
- In a Build-Deploy-Test (BDT) workflow, a large number of web-service calls are made for refreshing the test run on a hosted service. This causes many unnecessary web-service calls.
- When you set up lab management in Team Foundation Server 2012 by configuring a connection to SCVMM 2012 R2 server, the setup is not successful, and you receive the following error message:
- Unit Test
- Unit test explorer in Visual Studio 2012 cannot discover windows store tests when .NET Framework 4.5.1 is installed.
- Users that have special characters (such as "-" in the beginning of the name) in the machine name are not able to discover and run tests.
- Visual Studio intermittently crashes when you try to discover tests by Test Explorer.
- Web Test
- Issue 1:
You cannot record or playback actions involving navigation on a page on Internet Explorer 10 or on Internet Explorer 11 together with the latest IE GDR updates installed.
You cannot playback the scenario on a page together with AJAX as expected, the playback does not complete. For example, when you clicks attach file, select file and playback recorded steps, the file upload starts but never completes.
- You cannot record a web performance test in Internet Explorer 11 because the Enhanced Protection Mode is enabled by default in Internet Explorer 11.
- Issue 1:
- Coded UI Test and Action Recordings
- You cannot record or playback actions that involve navigation on a page on Internet Explorer 10 or on Internet Explorer 11 when Internet Explorer update KB 2870699 is installed.
- You cannot play back tests on a web page that uses AJAX, because the playback does not complete. For example, when you click attach file, select a file to upload, or click upload in a test, the file upload starts but never completes during playback.
- Test Case Manager
- Error occurs when you publish the test result in TFS 2012 environment by using MSTest 2010.
- Assume you associate a build with a test plan. When you run a test case from web access, the test runs in Analyze test run tab does not show the build number.
- You could not select custom long text fields in Microsoft Test Manager (MTM) 2012 and Test Case Management (TCM) web grids.
- Microsoft Test Manager
- When you create a new SCVMM-based lab environment in Microsoft Test Manager, a product key is not required during Sysprep for some operating systems (such as Windows Server 2012 R2). However, you is still prompted for a key, and therefore cannot proceed.
- Graphics debugger may crash when you open a graphics log (.vsglog) file if the shader is too big.
- Adds backward compatibility support for Visual Studio 2012 on the latest Windows for Graphics Debugging.
- Page Inspector does not work on a computer that has Internet Explorer 11 installed.
- WebDeploy 3.5 is shipped together with Visual Studio 2012 Update 4.
- A web project with a project item that has no code (such as web.config or *.asmx) does not trigger the code analysis check-in policy.
How to download Microsoft support files
Updates for other products in the Visual Studio family can be found on the Microsoft download site for Visual Studio.
Note This section applies only to the Visual Studio client. TFS has different system requirements (check the Visual Studio Team Foundation Server 2012 with Update 4 and Visual Studio Team Foundation Server Express 2012 with Update 4 download pages for more information), and may require up to two restarts, depending on the state of the computer when you install the update.
Restart requirementYou do not have to restart your computer after you install this package.
Supported languagesVisual Studio 2012 Update 4 provides updates for the following versions:
- Chinese (Simplified)
- Chinese (Traditional)
- Portuguese (Brazil)
Supported operating systemsFor more information about supported operating systems, go to the following Microsoft website:
- 32-bit (x86)
- 64-bit (x64) (WOW)
- 1.6 gigahertz (GHz) or faster processor
- 1 gigabyte (GB) of RAM (1.5 GB if you are running in a virtual machine)
- 1 GB of available hard disk space
- 5,400 RPM hard disk drive
- DirectX 9-capable video card that is running at 1024 × 768 or higher resolution
Software requirementsTo apply this update, you must have one of the supported Visual Studio 2012 programs that are listed in the "Applies to" section installed.
Support for Visual Studio 2012 Update 4Informal community support for Visual Studio 2012 Update 4 is available through the Microsoft Developer Network (MSDN) forums.
Article ID: 2872520 - Last Review: 06/20/2014 14:54:00 - Revision: 10.0
Microsoft Visual Studio Premium 2012, Microsoft Visual Studio Professional 2012, Microsoft Visual Studio Express 2012 for Web, Microsoft Visual Studio Express 2012 for Windows 8, Microsoft Visual Studio Express 2012 for Windows Desktop, Microsoft Visual Studio Express 2012 for Windows Phone, IntelliTrace Collector for Visual Studio, Microsoft Visual Studio 2012 Remote Tools, Microsoft Visual Studio Team Foundation Server 2012, Microsoft Visual Studio Ultimate 2012, Microsoft Visual Studio 2012 Test Professional, Agents for Visual Studio 2012
- atdownload kbsurveynew kbexpertiseadvanced KB2872520