visual-studio-2010-sp1

VS2010 SP1 unit tests targeting 3.5 framework fail if using private accessor

那年仲夏 提交于 2019-12-21 17:39:58
问题 I converted a solution from VS2008 to VS2010 SP1, and changed the unit test project to target the 3.5 framework. Other than having to fix a few references in the unit test project, everything worked ok and the solution built successfully. Most of the tests run successfully, but there were a handful that failed. The ones that failed are using a private accessor. Personally, I'd rather just remove these tests since I don't think they're necessary, but as long as it reveals a potential bug in

Visual Studio 2010 SP1 incompatible with Windows 8?

試著忘記壹切 提交于 2019-12-20 19:59:13
问题 I ran Windows 8 Upgrade Assistant on my laptop today, and I saw something very interesting. Visual Studio 2010 SP1 is not compatible with Windows 8, but Visual Studio 2010 (no service pack) is compatible. Does Visual Studio 2010 SP1 work on Windows 8? If not, are there just a few specific functions that do not work correctly, or does it just crash and burn and become unusable? 回答1: Compatibilty Center listed out that Microsoft Visual Studio 2010 SP1 is not compatible with Windows 8. But

Visual Studio 2010 SP1 Performance

家住魔仙堡 提交于 2019-12-20 10:06:36
问题 I've noticed since installing Visual Studio 2010 SP1 that I'm having huge performance issues. It will randomly freeze up on me quite a bit. I had no performance issues with Visual Studio 2010 before the upgrade. The only add-on I have running is ReSharper. I'm wondering if anyone else is experiencing performance issues? If so have you found a way to fix them? 回答1: I emailed ReSharper support and they were helpful enough to point out that there is a known issue with the Productivity Power

Trying to Add Resource in Visual Studio 2010 Pro SP1 results in “The operation could not be completed. Unspecified error” message with C++ project

╄→尐↘猪︶ㄣ 提交于 2019-12-12 09:47:07
问题 I'm using Windows XP Professional SP3 and recently switched to Visual Studio 2010 Professional SP1 to work on a C++ project. If I try to right-click on a project inside Solution Explorer and select "Add" >> "Resource...", I get this error popup window: "The operation could not be completed. Unspecified error" And then the only option is to click "OK". Anyone else encountered this? 回答1: I had this same problem. Right clicking on the project, selecting Unload Project , then right clicking again

Can't reference Microsoft.Moles.Framework.dll in Visual Studio 2010 SP1

家住魔仙堡 提交于 2019-12-11 15:28:05
问题 Actually I already resolved this issue but still I'm not really happy with the way I resolved this issue. I have VS2010 SP1 and I need SP1 to work with Azure SDK. First of all installing Pex and Moles somehow created problems with System.XML.dll. It just disappeared from References in all projects. I had to explicitly find it and connect it to all solutions that used it. Also, there was a bigger issue with Moles itself. TestProjects just weren't able to find Microsoft.Moles.Framework.dll. And

IIS Express Blocks VS 2010SP1 Builds

匆匆过客 提交于 2019-12-11 13:04:14
问题 After several build / debug cycles, IIS Express (both 7.5 and 8.0RC) start to block builds of the project in VS 2010SP1. The build will hang indefinitely until I terminate IIS Express. Is there a fix/workaround for this issue? 回答1: I ended up adding a pre-build event to kill IIS Express if it is running. taskkill /FI "IMAGENAME eq iisexpress.exe" UPDATE This solution helps but is not perfect. Sometimes the build will fail with an error message that the IIS Express process could not be

Visual Studio 2010 Intellisense throwing false errors

对着背影说爱祢 提交于 2019-12-10 18:08:33
问题 I've been writing a 2D game engine for about two years now, recently intellisense has been throwing false errors. The code compiles, links and runs just fine but there will be upwards of 70 "errors" reported by intellisense: I tried deleting the SQL file for both the test project and the library generator project but the errors stopped for one, and only one, build while the intellisense database was rebuilt. Even though it is not detrimental or stopping me from coding it's quite annoying to

IIS Express with VS2010 SP1 Constantly Rebuilds Web Site

五迷三道 提交于 2019-12-08 19:45:55
问题 I'm working with larger solution that has several website projects and recently it was decided to switch from Cassini to IIS Express. There are about 10 or so developers who all share the same solution/project and thus web.configs and they are all working happily with IIS Express except for me. The problem is that for no pattern I can figure out, IIS Express constantly resets itself and performs a new build thus resetting the session. Here are some of the reasons it will rebuild itself:

My open documents(tabs) keep disappearing in VS2010 SP1

心不动则不痛 提交于 2019-12-07 12:59:40
问题 In VS 2010, after I would close my solution, and then re-open it the next day, all the documents that I had open, would still be open. Just what I wanted. After installing SP1, every time I open my solution, all my documents are closed, no matter what state I left them in. Is this expected behavior, a bug, or is there a setting I don't know about? How can I get my documents back? EDIT 29-Mar Re-installing VS2010 and SP1 did not resolve this issue. 回答1: Backup your settings then do a devenv

T4 referenced assembly blocks build

半城伤御伤魂 提交于 2019-12-07 05:09:42
问题 In Visual Studio 2010 I have the following project layout: Solution project A class C class D project B T4 template The T4 template contains a assembly reference like this: <#@ assembly name="$(SolutionDir)\A\bin\Debug\A.dll" #> The template instantiates an instance of class C. When I run the T4 template the processor loads the project A's dll and correctly creates the output. The error arises when I want to change something in project A, say modify either class C or D. Unable to copy file