visual-studio

Incredibuild linking

Hi, i use incredibuild for parallel compiling... i also need parallel linking but i couldnt manage it for linking. do you know is it possible to make it parallel? if there is a way, could you tell me? if not, do you know any other tools for this purpose? i have too many projects and i need to link them on seperate machines.. ...

Is there any equivalent in VS for "Type Hierarchy View" as with eclipse?

I want to see which classes are implement from a particular Interface. I know this is possible with the Eclipse by saying "Type Hierarchy View". Is is possible in VS 2008? I guess that it may be possible with Resharper. But without it, is it possible? Any workarounds? Thanks ...

Best strategy for branching SVN code and maintaining Visual Studio project references

We have a main visual studio project stored in SVN using the standard trunk/branches/tags structure. However, this project references external projects outside of this structure, so when we create a code branch all the references to the exteranl projects fail as they are one level out. ie. trunk/MyProjectCode becomes branches/MyFeatureB...

Best practices for setting up a Visual Studio project for nUnit tests

How do people set up their projects for Visual Studio and how do you reference the testable application ? Right now I've added a separate project creating a .dll to my solution which contains all the test cases and references nunit.framework , and it also references the main .exe file right from the Debug/ folder where VS generates the ...

VIM: is there an easy way to manage Visual Studio solutions / makefile projects from Vim?

Hello, I tried using Visual Studio instead of VIM(+plugins), but to be honest - the only advantage of VS over VIM is it's ability to automatically manage my project. I know of existence of ViEmu for VS, but I would like to do the opposite - is there any way to manage projects from within VIM? I tried both c.vim plugin and Project pl...

How to debug a application on a customers environment .NET

We have an application written in C# .NET that is currently used in production environments. Obviously the release build is used. Unfortunately sometimes the application misbehaves under certain conditions and we can't figure out why. We are unable to reproduce the issue in house. Yes, more tracing would help, but often it is after the ...

Free Visual Studio Build Automation Solution

I'm looking for a build automation solution for use with a Visual Studio solution space containing multiple projects of mixed source types (mainly Win32 C++ and C#). Also, all the code is stored in a Subversion repository. So it needs to go all the way from pulling down a working copy of the code, to compiling the source, to building t...

Which files are required for a Visual Studio project?

I'd like to use git to manage my various Visual Studio projects. Unfortunately they seem to consist of a multitude of files beyond the one or two .cs files my code is contained in. Which of these files is actually required to build the project? ...

Refresh environment variables for open VS solution

Using visual studio 2008, I had a solution open and realized I need to install another program that the project I was working on used. I did this with visual studio open and attempted to debug the program, however the environment variables added by the program I installed were not visible. I could not get them to refresh until I exited V...

Is there a way to do a 'project only' build or rebuild for a C# project

In Visual Studio 2005, you can right-click on a C++ project and choose Project Only > Build Only [project]. Is there any way of doing the same for a C# project? If I choose Build from the project right-click menu, it builds all the dependencies too. ...

Unable to copy file reference.dll to bin/reference.dll. The process cannot access the file reference.dll because it is being used by another process

Hey all, For one of my ASP.NET 3.5 applications, every single time I try to build the web app, it throws the following build errors in Visual Studio 2008: Error 165 Unable to copy file "C:\InOne\Common\DexProcessor\bin\Debug\DexProcessor.dll" to "bin\DexProcessor.dll". The process cannot access the file 'bin\DexProcessor.dll' because i...

Windows CRT and assert reporting (abort,retry,ignore)

The Windows CRT in debug mode will show a "Abort,Retry, Ignore" window if the application hits an assert(false) and sometimes it is created many times and fills my screen. I would love it if the assert would break in the debugger and not ask me any questions. I have modified the CRT reporting flags which have had no effect. I have als...

Do I need the .dat file when I place a visual studio database project under version-control

I have a visual studio 2008 database project that is under version control (git). I am getting conflicts in the project_name.dat when I try to merge my branches. So my questions ares: What is the project_name.dat file? Do I need it? That is can I leave it out of my version control ...

Web.Config Transformation in VS2010

I am working in the web.config transformation file concept. I have three web config. One is Staging, Production, Deployment. I have different connection information for these three. Web.Config: <connectionStrings> <add name="MyGallery" connectionString="Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Devel...

is it possible to generate Visual Studio solution files using StylusStudio?

Hello, i was wondering if it is possible to generate some kind of template that i give an xml or xsl file in stylus and generate c# code i made some .cs and works fine, but i couldn't with csproj and sln files, so, thats why i am asking i used to program dlls on c# is a n-tier programming ...

How to force Visual Studio preprocessor case sensitivity with #includes?

If you have a header file named ThisIsAHeaderFile.h, the following will still locate the file in Visual Studio: #include <ThisIsAheaderFile.h> Is there a way to enforce case sensitivity so that the #include will result in an error? ...

How to recognize the JavaScript method(function)

I am writing a Plug-In for VS2008 and I would like to recognize the JavaScript method(function). I have a file - sample.js:` function test0() { var i = 0; { var j = 0; } var array = { 1: 2, dd: 10, aaa: 3 }; return array; } function test1() { ...

Why doesn't this overflow?

Given this code: int x = 20000; int y = 20000; int z = 40000; // Why is it printing WTF? Isn't 40,000 > 32,767? if ((x + y) == z) Console.WriteLine("WTF?"); And knowing an int can hold −32,768 to +32,767. Why doesn't this cause an overflow? ...

Is it possible to rent VisualStudio per hour?

For a very small side project, I need VS professional. Since the target is .net compact framework, the Express edition won't do (neither will Standard edition). But the price of VS professional exceeds the reasonable price for that project. (Basically, it's just a form with two text entry fields and a button, that creates a text file wit...

What is the diff b/w Includes in VC++ Directories options and Additional include directories in C++ -> General in Visual Studio

I tried adding the include directories in the VC++ Directories -> Include Directories option in Tools -> Options but when compiling I get error - "Can't find file or directory" . Once I add to the Project properties -> Configuration properties -> C++ -> General -> Additional include directories , I could compile successfully. So why doe...