I am getting ready to test developer productivity tools for our team (Coderush, Resharper, JustCode, etc). We're planning to roll the tool out the same time as we deploy Visual Studio 2010 and TFS.
I've seen several posts discussing the merits of one tool versus another. However, I haven't been able to find any discussion of a method...
Why does the following line "alarm.AlarmEvent += new AlarmEventHandler(alarm_Sound);" gives me "An object reference is required for the non-static field, method, or property 'AlarmClock.Alarm.alarm_Sound(object, System.EventArgs)'"
public static void Main(string[] args)
{
Alarm alarm = new Alarm(new DateTime(2010, 4, 7, 2...
Where online can I download the Visual Studio template files for Microsoft Dynamics AX 2009?
...
Hi All
Visual studio allow you to create "inlined" classes (if I am not mistaken with the name).
So class header and implementation all in one file.
H. file contain definitions and declarations of the class and functions, there is no .cpp file at all.
So I was wondering if there is any penalty for doing it that way? any disadvantages...
I have the .def file, .lib file, the .dll, the source files.
It's using WINAPI DllMain, all its functions follow that.
It's like this:
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
return TRUE;
}
extern "C"
{
int WINAPI DoSomething()...
It seems like the following type of files need to be writable to be able to compile a solution.
.exe
.dll
.pdb (if debugging)
.resource (?)
.xml (at least the system generated ones. I'm not sure if they are just all XML documentationf iles)
If they were checked in and could only be overwritten by the compiler by the person who had the...
I'm trying to compile (using Visual Studio) an ASP.Net website with the Chilkat library. The compilation fails due to this error:
Could not load file or assembly 'ChilkatDotNet2, Version=9.0.8.0,
Culture=neutral,
PublicKeyToken=eb5fc1fc52ef09bd' or
one of its dependencies. An attempt
was made to load a program with an
incor...
Can AnkhSVN be installed on an Express edition of Visual Studio?
...
Is it possible to use OData with Visual Studio 2005 and .NET framework 2.0 ?
...
I have a .net assembly that needs to be 32-Bit and needs to be /LARGEADDRESSAWARE.
I know how to do this with EditBin, but I wonder if there is a built-in way in Visual Studio 2010? Or alternatively, did someone write an MSBuild Task for this?
Edit: This is for a C# app, so no linker options sadly :(
...
Hi, guys.
I am wondering if I could define a variable during debugging in visual studio. For instance, I want to know how many times the breakpoint was hit when some flag was true. This rquirement seems need more advanced programmable skill to visual studio debugger.
Visual studio conditional breakpoint can only satisfy partial requirem...
Hi,
I do a lot of mistakes in sql query in visual studio 2008. is there any addin, which can analyze my query?
...
What's the cheapest way to upgrade from standard VS2008 to VS2010?
I looked on the web and it looked like they wanted a monkey for it (£500).
This seems steep for an individual wanting to upgrade using taxed money.
...
Hi! When programming in Eclipse I use small vertical bar on the right side of the editor.
When I get errors, they are displayed as red boxes there so I can see if file contains errors and quickly jump to that place.
Also warnings and other stuff is displayed there.
Question: is there something similar for Visual Studio (2008)?
It sounds...
We implemented new coding standards, which call for our private members to have a leading underscore. Like so:
private System.Windows.Forms.Label _label;
Unfortunately VS will put out the default below when you drag a new label onto your form:
private System.Windows.Forms.Label label1;
Is there a way to change the default to:
pri...
I was wondering if anyone has experience with maintaining a Qt application on Visual Studio (2008+) that has both Win32 (32-bit) and x64 (64-bit) platforms?
The default Qt project comes with only the 32-bit library. While I know how to build Qt as 64-bit, how do you setup Visual Studio, Qt, etc such that you can easily switch between th...
Are there any good reasons to modify your projects build output path from its default of "bin\debug"? Is there any benefit to pointing all your projects within a solution to a common build output location?
...
I know how to attach a debugger to a windows service, but I can't seem to get attached to one that's being installed and started by a windows installer. I've tried:
Setting a Thread.Sleep(TimeSpan.FromSeconds(30)); at the beginning of the on-start, but when I try to attach in Visual Studio, the name of the service does not appear as an...
I have a .NET app that is dependent on a native DLL. I have the .NET app set as AnyCPU.
In the post-build step, I plan to copy the correct native DLL from some directory (x86 or AMD64) and place it in the target path.
However, this doesn't work. On a 64-bit machine, the environment variable PROCESSOR_ARCHITECTURE is "x86" in Visual Stu...
Hi Fiburt,
Today I meet a similar problem and it reminds me about this thread. In Visual Studio, if we open the .csproj file, we see that they tell us to uncomment the two targets AfterBuild and BeforeBuild so as to execute them after and before the build of the current project accordingly.
My questions are: Where are these two targets...