visual-studio-2012

The error “This project is incompatible with the current version of visual studio” displayed

别来无恙 提交于 2019-12-18 13:54:23
问题 I installed Vs 2010 Express in my PC, and created a poject named myproject with .net 4.0, it works well in Vs 2010 Express. Now I installed Vs 2012 Express in my PC, and open the project myproject and upgrade it to .net 4.5, it wells well in Vs 2012 Express too. I delete the project myproject all files, then restore it from my old backup file, when I try to open the project from Vs 2010 Express, I get the following information. "This project is incompatible with the current version of visual

IIS Express 8 - Cannot write configuration file

旧时模样 提交于 2019-12-18 13:53:26
问题 I am trying to use IIS Express 8 for a MVC site in VS2012. I am getting the following error whenever I attempt to create the site: Filename: \?\C:\Users\xxxxxx\Documents\IISExpress\config\applicationHost.config Error: Cannot write configuration file Is there some way to force IIS Express to use a different location for the config & logs folders? I understand I can point to a different location when I am running iisexpress.exe from the command line, but I have no control over this when using

How do you prevent Visual Studio from switching to the Code Analysis tab after each build?

不问归期 提交于 2019-12-18 13:52:53
问题 After each build, Visual Studio 2012 switches from the Solution Explorer to the Code Analysis tab, usually with the yellow "No code analysis issues were detected." (Might as well say "TA DA!"). Is there an option to turn off the tab switching (keeping it on Solution Explorer)? [because I can't find it either in Solutions or Options]. Thanks! 回答1: VS 2012 The best answer I have found so far is to drag the Code Analysis view's tab away from the Solution explorer. I've docked mine below the

Selenium - Visual Studios- C# - All (chrome, firefox, and internet explorer) webdrivers unable to start driver service

旧时模样 提交于 2019-12-18 13:16:32
问题 I'm trying to set up Selenium for testing and none of my webdrivers seem to work. I have tried moving them around in the project folder and the only way I can get Visual Studios to locate them is with a @"path" statement. The real problem is... Once Visual Studio locates the webdriver, the operation times out and I get the following exception: An unhandled exception of type 'OpenQA.Selenium.WebDriverException' occurred in WebDriver.dll Additional information: Cannot start the driver service

“Run as different user” Visual Studio, cannot clear cached TFS credentials

时光怂恿深爱的人放手 提交于 2019-12-18 12:24:57
问题 Update I managed to solve it by getting my user granted permissions to remotely connect to the desktop using credential set 2 and thus being able to remove the stored credentials from Credential Manager. I log onto my server with one set of credentials and open Visual Studio 2012 using "Run as different user" ( Shift + Right-click ) as I need a second set of credentials to deploy to my dev. env. SharePoint site. I have previously done above and then connected to TFS using a third set of

VS2012 MSVCR120D.dll is missing

只谈情不闲聊 提交于 2019-12-18 12:22:05
问题 I am trying to set up my project in VS2012 to successfully compile and run an OSG code for debugging. I am also using OSG debug libraries. Compilation and linking end successfully but after I run the binary I get an error saying that MSVCR120D.dll is missing. I was looking for a solution to this error the whole day and it doesn't make sense to me, because I am using VS2012 that should use MSVCR110D.dll . I also don't have this dll in C:\Windows\System32 , there's only MSVCR120.dll and its

Data driven tests generated in ClassInitialize: no longer working in Visual Studio 2012

心不动则不痛 提交于 2019-12-18 12:08:02
问题 I have upgraded from Visual Studio 2010 to Visual Studio 2012. In my unit test project, I have a [ClassInitialize] method which generates a CSV file which I then feed into a data-driven [TestMethod] using [DataSource] connected to the CSV. This works great in Visual Studio 2010. I cannot get this to work in Visual Studio 2012. It seems that in VS2012 the MS test runner requires the file connected to the [DataSource] to already exist otherwise none of the tests will run. If I create the CSV

Tesseract + opencv 3.0 + windows, text module small size, linking errors

江枫思渺然 提交于 2019-12-18 12:08:02
问题 I posted this text two days ago in answers.opencv.org, now I'm posting it here as well. http://answers.opencv.org/question/68634/text-contrib-module-and-tesseract/ Good afternoon to everyone. First of all, sorry for my english hehe. I've been trying to build the opencv contrib module 'text', however I haven't got sucess. Note: Other modules like xfeatures2d have never given me a problem. My platform is windows 7 x64 and I use VS2013 as compiler, I've followed this tutorial(http://vorba.ch

MVC5 project template for Visual Studio 2012

夙愿已清 提交于 2019-12-18 11:50:24
问题 I'd like to get started with ASP.NET MVC 5 using Visual Studio 2012. I've installed the "ASP.NET And Web Tools 2013 for Visual Studio 2012, but this "only" gives me an "Empty ASP.NET MVC 5 Project" template. For MVC4 web projects, I can select different kinds of Web applications (like "Standard", "Internet", "Intranet" etc.). And I've seen screenshots with similar options for Visual Studio 2013. Are there any project templates (for VS2012) which allow me to do the same for MVC5 applications?

How to exclude Projects with names ending in “.Test” from my code coverage analysis in VS2012 Unit Tests

有些话、适合烂在心里 提交于 2019-12-18 11:46:47
问题 My solution is set up with projects called "ProjectName" with "ProjectName".Tests containing my unit tests. I'd like to exclude the test projects from the code coverage analysis under VS 2012 (MS Test) and have successfully managed to do this by adding the ExcludeFromCodeCoverage attribute to each test class as described here. As the number of tests classes is growing it would be nice to exclude the entire Test assemblies. I want to use the .runsettings file also described in that MSDN link