visual-studio-2008

database project takes a long time to open

岁酱吖の 提交于 2019-12-23 09:32:45
问题 Whenever I open my SLN that has multiple database projects under it, it takes a very long time (10 to 15 mintues) to open. The messages I get are: Analyzing database schema. Your database projects will be ready after 23000 operations are completed. Analyzing database schema. Your database projects will be ready after 45000 operations are completed. Analyzing database schema. Your database projects will be ready after 59871 operations are completed. Analyzing database schema. Your database

How to resolve the "Encountered multiple versions of the assembly with GUID '' while converting project from VS 2008 to VS 2010

末鹿安然 提交于 2019-12-23 09:31:28
问题 I just converted my project from VS 2008 to VS 2010, here is the error I am getting now :- Encountered multiple versions of the assembly with GUID ''. Try pre-importing one of these assemblies. I already tried to clean solutions, projects, and recompile, close and open again. but no luck. 回答1: Are any of your references to the debug folder? If so you'll want to remove them. EDIT - Since you mentioned COM Object in your comment.... Assembly error building app - Encountered multiple versions of

Why can't Visual Studio run on more than one core? CPU at 25%

感情迁移 提交于 2019-12-23 09:29:36
问题 I'm running Visual Studio 2008 with the stuff-of-nightmares awful MS test framework. Trouble is that it's sending my CPU to 100% (well 25% on a quad-core). My question is why can't Visual Studio run on more than one core? Surely M$ must have a sufficient handle on threading to get this to work. 回答1: I have VS2008 running on all 4 CPUs. Just set this environment variable / project flag. /MP (It can be set in C/C++ Settings, Advanced. In project settings) Edit: The MP flag can also accept a

Entity Framework 4 Visual Studio 2008

北城以北 提交于 2019-12-23 09:26:12
问题 I'm been looking around and trying to see if the Entity Framework 4 will run under Visual Studio 2008, but can;t find any references to it. Can you get EF4 working on VS2008? 回答1: On the ADO.NET Entity Framework Team blog, they have stated the the EF 4 is explicitly targeted for .NET4 and Visual Studio 2010. So, I would say no, it's not possible. 来源: https://stackoverflow.com/questions/2727726/entity-framework-4-visual-studio-2008

Change the property of entire files in folder in Visual Studio 2008 project

和自甴很熟 提交于 2019-12-23 09:23:26
问题 I was adding a folder to my visual studio 2008 project, by dragging and dropping from explorer. I want to change the 'copy to output directory' property of the entire files in that folder to 'Copy Always'. The problem is that the folder contains many subfolders, and so does the subfolders..so it was a little bit annoying not to be able to block all files and change the property in one step. Is there a way to change the property of all the files in a folder containing many subfolders in one

Disable Intellisense in XAML Editor in VS2008?

时光总嘲笑我的痴心妄想 提交于 2019-12-23 09:07:33
问题 Is there a way to disable Intellisense in the XAML editor in Visual Studio 2008? It is often a big performance drain while typing, and sometimes I'll sit for ten or more seconds waiting while the list automatically popups up. It appears that in Options->Text Editors->XAML, the Intellisense section is section is unavailable (grayed out). We open documents in Full XAML View, and don't use any third party enhancements. It's so bad that sometimes I'll just open the file elsewhere and edit what I

VB.NET: How to compose and apply a font to a label in runtime?

梦想的初衷 提交于 2019-12-23 08:59:59
问题 I'm developing a Windows Forms Application in Visual Basic .NET with Visual Studio 2008. I'm trying to compose fonts (Family name, font size, and the styles) at runtime, based on user preferences, and apply them to labels. For the sake of both a simplier user interface, and compatibility between more than one machine requiring to use the same font, I'll NOT use the InstalledFontCollection , but a set of buttons that will set few selected fonts, that I know to be present in all machines (fonts

Unable to Evaluate Expression - Visual Studio Debug Mode

白昼怎懂夜的黑 提交于 2019-12-23 08:49:51
问题 I keep getting the following when trying to step through code and use the Immediate Window or Watch Window in Visual Studio. 'Unable to Evaluate the Expression' Im using Visual Studio 2008. Searching the forums there is a lot of talk of using the overloaded Response.Redirect and passing false to the endResponse parameter. I have tried that I have also checked that my code is running the debug version and not the complied version. I decided to start a brand new Windows Form Application with

How can I speed up Visual Studio builds to match MSBuild parallel performance?

。_饼干妹妹 提交于 2019-12-23 08:39:32
问题 I encounter a noticable difference in the speed when building the same solution one time with Devenv and the other time with msbuild /m. As an information I have set the parameter "number of parallel build processes" in Visual studio to 4. Is there any posiblity to speed up the build inside Visual Studio (Version 9.0.30729.1 SP)? 回答1: This won't answer your exact question, but take a look at this post by Scott Hanselman. Basically, the problem is that VS does not officially support parallel

Keyboard shortcut to “add to watch” in VS 2008

半城伤御伤魂 提交于 2019-12-23 08:33:50
问题 Is there any keyboard shortcut to add the highlighted variable to watch in VS IDE? It takes a bit of time to right click and choosing "Add to watch" option in the very long drop down menu and its annoying. -Thanks, Suresh. 回答1: Not by default. You can add one: Tools | Options | Environment | Keyboard and enter "watch" in the "show commands..." box. You need the "Debug.AddWatch" command. 回答2: Go to menu: Tools -> Options -> Environment -> Keyboard search for "watch" and the Debug.Addwatch will