visual-studio-2012

Why does data driven unit test fail in vs2012 when it worked fine in vs2010?

妖精的绣舞 提交于 2020-01-20 06:11:05
问题 I have some data driven unit tests that were working just fine in Visual Studio 2010. These tests were implemented using the following pattern. [TestMethod()] [DeploymentItem("path_to_data_dir_relative_to_solution\\my_data.xml")] [DataSource("Microsoft.VisualStudio.TestTools.DataSource.XML", "|DataDirectory|\\my_data.xml", "Token", DataAccessMethod.Sequential)] public void MyTestMethod() { // Arrange const string EXPECTED_PARAM_NAME = "table"; string data = TestContext.DataRow["Data"]

Will/Does Visual Studio 2013 support BizTalk 2013 projects?

早过忘川 提交于 2020-01-20 05:01:08
问题 In my limited experience with BizTalk it seems that BizTalk projects and Visual Studio version are somewhat locked to each other. For example, you can't open a BizTalk 2010 project in Visual Studio 2012, you have to have BizTalk 2013 components installed on your development machine in order to do so. So, my question is this, will Visual Studio 2013 support BizTalk 2013 projects (or even possibly BizTalk 2010 projects for that matter) or will we be stuck using VS 2012 for BT projects? Edit: I

What Causes The INSERT statement conflicted with the FOREIGN KEY constraint?

非 Y 不嫁゛ 提交于 2020-01-20 03:21:32
问题 This code has worked for me before but i am not sure anymore what has been causing this error. My only guess is that when i try to create a Player, the Team Data is being sent back to Team table and its trying to duplicate but since TeamId is unique hence this error. Error The INSERT statement conflicted with the FOREIGN KEY constraint "FK_dbo.Players_dbo.Teams_TeamId". The conflict occurred in database "Web", table "dbo.Teams", column 'TeamId'. The statement has been terminated. Player

What Causes The INSERT statement conflicted with the FOREIGN KEY constraint?

女生的网名这么多〃 提交于 2020-01-20 03:21:04
问题 This code has worked for me before but i am not sure anymore what has been causing this error. My only guess is that when i try to create a Player, the Team Data is being sent back to Team table and its trying to duplicate but since TeamId is unique hence this error. Error The INSERT statement conflicted with the FOREIGN KEY constraint "FK_dbo.Players_dbo.Teams_TeamId". The conflict occurred in database "Web", table "dbo.Teams", column 'TeamId'. The statement has been terminated. Player

Visual Studio 2012 RTM has MSBuild.exe in memory after close

断了今生、忘了曾经 提交于 2020-01-20 02:14:09
问题 I noticed when Visual Studio 2012 RTM was closed, that many instances of MsBuild.exe are still in memory. Why ? 回答1: The MSBuild processes are kept running for a period of time (fifteen minutes, I believe) after Visual Studio is closed. This is an attempt to improve performance, the idea being that idle MSBuild processes could be reused if another build is kicked off soon and the overhead of spawning a new process can be eliminated. You can disable this by setting an environment variable

Visual Studio 2012 RTM has MSBuild.exe in memory after close

ぃ、小莉子 提交于 2020-01-20 02:13:58
问题 I noticed when Visual Studio 2012 RTM was closed, that many instances of MsBuild.exe are still in memory. Why ? 回答1: The MSBuild processes are kept running for a period of time (fifteen minutes, I believe) after Visual Studio is closed. This is an attempt to improve performance, the idea being that idle MSBuild processes could be reused if another build is kicked off soon and the overhead of spawning a new process can be eliminated. You can disable this by setting an environment variable

How to add ajaxcontroltoolkit to toolbox in Visual Studio 2012

旧巷老猫 提交于 2020-01-19 09:45:52
问题 I have used the ajaxtoolkit with .NET 4 and Visual Studio 2010, and I was able to add a new tab to the toolbox and add the ajaxtoolkit controls to the toolbox. How do I do this in Visual Studio 2012? I have added the ajaxtoolkit with NuGet, but I would like to see the controls in the toolbox, so I can drag the controls in. How is this done? 回答1: It's located in the packages folder created by Visual Studio 2012 after you use NuGet Package Manager to download it. Create a tab in Visual Studio

How to add ajaxcontroltoolkit to toolbox in Visual Studio 2012

别来无恙 提交于 2020-01-19 09:45:13
问题 I have used the ajaxtoolkit with .NET 4 and Visual Studio 2010, and I was able to add a new tab to the toolbox and add the ajaxtoolkit controls to the toolbox. How do I do this in Visual Studio 2012? I have added the ajaxtoolkit with NuGet, but I would like to see the controls in the toolbox, so I can drag the controls in. How is this done? 回答1: It's located in the packages folder created by Visual Studio 2012 after you use NuGet Package Manager to download it. Create a tab in Visual Studio

Why does modifying project output directories cause: IOException was unhandled “Cannot locate resource 'app.xaml'.”

随声附和 提交于 2020-01-19 06:01:48
问题 In an attempt to consolidate project settings into property sheets for both C++ and C# projects, the following property sheet was constructed: <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <!-- Trying to support both C++ and C# projects by introducing derived properties and setting the appropriate output properties. --> <PropertyGroup Label="UserMacros"> <ProjectOrAssemblyName Condition="'

Why does modifying project output directories cause: IOException was unhandled “Cannot locate resource 'app.xaml'.”

柔情痞子 提交于 2020-01-19 06:01:14
问题 In an attempt to consolidate project settings into property sheets for both C++ and C# projects, the following property sheet was constructed: <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <!-- Trying to support both C++ and C# projects by introducing derived properties and setting the appropriate output properties. --> <PropertyGroup Label="UserMacros"> <ProjectOrAssemblyName Condition="'