visual-studio

What code snippet plugins are available for VS2008?

I want a code snippet editor for VS2008. I'd like to just hit a hot key, bring up an editor, type in my snippet, run to my break point and step through. I don't want to have to create a project, create an xml file, or even have to save my file if I don't want to. I've looked through What plugin would you really like to have for Visu...

MSBUILD macro documentation?

I'm using MSBUILD macros in my .csproj files for AfterBuild events mainly just to copy files. I'm doing this by example, so the only ones I know of are the ones I've seen in use: SolutionDir, ProjectDir, OutputPath, and Configuration. Is there a list or good info page online anywhere so I can read up on what's available, what point in ...

Visual Studio 2008 automatically add namespces like Eclipse

Does VS2008 have a feature akin to Eclipse's ability to automatically add import declarations for undefined namespaces? ...

Debugging JavaScript in VS

Whenever I set a breakpoint in JavaScript in Visual Studio, the debugger never breaks at the point. When I put my mouse over the breakpoint at run-time, it says "This breakpoint will currently not be hit. No symbols have been loaded for this document." What does this mean? How do I enable JavaScript debugging/breakpoints? ...

Running Oracle 11g r1 on Windows 7 x64 getting 64 bit error

I have installed Oracle 11g r1 64 bit on Windows 7. I am able to connect to it using Sql Developer and a command line tool written in .Net that is 32 bit. I am using Visual Studio to create an ASP.Net application. The solution has 4 projects all of which are compiling for "Any CPU" I installed the 64 bit version of Oracle client and...

Compile error in wxWidgets with VS2010 Beta 2

Hello, i try to build wxWidgets straight from source using VS10 beta 2, but i get this error when i try to compile it: Error 1 error MSB3073: The command "copy "" ..\..\lib\vc_lib\mswd\wx\setup.h :VCEnd" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cp\\v4.0\Microsoft.CppCommon.targets 145 thanks! ...

How do I keep my C# Windows Form Responsive while it churns loops?

I have this massive nested loop scenario that is calling the DB and making HTTP requests to Basecamp API. At first it was a web app but it took much time to run the app so the user (billing department) would often quit out early or complain because it would take so long with no feedback and no way to cancel it. I wanted to make it more r...

Visual Studio 2008 - Jump to next error shortcut?

When a compile fails in VB.NET in Visual Studio 2008, an Error List pops up at the bottom of the screen. To jump to an error, I double click on an error in the error list. Is there a shortcut to automatically jump to the next error in the list? It gets a little bit tedious at times having to reach down and double click a list that I lik...

Visual Studio Build statistics

Hi, I'm interested in how much time I am spending on building my projects every day. Is there any existing tool which provides such statistics? Thanks! ...

Varbinary(max) images Visual Studio 2008

Hi, I need to read records from a employee database and display selected items (not in Gridview) - this is fine except for the image that is stored in varbinary(max). I need to step through the records - forwards and backwards. There are some records that has not image. I am having problems understanding the convertion method using that ...

Can i use Team Explorer 2010 with Visual Studio 2008?

Hey guys. I think the title is very clear, but also i want to say why: I already downloaded TFS 2010 and Team explorer 2010, but i'm still using VS2008 (with no short-time plans to change) My question, can i use those toghether? Also, my VS is just the professional version. I don't want to download the TE2008 because for my internet cone...

Visual Studio hangs On Windows 7 64 bit ultimate edition, While Trying to Open an ASP.net web app.

I am trying to migrate an ASP.net 2.0 Project from 32 bit windows xp IIS 5.1 to 64 bit windows 7 IIS 7.5. When ever i try to open the site Visual Studio 2005/2008 starts Hanging( I have tried opening the site from File System as well as IIS). I can create new project and those projects work fine not even that I was able to sucessfully mi...

AcceptButton for each group of controls in different tabs, Can't use some envents in Combobox to make it AcceptButton..

I have different tabs on my UserControl. Each tab has some controls and button. I want to change AcceptButton on the basis of group of controls I am in. I can use TextChanged event or Enter event to make a button AcceptButton for Textboxes but I have some Comboboxes too. These combos are auto complete so I can't user Enter event on thes...

SQL Publish to Provider (Wizard) Scripting Stored Procedures Only

I'm using the Publish to Provider option in my SQL Project in Visual Studio 2008. I only check the box to script stored procedures leaving all others unchecked, yet the script produced includes all objects. Why is this and how do I stop it? Cheers, Breandán ...

Visual studio (2008) integration - intellisense and colourizer

Hi Guys, So I'm now about to look at getting visual studio integration working for our port of the Less ruby library: www.dotlesscss.com. This is basically a CSS preprocessor that extends on the CSS language to give you variables, mixins, nested rules etc... What we want is to have our .Less file type take advantage of VS's intelligen...

Export function lists (with parameters) from lots of C files

Dear all: I have an old VC 6.0 project with lots of C files. I need to document all the methods with their signatures, for example, listed them in a txt file like: LoadTranCde(LKFD lkfd, char * msg, char * code) MoveBack(LPT lStm, int numRows) RTrim(Char * paraString) .... The function list can be easily viewed in Visual Studio clas...

Delete and backspace not working in ReSharper

I accidentally mashed a couple of keys together at the same time and now delete and backspace no longer work inside code blocks on aspx pages. ReSharper functionality such as autocomplete (Alt+Enter) is still working just fine. I've tried devenv /resetuserdata but with no luck. With ReSharper disabled everything works just fine but I ...

Visual Studio SQL editor in DB projects is extremely slow

Our solution has a DB project for versioning DB structure. Whenever I open any SQL files in it, it is an absolute pain to edit it. Every keystroke takes literally 2 seconds to be executed (during which some thread in VS takes up 100% of the CPU core it is using). My machine is a fairly decent Intel Core2 Duo E6500 with 2GB of RAM, and no...

Assembly Programming in Visual Studio 2008

Does anyone have a best practice Project Template for Visual Studio 2008 MASM projects? I don't know why Microsoft shipped VS with MASM but epxect you to use a blank C++ project when there is so much that could have been added by default using a Project Template. Also, is there a project connector for TFS 2008 for MASM projects as I ha...

Visual Studio Highlights when I don't select text

I just got into the office, and booted up my computer to work on my current project. I hopped into a class file, and selected (through mouse highlighting) a group of events to delete. What happened though was it only erased one character. Wondering what happened, I clicked at the beginning of the selection and re-highlighted the text t...