visual-studio-2008

VS2008 binary 3x times slower than VS2005?

大憨熊 提交于 2020-01-02 03:33:04
问题 I've just upgraded a native C++ project from VS2005-SP1 to VS2008-SP1 The first thing I tested was a very basic functionality test of the application and the first thing I noticed is that the main number-crunching algorithm performs three times slower in the VS2008 binary. I tested again the VS2005 binary to make sure there isn't any other difference and it still performed as it did before. Did anyone stumble into this? 回答1: Strangest. Thing. Ever. It seems that the project upgrade wizard of

VS2008 TFS: Is it possible to change the default Check-in Action for work items?

你离开我真会死。 提交于 2020-01-02 03:30:51
问题 When I check in code to our Team Foundation Server, I some times (probably more often than I actually do...) should associate my check-in with a task or a bug I am working towards. When I mark a task or a check in, it sets the Check-in Action to Resolve. But almost always, I just want to have it as just Associate. The result is that I often end up marking a task as resolved by mistake. Is there a way to make Associate the default when I mark a task? Resolving a bug or a task should be

What do 'Delimiter' and 'InheritsFromParent' attributes mean in .vsprops files?

梦想的初衷 提交于 2020-01-02 03:10:09
问题 I can't seem to find any useful documentation from Microsoft about how one would use the Delimiter and InheritsFromParent attributes in the UserMacro element when defining user Macros in .vsprops property sheet files for Visual Studio. Here's sample usage: <UserMacro Name="INCLUDEPATH" Value="$(VCROOT)\Inc" InheritsFromParent="TRUE" Delimiter=";"/> From the above example, I'm guessing that "inherit" really means "a) if definition is non-empty then append delimiter, and b) append new

VS2008 how to change from Web Developer to C# Developer settings

心不动则不痛 提交于 2020-01-02 02:03:29
问题 I just reinstalled vs2008 and accidentally selected Web Developer instead of C# Developer the first time it ran and now all my key bindings that I was used to are wrong. How do I change it to C# Developer? I tried devenv /resetsettings, but it only reset my fonts and other settings. 回答1: Tools->Import And Export Settings->Reset All Settings This will give you an option to select a different setup (i.e. C# developer). 回答2: Have you tried to set the "additional keyboard mapping scheme" to

Moving focus to next tab group in Visual Studio 2008/Visual Studio 2010 via the keyboard?

倖福魔咒の 提交于 2020-01-02 00:48:23
问题 Is it possible to move to the next vertical tab group in Visual Studio 2008 or 2010 by using the keyboard? There are commands for moving the active window to the next or previous tab group, but I couldn't find one for moving the focus from one tab group to the next. The only workaround that I found is by using DPack's File Browser dialog, but it requires a lot of keystrokes and they depend on the name of file in the currently active windows in the tab groups. 回答1: The VSStreamliner extension

Visual Studio: Edit XAML file while debugging

随声附和 提交于 2020-01-01 23:54:41
问题 I have a WPF application running in debug mode, and I would like to change the XAML while the application is still running. I'm not asking for Edit-and-Continue. I don't mind that I will have to restart the application for the changes to become effective. I just want to be able to make changes to the XAML file while the application is still running , rather than having to (1) remember what I want to change in the UI, (2) close the application, (3) recall what I want to change and make the

What is the worker process for IIS7?

北城余情 提交于 2020-01-01 23:21:10
问题 I'm trying to do 'Attach to Process' for debugging in Visual Studio 2008 and I can't figure out what process to attach to. Help. 回答1: Indeed it is still w3wp.exe - You'll need to check the ' Show processes in all sessions ' option to get it to show up though. (It caught me out for a while too.) 回答2: Isn't it w3wp.exe? 回答3: Here's a useful article for identifying w3wp processes, if you're running more than one. For IIS 6.0 Start > Run > Cmd Go To Windows > System32 Run cscript iisapp.vbs You

What is the worker process for IIS7?

纵饮孤独 提交于 2020-01-01 23:15:42
问题 I'm trying to do 'Attach to Process' for debugging in Visual Studio 2008 and I can't figure out what process to attach to. Help. 回答1: Indeed it is still w3wp.exe - You'll need to check the ' Show processes in all sessions ' option to get it to show up though. (It caught me out for a while too.) 回答2: Isn't it w3wp.exe? 回答3: Here's a useful article for identifying w3wp processes, if you're running more than one. For IIS 6.0 Start > Run > Cmd Go To Windows > System32 Run cscript iisapp.vbs You

How do I install/deploy/build my Visual C# application so it's available to all users?

浪尽此生 提交于 2020-01-01 18:56:55
问题 I've written an application in Microsoft Visual C# 2008 Express Edition. The Windows XP computer I want to install it on has two user accounts. One is the admin account, the other is the main user account and does not have admin privledges. I tried installing the application as the main user, and got an error saying i can't because I'm not admin. Fine. I tried installing the application as the admin account. It installs fine and works fine under the admin account, but doesn't seem to be

How do you register a Windows Service during installation?

徘徊边缘 提交于 2020-01-01 16:51:10
问题 I have built a windows service application in VB.net 2008, and used the Setup Wizard to add an installation process. The installer works, in that it adds the app to add/remove programs and copies all of the files etc, but it's missing the final (required) step of actually installing the service. I have added the primary output of the Project as a custom action for Install and Uninstall, without success. what's the secret? 回答1: You need to create a custom install task; MSDN has everything you