I'm using a BackgroundWorker to do some work. Part of that work involves showing a form. That form has some controls that are set as drag & drop targets.
I know that the BackgroundWorker uses the ThreadPool to run, and that threads from the thread pool use the MTA threading model. I also know (thanks to this question) that when you have...
Here is my scenario. I like my color scheme. I have a dark blue background with light grey text. I have the Plain Text option in VS 2010 in Tools | Options | Environment | Fonts and Colors set to be a dark grey for the foreground and dark blue for the background:
But I need to fix this major problem/annoyance which is when I highli...
I am in the process of learning C#. I downloaded and installed Visual Studio 2010 Express with C#. The problem is it has all these templates that are a little overwhelming at the moment: ASP.NET website, Library, WCF, etc.
I just want to code something very simple that takes input from the Console and outputs to it. I am making do with...
Some people have mentioned RockScroll and MetaScroll in This Question, but those only seem to work in code, is there something that will work with any file type, including plain text files?
In Resharper I can do ALT-SHIFT-F11, but again, that only works in source files, I need this functionality in plain text files as well. If not then...
I have a windows application (an IE plugin actually) that depends on .NET and is installed via an installer created in visual studio (2010).
I've got it working so that that it is generating a Setup.exe which installs the .NET framework automatically if needed (via the prerequisites mechanism), but I've been asked to show a confirmation...
Ok, so for my build configurations, I have Release32 and Release64. Each one being targeted for the specified bitness.
This is also the same for my DLLs, which are in the same solution. Now my question is: How do you update the DLL reference?
In the add reference window, you can select the DLL. I just chose the one in the Release32 dir...
Possible Duplicate:
VS2005 VB.NET XML Comments ' - stopped working
I'm having an issue with the XML comments for one of my projects in my solution.
I try the whole "'''" trick but the comment doesn't automatically generate into:
''' <summary>
'''
''' </summary>
''' <remarks></remarks>
It works fine for all the other proj...
I have a directory /media/fonts in my asp.net mvc project which contains fonts for my website. When I use the "Publish" tool in Visual Studio this folder is ignored even though it is included in my project. Other folders /media/images and /media/css are included just fine.
Is there any way to tell Visual Studio to not ignore this folder...
I'm trying to build Truecrypt 7.0
I have build the driver. But I can't build the Boot Project.
1>------ Build started: Project: Boot, Configuration: Release Win32 ------
1>Performing Makefile project actions
1>NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\cl.exe"' : return code '0xc0000135'
1>Stop.
T...
I'm interesting with statistic and motivation of using task list in VS. Why are you use it or not? Some people i asked even want a tool, that can synchronize VS ToDo with Outlook. What do you think?
...
Shortcut for "Find Result 1" in Visual Studio?
...
hi; i try to run my codes. My program more slowly runnig. i need to give performance also write less codes in GetAliSpReqs(), GetMaintData();GetAccess....GET(...
How can i write more effective below codes. They are too slow also not useful. forexample i try to write les than 1-2 line with GetAliSpReqs()? How can i ? please help me...
...
Usually when using breakpoints in Visual Studio (2008 in this example), I just see a flat list. Sometimes though, I get a tree-view for each breakpoint, as shown below (there are 26 child nodes of the expanded node). All the tree nodes refer to the same line of code, and all the optional columns display the same data for each node. I gue...
I've seen various suggestions that hard disk speed is a big factor in Visual Studio compilation performance.
There is now a relatively cheap hybrid hard drive available called the Seagate Momentus XT.
This has a 7200 RPM hard disk of 250, 320 or 500GB and a 4GB SLC NAND SSD.
Has anyone tried this in their development machine? Did it ...
I'm a bit confused about all that
Does <compilation debug="true"> in web.config mean that you are in Debug mode? I guess no? Is this related to debug/release mode?
Is the "publish..." action in VS2008 automatically compile in "release" mode? Where can I bind "publish..." action to "release" mode?
When I "publish..." a project and if I...
Hi all
I am writing a some unit test classes and i only want to run them in debug mode .
Is there some way not to deploy the classes itself to the final assemblies when i run in different mode .
I am not talking about their content (#if DEBUG flag) , the files them self .
I use VS2005.
Thanks.
...
i want to use generic class to shorter my codes because
1) GetMaintData(int taskID) RelTypeId and RefMaintenance
2) GetAliSpReqs(int taskID) RelTypeId and RefAliSpReq
if you look below method you can see only TypeId and Ref data. i think that i can write new clear codes via generic class like that:
http://www.thereforesystems.com/dyn...
Developers have expressed a desire to deploy a single database object from a Sql Server 2008 project, such as a stored procedure, without having to use the build/deploy or schema comparison functions.
To enable this, developers have created their database object scripts including 'if exists.. drop' checks at the top of the script and ...
I've followed the instructions on http://blogs.msdn.com/b/vstsqualitytools/archive/2009/12/01/executing-unit-tests-in-parallel-on-a-multi-cpu-core-machine.aspx to the letter and I can execute tests in parallel.
So far so good.
Now the problem: I can't set the parallelTestCount to zero (Auto configure) or to a value above 5. Running fiv...
Currently we have a bunch of web sites (web site projects) that I think should be converted to web application projects. Everybody agrees.
But a number of custom BuildProviders are used to generate controls and unfortunately MSDN says that
Adding a customized BuildProvider class to the Web.config file works in an ASP.NET Web site bu...