visual-studio

Automatic break when contents of a memory location changes or is read

The old DEC Tru64 UNIX debugger had a feature (called "watchpoints to monitor variables") that would watch a memory location (or range of addresses) for read or write activity and when it detected such activity would break the program so you could investigate why. See for details: http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V...

Shortcut/Link to another folder in TFS

We have a service written in one of our Team Projects. It's in "Project A". This service was modified to work not only for "Project A", but also for "Project B" which of course, is another Team Project. Now, if a dev sees it running, it will be with a name that would make them look in Team Project B... but of course, the code isn't th...

Visual Studio IDE - how do you quickly find the implementation(s) of an interface's method?

Is there a quick way to find all of the implementations of, not references to, an interface's method/property/etc? Here's some sample code: public class SomeClass : IBaseClass { public Int32 GetInt() { return 1; } } public interface IBaseClass { public Int32 GetInt(); } public class SomeOtherClass { ISomeClass _someCl...

Will stock WPF get a menustrip control?

My "metric" for when WPF is truly "ready to go" is when there is a menustrip control available in Visual Studio. Without that, from my perspective, it's still "under construction" a bit, in comparision to winforms. This isn't a technical argument, just a personal preference. So my question is: when will stock Visual Studio come with a W...

How do I make TDD in Visual Studio less painful?

I've become a bit of a TDD zealot lately. Explaining the concept isn't the hard part. Most people respect the purpose behind it. However, when I try to demonstrate the actual process behind the idea, the biggest complaint is: "When I'm writing my initial tests, I hate how Visual Studio intellisense tries to guess what I'm doing....

Visual Studio 2008 hangs when debugging classic ASP

So part of the application I'm working on is still written in classic ASP. Visual Studio 2008 was working just fine to debug the classic ASP, and with the addition of a hotfix it wouldn't even crash when I stopped debugging. This was all working very well for a number of months. Yesterday and today, several members of our group notice...

Are libfoo.a and foo.lib compatabile formats?

Some build scripts (such as the one in numpy) simply does the following to make a gcc-compiled library archive work with the Visual Studio linker: copy libfoo.a foo.lib Surprisingly it seems to work. Does anyone know why? ...

How to use different tab settings in different projects in Visual Studio

The Visual Studio options dialog allows you to set tab preferences (size, insert-spaces, etc.) on a per-language basis. But I am regularly working on a couple of c# projects with different settings for these values. Is there a way to override the global settings on a per-project basis, or at least toggle between them easily? ...

ADO.NET EF: Assign model to table without existing database

I've created an ADO.NET entity data model with Visual Studio and have to assign the properties to a matching table now. If I create the data model with an existing database, Visual Studio uses this database automatically to assign the properties. I have to start with a clear model because I don't have access to the database, the only thi...

Get control in javascript

I have a couple of textboxes that will contain dates only. If one textbox has a date and the user tries to submit without entering a date in the other date textbox they will be stopped before submit. The way I want to do this is with the following javascript function: function ClientValidate(sender, args) { // Get Both form field...

What symbol is this that appears on the VS.NET IDE?

Hello. Everyonce in a while I click in something that makes this symbol appear. What is it and what does it serve for? ...

app.config globalization

web.config allow a globalization tag: This setting will set the globalization for the entire ASP.NET application. Does this tag work in app.config in standard forms applications too? If yes... where shall it be placed? Or.. is there another way to set the globalization for the entire forms application. Including dll's and all threa...

Debugging in Visual Studio 2008 without setting an break point

I have downloaded an open source project that I would like to use to further my ASP.NET MVC skills. The project is split up into multiple smaller projects. When I launch the web site in debugging mode, is there a way to set the debugger to stop without having set a break point so I can step through the code and see what is happening bef...

C++ plus VS plus WORKFLOW ?

Hello, I have seen there is Workflow Foundation for .NET. Is there some kind of a tool for creating work flow with C++ on VS? Or there maybe there are similar tools which helps to architect application business processes? Thanks in advance ! :) ...

Recompiled Qt libraries with VS, now why won't Qt Creator compile?

My initial goal was to get Qt Creator and Visual Studio 2008 to create compatible libraries, so what I've done so far was open a VS command prompt, go to my Qt folder and then run configure.exe followed by nmake to recompile the Qt libraries with VS. The problem is that now Qt creator won't compile anything. The compiler output shows t...

Is Visual Studio 2010 beta 1 stable enough to start a serious WPF 4.0 app?

I'm about to start a new WPF project and there are a number of things in 4.0 that I need (multitouch for one). I've heard that VS 2010 beta 2 will be released at PDC in November so I'm considering starting the project in beta 1 now, then migrating to beta 2 when it becomes available. Assuming I only need to live with the environment fo...

Generating Primary Key with Non-Zero Index (SSIS Data Flow)

I've got a data flow task that takes a pair of tables, mashes the relevant data together, and comes out with some results to be put into an indexed table. The indexed table already has data that I'm not getting rid of and for simplicity's sake should retain their existing keys. So, I need to generate a key that starts from the highest Pr...

Visual Studio SDK - Getting notified when a project item in your package's vsx project has undergone undo checkout?

We are working with Visual Studio SDK, creating a package. We need to get notified when a file (projectitem) gets undo checkout from TFS. Any solutions/pointers are appreciated. ...

Debugging in visual studio 2008 freezes entire system

Any time i try to debug in visual studio 2008 my entire system will freeze whenever a breakpoint is hit. I can move the mouse around and that remains responsive but nothing i click on does anything, I can bring up the task manager but can't do anything with it and i am able to lock/unlock the machine. I tried a fix that i found via go...

VS Studio Crashes hard with "encountered a user-defined breakpoint" error on any config file.

I have a odd problem here I can't figure out. This happens each time I open the web.config file in my project. Studio crashes immediately after clicking close. Clicking debug just opens and empty Studio with the debugger attached to nothing. I even resorted to open studio 2008 naked, without and project or solution, and then manual...