Up till a while a ago my code base was very close to #include hell. Every time I changed an even mildly important .h file practically all the files got recompiled.
The main reason for such high header dependency was that I have many small functions that need to be inline and I was under the impression that for inline to work they need to...
In past i have worked with JQuery 1.2 vsdoc file which generates intellisense for vs2008 sp1.
I have recently downloaded latest version of JQuery 1.3.2 and JQuery 1.3.2 vsdoc file.
When i tried to get intellisense for jquery in vs2008 -
I am getting following error-
Warning 1
Error updating JScript IntelliSense: C:\Documents and Settin...
It would be nice if in XAML when I define ItemsControl/ItemsSource="{Binding AvailableContracts}" that Visual Studio would be smart enough to go find the property AvailableContracts on the ModelView which the DataContext is bound to, reflect it, and then when I type:
<TextBlock Text="{Binding Path=
it would pop up intellisense of the ...
I've just recently started using unit testing, and I understand some of the main issues unit testing does not cover is concurrency and complex cross-object interactions (which most modern fully OOP lanugages completely eliminate anyhow.) it is my understanding that CHESS resolves the concurrency problem to some degree? could someone giv...
When using jQuery UI and ThemeRoller the CSS files created contain several CSS properties that are not known by Visual Studio, such as zoom and opacity. How can I keep these from showing up as errors in the error list when the CSS file is open in the editor pane?
In the spirit of SO, I'll add the solution I found as a response.
...
I've updated my default templates in Visual Studio for classes, interfaces, code files, etc. I removed the default namespaces and added a copyright header blurb.
Is there a way to use a variable or something in the template so I don't have to zip/unzip and re-run the vs installer to change the copyright header? (I'm a consultant, the c...
I'm creating a command line program that uses a defined set of external files (.txts and the like) at runtime. I need it to have these in its working directory when run. Currently, I have them in a folder in the solutiondir with an xcopy into the projectdir as a pre-build event. What's the "accepted" way to set up a situation like this?
...
When you right click on a method in a code file in Visual Studio 2008 you get this
which creates the unit test skeleton for that method.
Is there a way (by means of a template change or some nifty hack) by which I can change this to create unit tests based on Nunit rather than Visual Studio unit testing tools?
Something like this…
...
My problem is this: I am getting a TFS build failure that I have tracked back to what appears to be a missing Registry key under SOFTWARE\Microsoft\VisualStudio\9.0Exp.
This machine had the VS SDK 1.1 installed via a command line: msiexec vsski.msi
So, I am guessing that I need to pass some properties to the msiexec to tell it that it ...
The issue was reported as a bug to the VS team here
but was closed as not reproducible since the original poster didn't reply I guess. I added my validation to the case, but I still can't find a workaround to fix this.
Issue: Just started today, all references to any assembly outside of the solution fails to resolve, with "The referenc...
Where are the STL header files actually located in a MS Visual Studio 8 install ?
...
I've got a visual studio addin written by developer who is no longer at the company and have no idea how to debug it. But I want to add a feature so it can recurse into solution folders.
Sounds simple but I'm not sure the api allows testing for this?
Well there's got to be a way because AnkhSVN and VisualSVN work fine with Solution F...
My assemblies that wrap a third-party DLL work fine in my windows test harness app, and they also work fine in a web service when spawned in debug mode (VS 2008 Visual Studio Development Server)! However, the app always crashes when running in the local IIS 7 web server. Here is the crash detail from the event log when running on the l...
I installed visual studio 2008 package FULL option. It worked with out any problem. I installed Vstudio 2008 and MSDN in separate folder in the D drive. 2 days later in order to remove my projects i uninstalled every thing and also i deleted visual studio 2008, visual studio 2005 folders from C:\Documents and Settings\IRCTC\My Documents....
Sub directories within VS2008 projects are mainly used to physically represent on disk the namespace structure for the project. Each folder has a Boolean property called “Namespace Provider”, which when set to True causes ReSharper to validate that the physical location of a given class corresponds to the logical namespace location.
Occ...
I have two projects in a solution, one is a C# library and the other is a C++/CLI library.
I have added a reference in the C++/CLI project using the references menu to the c# library. I then add the
#using <assembly.name.dll>
and try to reference the assembly with
using namespace namspace.subnamespace;
But i get the error that t...
How can I determine what 'mode' my site is running under?
In this specific case, I have code in the code-behind pages that should act one way in 'release' mode - that is someone navigating there with a browser, and another way if I'm in debug mode coming from VS2008. (These are things like identifying which SQL connect string to use, w...
Anyone know of a command to clear the immediate window in visual studio? I hate having to grab the mouse for a right click menu there - would rather just type "cls" or something.
...
Every time Microsoft releases a new version of visual studio, they always require me to convert my solution and project files to 'the latest version.' Even with something as simple as a "Hello World" solution, I need to go through their conversion wizard!
And, to make things worse, the new visual studio solution files aren't compatible...
I have recently been through the pain of converting an legacy WebSite project to a (C#)Web Application Project. During this time I also migrated the code from VSS control to Subversion on a dev server.
When debugging the application under VS2008 the project can literally take 4/5 minutes to completely load up. The majority of this time ...