visual-studio

Add-in of Git in Visual Studio 2005 using Git Extensions

Hi, I am new to Git and just installed Git Extensions (Windows Vista). The Git stuff does show up in Visual Studio (I can see Git toolbar commands), but doesn't appear to do anything. The Plug In does appear to work in Windows Explorer - when right clicking a file in explorer I have a bar with Git Extensions. Choosing "Settings" does s...

Backgroundworker threads not closing on program close ?

I have a simple program that has backgroundworkers, and it runs with no stop, and no matter when I close it, it will always have some still running (or all of them) and I've noticed that closing the application doesn't completly kill it. After running it some times, there are processes (1 for each run) that remain on the process tab of t...

Performance problem with backgroundworkers

I have 15 BackgroundWorers that are running all the time, each one of them works for about half a second (making web request) and none of them is ever stopped. I've noticed that my program takes about 80% of my computer's processing resources and about 15mb of memory (core 2 duo, 4gb ddr2 memory). It it normal? web requests are not hea...

Is anyone really using ThumbnailAttribute for Toolbox icons?

I was putting finishing touches on a new WPF/Silverlight custom control and decided that this time I would go with .NET 3.5 SP1 requirement (for WPF version). So, I decided to go with recommended new way of setting toolbox icon/image with ThumbnailAttribute. After spending some time on it I couldn't make it work and turned for help to Go...

Setup project not finding the dependencies of a project primary output.

In Visual Studio 2008 I've added a project's primary output to a setup project but the project's dependencies are not being found. If I look at the properties of the primary output the Dependencies property shows as (None). If I look a little deeper then I can find that the Dependencies property under the KeyOutput property has the proj...

Resharper 5 Beta - Goto Declaration (CTRL + Click) is not working

In Visual Studio 2010 Beta 2 with Resharper 5 Beta, Goto Declaration (CTRL + Click) is not working. Anybody has solution for that? I tried in google but couldn't find any solution yet. ...

Can't find the 'open in browser' option when r-clicking on default.aspx

Something strange is going on for me. I can open the web application on my desktop computer just fine, where it opens the asp.net MVC application with a URL like http://localhost:5118/ when I rigth click on the default.aspx file and choose 'open in browser'. On my laptop, I don't have that option when I right click on default.aspx for ...

Visual Studio: Is there a keyboard shortcut for search in the current line?

When editing code in VS, I typically use Ctrl+G to move to the line number that I want. It would be really nice if there's another keyboard shortcut that would allow me to move to the word that I want on that same line as well regardless of the cursor's position. Example: Say, I just moved to this line: quint32 beamNum; ...

compile SQLite amalgamation for Windows Mobile device

How can I compile the SQLite amalgamation for Windows Mobile device? Then I want to use in a console to run some commands. I've created an empty VS project in C/C++ for Smart Device, then included the existing files into Sources and Headers. When I try to compile I get: Error 1 error LNK2019: unresolved external symbol wmain referen...

Visual Studio 2008 Remote Debugger - Not Reaching Breakpoints

I have installed the VS 2008 SP1 Remote debugger on the machine running the program I want to debug. I am running the Remote Debugger with no auth / allow anyone to connect on said machine. I am running VS 2008 on my development machine with the project for that application open. I have copied a .dll that i have made changed to the sourc...

Autogenerating constructors which just initialize the fields to the passed params?

Hi stackoverflow, is there some way to autogenerate the obvious 2-param constructor for this class in visual studio? class Thing { public readonly string a; public readonly Object b; } I guess you're supposed to use the: new Thing { a = ..., b = ... } syntax in such cases, but that won't work with readonly fields as above. Ano...

Can I create a simple DB browser with VS 2010 like I could with VS 6?

Having recently installed the beta of VS 2010, I'm curious whether anybody knows how to get it to do something that was quite straightforward with VS 6. To create a simple database browser in VS 6, you could create an MFC application using a database view, connected to (for example an ODBC connection. Then, the interesting part. In a nor...

Where to start with Visual Studio for Database Developers

Does anyone have a list of advice, best practices, getting started guides, etc. for VS for Database Developers? ...

Programmatic Load Testing?-- outside Visual Studio

I was just wondering if there is a FREE framework I can use to programmatically run WCF load tests outside of Visual Studio. I've seen that NUnit provides such functionality for unit testing, but can you do load testing with it? Any help would be appreciated. Thanks. ...

Why don't my media elements resize and clip properly when using UniformToFill?

Why don't my media elements fill the screen correctly when I use the UniformToFill stretch? The mediaElement clips at the bottom if the window is wider than the mediaElement, and it clips at the right if the window is taller than the mediaElement. <Window x:Class="WpfApplication1.Window3" xmlns="http://schemas.microsoft.com/winfx/2006/x...

How can we generate the build file from VS.NET

Hi, If i have a VS.NET 2008 solution , and i want to export the build script so that i can use it to build the same application in another environment which does not have VS.NET, how can i extract this make or build script from the VS.NET ? Thanks. ...

debugging thread in vs 2008 enterprise edition--c#

I don't know if the same question is asked before or no:- I have the question that how to debug multithreading in C#.net vs2008(enterprise edition) is there any special technique or tool???? See my application works fine with single thread but when there are two or more threads it behave abnormally...I know there is synchronization issu...

How to make nested child forms in C#.net

In my windows form application I am using 10 forms.It is fine when only a parent and single child form are used at a time. But in case of multiple use of child form I am getting problem and not able to use them as child forms.They are not working as child form. Your any effort would be helpful for me. Th...

Configure Eclipse to use VS.Net shortcuts?

I've started doing some Python Programming using Eclipse. However, I'm a .Net programmer and I'm use to the keyboard shortcuts in VS.Net 2008. Is there any quick way to reconfigure VS.Net to use the visual studio shortcuts. I've found this other question, but the suggested methods don't work. I've installed CDT and selected the Visua...

Bluetooth development on windows

i need to create an application on a window machine that will communicate with a portable device over bluetooth...i am new to bluetooth so i was wondering what sort of APIs and drivers were available in the windows system...I know there is the bluez stack in Linux and OSX but not so much about the windows system. and also i need to tran...