I've noticed something peculiar about Visual Studio. First, try typing this (C#) somewhere in a function:
class Foo
{
public void Bar()
{
string s;
int i = s.Length;
}
}
Now, right away it will mark the s in s.Length as an error, saying "Use of unassigned local variable 's'". On the other hand, try ...
Ok this is a really specific question, but I can't seem to find the setting i need.
I'm doing crystal reports inside of vs.net 2005, and i need a page header, and report header, but i need the page header to come BEFORE the report header. Is this possible?
Basically i have two areas that I want at the top of the first page, A, followed...
In Visual Studio 2008, how can I easily find unused code in a source file?
I've got a source file with 2800+ lines of code in it, and doing an individual 'find all references' would get a bit tedious.
...
Hi
I want to develop my next web project in C++ as FastCGI but I don't know how to start and google wasn't very friendly about this.
I really don't know much about fastCGI or others libraries that makes cgi persistent... Tried to read some stuff, but it seems to be used along Linux with all those .configure Makefiles etc...
can anyone ...
It stands to reason that Visual Studio (.NET compiling and the IDE) would run better on a $5000 server than a $500 desktop.
Does anyone have experience running Visual Studio in a virtual machine hosted on a server in this price range, with access via RDP? (Assume modern hardware available for the stated prices.)
Obviously, there will b...
I've set the OutputPath, IntermediateOutputPath, and BaseIntermediateOutputPath tags in all my csproj files. Despite that, Visual Studio creates extra "obj" folders in my source directories. As far as I can tell, it creates the directory obj\Debug\TempPE and then leaves it empty.
I don't mind Visual Studio creating all sorts of crap, bu...
I know msbuild will be installed, if I install Visual Studio 2005 or 2008.
I know msbuild is also installed if I install the .NET Framework SDK.
As of .NET 3.0, I think there is no longer a separate ".NET Framework SDK". Instead if I want the free SDK stuff - all the .NET command line tools, all the base class libraries - then I ...
My Errors window in VS 2008 keeps popping up out of dock, or stealing focus while I'm editing HTML/ASPX. Is there any remedy for this before I break something?
...
Hi every one!
I am programming via Visual Studio 2008. I change my html page and save it using Ctrl + S and then hit Ctrl+F5 on the browser to test it. My problem is when I save my file in VS after refreshing the browser, "Save File As" dialog appears and when I want to save it with that file name, an error dialog appears which says fil...
I was wondering what approaches others might have for testing domain services against a database? I already have a series of mock repositories that I am able to use in the domain services for testing the domain services themselves. Part of the construction of these mock repositories is that they build out sample aggregates and associat...
When debugging you can tag an object with "Make Object ID" so you can follow instances of the object through the call stack and object graphs. Is there any way to see a list of all objects that you've tagged regardless of the current stack and local variables?
...
I'm trying to create an installer in VisualStudio 2008 that will prompt the user with a "Run application when finished" checkbox. I was able to create the dialog with no problem:
User Interface, select End, right-click, add dialog, CheckBoxes (A).
I then tried adding a custom action to run my app. Again, no biggie:
Custom Action...
I changed some parameters and now I don't remember how to "go back". I'd like to know if it's possible to reset the build settings. I don't mean the IDE settings(on tools->import/export).
Thanks
...
I'm using VS2008 (with windows XP).
Every time I try to run a unit test it stays on "Pending" and the test cannot be completed.
I tried to reinstall VS, but it didn't help.
Any advice?
...
Is there any way to get a trial or free version of Visual Studio, either version 2008 or a previous one?
If so, where can I find it?
...
I'm adding an auto increment column (called "rowNum") to my table and it's working good, after that I use this code to sort datatable rows :
DataView dv = MyDataSet.Tables[0].DefaultView;
dv.Sort = "columnName DESC";
where columnName is one of my columns (not the auto increment one).
Now,The problem is:
when I want to get the top 10 ...
I was debugging a C++ program in VS 2003, and a boost variable showed up as having the value {null=???}. What does that mean?
...
Hi,
I'll try to explain shortly what I want to do:
A project using a static library which have another one as depandency.
It produce a project called MyProject linking on MyLib1 linking on MyLib2.
Here is the compile order:
MyLib2
MyLib1 (linking to MyLib2)
MyProject (linking to MyLib1)
I'm using Visual Studio 2008 and I have some ...
I have a System.Windows.Forms.Button control, and I want to add a hover-text explanation of what the button will do. I were writing a webapp, the answer to my question would be approximately this easy:
<input type="button" title="This is the answer" />
I'm using Visual Studio 2008 Express. I've checked all the properties I could find ...
i have 12 projects in my solution including setup project. i set one project as startup project. it builds all project first then run my project, it takes too much time while i am debugging. the start up project, i set has no dependancy. why it builds all project and how to run specific project
...