visual-studio

What are the real benefits of Resharper for Visual Studio and are they worth the price?

Duplicate of: Using Resharper…Time Saver? (and others) I have been hearing alot about the resharper product and I have read the benefits on their website. I would like to know from actual users of the product what they consider to be the invaluable & cannot live without benefits. Are the benefits worth the purchase especially if yo...

how to create a com dll using visual studio 2008.

how to create a com dll using visual studio 2008.what are the custome settings needed for creating dll. that dll should be used in microsoft navision(ERP PACKAGE). ...

Why does this unit test pass in Visual Studio 2005 but fail in VS2008?

[TestMethod] [ExpectedException(typeof(FormatException))] public void PassGodammit() { throw new FormatException(); } ?? driving me mad. ...

Firefox addon to open source file(s) in your favorite IDE

While developing a web application in Visual Studio, I want to be able to quickly open a source file (an xsl, a js, etc, not the "view source" result) in Visual Studio. My idea is to: Write out http response headers (in debug mode), identifying the local files (c:...\bla.aspx) that helped build up the response Read these http headers i...

VS2008 - adding resources always causes source file to be added to the csproj

Hi When I'm adding an image to a .resx resources file in Visual Studio 2008 (C# project), VS always decides to add the file itself to the solution (in a Resources folder) and set its Persistence property to "Linked at compile time". The behaviour I want is for the source image file contents to be added to the .resx file, the Persistenc...

Error with Windows Installer ... "Unable to get installer types"

Good morning everyone, I'm experiencing an error when using the windows installer to install an event source in a product I am deploying. The error message I receive states the following ... Unable to get installer types in the c:\temp\program.exe assembly. --> Unable to load one or more of the requested types. Retrieve the ...

Creating setup project with single output file (Visual Studio 2005)

I'm using visual studio 2005 Setup project to create an installer for my application. The outputs of the setup projects are: - Setup.exe (a bootstrapper which makes installed .Net framework if it doesn't exist) - .Net framework folder (for installation by the .exe above) - .msi installation for my project (called by the setup.exe) My qu...

VS2008 Macro: Perform action on every code file in the solution

I have recently noticed how interesting Visual Studio's macros are. I did not use VB for ages so it took me a while until i finally managed to write a little macro that performs some stuff on the currently open document. Enthusiastically, I next wanted to use this macro on every source code file (.cs) in the solution without having to m...

VS2005 C#: Reloading a reference

Similar to coryr (see this question), I am referencing a dll within a C# project. The DLL often changes but I the C# project does not recognize this. Unlike coryr, the DLL is a VB6 ActiveX DLL. Any suggestions for how to reload the reference other than removing and adding it? ...

Restrict Users from Opening the XML file from a project folder, dot.net

I have a "resource" folder in my solution file which contains the xml files. It is available to remote, unauthenticated Internet users and I wanted to deny access to all the users.If they know the files name they can access it thru url. eg: example.com/common/resources/test.xml Hence I wanted to deny access to that folder or move it to...

Visual Studio 2008 SP1 and Visual SourceSafe 2005

Hi! I have installed in my Desktop Computer Visua Studio 2008 Team System 2008 Architecture and Visual SourceSafe 2005. Visual Studio doesn't have integrated Visual SourceSafe, How can I integrate Visual SourceSafe on Visual Studio. Thanks! ...

Can't "go to declaration" in *.ashx files (Visual Studio 2008)

When I open *.ashx files in Visual Studio, I don't have the helpful "Go to Declaration" context menu when right-clicking on a function. How can I restore this functionality (this is a new install)? Thanks very much. ...

Exclude output referenced (DLLs) of other projects from project (VSS question)

This has to do with source control, I'm using VSS and the Visual Studio 2008 plugin. When the DLL of a referenced project gets included in a project (and checked into VSS), on the next build it will fail because those files aren't checked out as part of the build process and will be read only. I could exclude the entire bin folder and a...

How do I build an import library (.lib) AND a DLL in Visual C++?

I want to have a single Visual Studio project that builds a DLL file and an import library (.lib) file. (An import library is a statically-linked library that takes care of loading that DLL file in other projects that use it). So I went to Visual Studio C++ 2008 Express Edition, created a New Project of type Class Library, and set the ...

Visual Studio Builds per day

Is there any way to log the number of builds done during a development day in Visual Studio, or anywhere we can hook into something to get at the metadata? I'm curious how many times on average I build/day * how long it takes per build... Any thoughts? UPDATE: sorry for the lack of details...and this exercise is purely academic With...

Can I use multiple source control providers on one project in Visual Studio?

At work, we use Team Foundation Server for source control. I work from home a lot, though, and external access to our Team Foundation Server isn't possible now or in the foreseeable future. I'm utterly fed up of using email/usb source control - almost as bad as no source control at all - so I was thinking about bringing the project(s) ho...

Vertical line limiter in VS 2008?

I'm sure I could google this and it's probably on SO already, but I can't even figure out what it's called. Is there an option in Visual Studio 2008 to activate that vertical dotted line that shows up x amount of spaces (normally defaults to 80) as a guide as to how long your lines of code should be? ...

Attach existing VS.NET 2008 instance that's already debugging as JIT debugger

Is it possible to configure the VS.NET 2008 "Just-In-Time" Debugger dialog to show an existing instance of Visual Studio that's already attached to another process? The scenario I have is an NUnit unit test that runs another process. When I'm debugging the unit test I want to automatically launch the debugger for the child process it ru...

Adding Existing Form to C++/CLI WinForms Project

I have two C++/CLI projects A and B in separate solutions. I use A for experiments/testing and move the tested code to B once I am finished testing. However, I find that on adding a windows forms class (header, cpp and resx) to project B, I am no longer able to use the visual forms designer of the IDE. How do I enable that? ...

VisualSVN - Upload Solution with multiple projects

Hi, I am trying to upload a solution with multiple projects but only the first project gets uploaded. When I try to load any of the others I get "Project cannot be added to Subversion because it is out of working copy" The folder structure on the drive is c:\myprojects\thisproject\project1 c:\myprojects\thisproject\project2 c:\myprojec...