visual-studio

Best Laptop keeping Visual Studio in mind

I loved this post by ScottGu which made me think a bit about Hard drive speeds and how it is linked to Visual Studio performance. Since it is a bit older post, I would like to hear from you (serious programmers) if you bought any laptop recently with the same ideas. Is it worth using Solid State drives? Should I go for 64-bit? I am a ...

Visual Studio 2008 complains about trusted locations. What to do?

I was messing around with RhinoMocks this morning and couldn't run my tests because RhinoMocks.dll was not in a "trusted location". The assembly is in my c:\documents and settings\\My Documents\Visual Studio 2008\Projects (and so on) folder. What's the deal? ...

What tool do you use for counting lines of source code in Visual Studio Projects ?

I know there are quite a few line count tools around. Is there something simple that's not a part some other big package that you use ? ...

Is there a keyboard shortcut for "Build Page" in Visual Studio 2005?

"Build Page" is one of the items you can add to your toolbar to compile just the ASPX page or ASCX control you are working on. Is there a keyboard shortcut for it? ...

How to permanently remove a breakpoint in Visual Studio 2005 /2008 (ASP.NET, C#)

Often, when I have a breakpoint on some line in Visual Studio, The program will run and stop there. great. I will then click the red circle (or press F9) to remove it. Obviously I don't want my program to keep stopping there. The problem is that the next time I refresh the page the breakpoint is back! The only way to permanently remove ...

Can VS be configured to automatically remove blank line(s) after text is cut?

Is there a way (or shortcut) to tell VS 2008 that it cuts a line like this: Before: Some Text here This gets cut Some Code there After: Some Text here Some Code there What I want: Some Text here Some Code there PS: I don't want to select the whole line or something like this... only the text I want to cut. ...

.NET visual components

I really like DevX components, but they are pretty expensive, maybe anyone knows free equivalents ? or web site where I can look for some kind of free visual component for .NET ...

How do you get JavaScript/jQuery Intellisense Working in VS 2008?

I thought JQuery Intellisense was supposed to be improved with SP1. I even downloaded an annotated version of jquery 1.2.6, but intellisense will not work in a separate jscript file. I have the jquery library referenced first on my web page in the tag. Am I doing anything wrong? ...

Good tips for a Technical presentation

I am planning to give a Technical presentation for a product we are building. Intended audience is Technical developers. So, most of the time, I will be debugging trough the code in Visual Studio, performance analysis, some architecture review etc. I have read couple of blogs on font sizes to use, templates to use on Visual Studio, pres...

HTTPS with Visual Studio's built-in ASP.NET Development Server

Is there a way to access Visual Studio's built-in ASP.NET Development Server over HTTPS? ...

Getting started with Silverlight development..

How does one start development in Silverlight? Does one need a new IDE? or Visual studio will support? ...

Deleting lines of code in a text editor

Edit: This question had been tagged "Tolstoy" in appreciation of the quality and length of my writing:) Just reading the first and the last paragraph should be enough:) If you tend to select and move code with the mouse, the stuff in middle could be interesting to you. This question is about how you use text editors in general. I’m loo...

Resetting detection of source file changes

I sometimes have to work on code that involves me moving my clock ahead forward. In this case some .cpp or .h files get their last modification date updated to the future time as I work on them. Later when my clock is fixed, and I go to compile, it requires a rebuild of most of the project because some of the last modification dates ar...

Profiling in Visual Studio 2008 PRO

How do I use the profiler in Visual Studio 2008? I know theres a build option in Config Properties -> Linker -> Advanced -> Profile (/PROFILE), however I can't find anything about actauly using it, only articles I was able to find appear to only apply to older versions of Visual Studio (eg most say to goto Build->Profile to bring up the...

VS Code Snippets automatic synchronizer?

I use more than one machine for development in VS 2008. Is there a tool to automatically synchronize the snippets between the machines? Same concept of synchronizing browsers' bookmark. ...

Is there any way to get rid of the long list of usings at the top of my .cs files?

Simple question - As I get more and more namespaces in my solution, the list of using statements at the top of my files grows longer and longer. This is especially the case in my unit tests where for each component that might be called I need to include the using for the interface, the IoC container, and the concrete type. With upward ...

Classis ASP debugging global.asa in VS2005

I was trying to set a breakpoint in global.asa in an old classis ASP project with IIS 6 in Visual Studio 2005. Somehow the context menu for actually setting the breakpoint somewhere in global.asa is disabled (greyed). How can I set a breakpoint then? Breakpoints in .asp pages are no problem though and do work fine. ...

What are the differences between Visual C++ 6.0 and Visual C++ 2008?

What are the advantages/disadvantages between MS VS C++ 6.0 and MSVS C++ 2008? The main reason for asking such a question is that there are still many decent programmers that prefer using the older version instead of the newest version. Is there any reason the might prefer the older over the new? ...

Using GCC from within VS 2005(8) IDE

Is there a way to utilise the GCC compiler whilst still being able to develop via the Visual Studio IDE? Our project is cross-platform, and I quite frequently get into trouble from my colleague because I'm checking in code that's not standards compliant (this can be attributed to the VS compiler!). I'd still like to be able to compil...

Intellisense in Visual Studio 2005 between C# and VB - can't navigate to definitions

I'm absolutely stunned by the fact that MS just couldn't get it right to navigate to the definition of a method, when you're combining C# and VB projects in one solution. If you're trying to navigate from VB to C#, it brings up the "Object Explorer", and if from C# to VB, it generates a metadata file. Honestly, what is so complicated a...