visual-studio

msbuild SLN and still get separate project outputs?

I have a normal SLN file, and I'm compiling it fine with msbuild from the command line. I do this: C:\slndir> msbuild /p:OutDir=C:\slnbin\ And it dumps everything into C:\slnbin, except for websites, which get deployed to C:\slnbin_PublishedWebsites\. What I would like is to not only have all the binaries dropped in the bin dir, but a...

Implement interface feature dissapeared after installing coderush for C#

After seeing some nice recommendations for CodeRush C# I decided to give it a try. After installing it, loading of VS2008SP1 took way longer But way more worse, lots of default features have disappeared All the ctrl + features have gone. No more implement interface :( Uninstalled it, loading times back to normal, icons still in splash ...

Visual Studio Addin - "file in zombie state" error

I'm building a visual studio add-in. I copy a solution and do various things to the files inside its and the folder structure. I then load it into visual studio and proceed to load a list of predefined files however when I do this I get an exception and a message saying the files cannot be access for they are in a zombie state. Here is ...

how to generate multi part assembly ( per folder) in visual studio for custom library project , C#?

Is there a pre build action or some compiler switch that we can add? I have just too many projects in our solution at the moment. I want to add new modules and compile them into separate assemblies.I am looking for options where I can avoid adding new projects for each assembly. I am using Visual Studio 2005. Also, It will be worthwhi...

What is the best alternative IDE for Delphi (.NET)

I work in Delphi 2007 (both win32 and .Net) but the CodeGear IDE frequently annoys me, so if possible I'd like to find a replacemnt. We have a build script so I can compile from the command line and I very rarely do any GUI designing, so the only thing I need is a text editor (with syntax highlighting, Autocomplete/Intellisense ...). I...

Do Visual Studio 2005 testing tools contain tools for mocking?

I'm working with VSTS 2005, and while the unit testing tools are fairly straightforward, I'm left wondering if there is any sort of support for mocking. I'd hate to have to do the mocking manually, because that leads to a lot of (mostly generated) boilerplate code. I have an edict from The Powers That Be, that a third-party mocking libr...

Report based on arbitrary data source (quantity and names of columns may change)

I need to export data of all columns (including technical like GUIDs for foreign keys) of an arbitrary table from a given database. I wanted to use LocalReport class as suggested here, but I can't think of how to set up the report for an arbitrary data source (even quantity and names of columns may change). Any help would be appreciate...

Connect to specific VisualStudio instance via COM from Ruby

How can I attach and automate a specific instance of the VisualStudio.DTE from Ruby? It works fine when only one instance is running, but when multiple instances are running, WIN32OLE.connect("VisualStudio.DTE.9.0") only connects to the first one launched. A non-Ruby specific approach would also be appreciated. According to this KB art...

Visual Studio 2005 : Is there an easy way to indent correctly in an ASPX file?

In Visual Studio 2005, is there a way to indent correctly the tags in the aspx file (not in .cs files but really in ASPX files which contain HTML/ASP code)? ...

I have a legacy C++ project that uses motif for GUI. I want to create a Visual Studio solution of this project. Is this possible?

I have a legacy C++ project that uses motif for GUI. I want to create a Visual Studio solution of this project. So that I can build/run/debug from Visual studio. Currently I am on a windows box. I ssh into a Unix box and use cc to build and dbx to debug. When I run the application I change my display to the windows box and use xming for ...

version number inside AssemblyInfo.cs update outside visual studio

Is it possible to update the version number(AssemblyVersion("1.0.2.1")) insdie AssemblyInfo.cs outside visual studio???(Maybe using a script or a batch file) ...

What is the default folder that Microsoft Visual Basic builds in?

I am totally new to Microsoft Visual Basic 2008 and the programming language itself. My problem is that I was following a tutorial on how to make a browser. The browser works in debug mode, and I clicked build under build at the top. At the bottom it says build succeeded, but I have no idea where the program was actually saved to. I ...

How to create custom clean (post-clean) event in Visual Studio 2008?

In our build process, for each project we use Post Build events to copy our executable files into a separate deployment directory. That works just peachy, but the problem is that we run into problems with stale files after performing a Clean Solution/Clean Project. I'd like to set up a "Clean" event that deletes the copied file and Vis...

How can I set the default double click action in Visual Studio?

How can I make Visual Studio default to View Source when you double-click the Form1.cs. I prefer to make View Source the default of double-click than View Designer. ...

Highlight user-specified words in Visual Studio?

My team often puts the word TODO in unfinished sections of code. Is there a way to add user-specified keywords to Visual Studio so that these are highlighted in some way? For example, in vim the word TODO is automatically highlighted. For example, I'd want to see something like this: //This is a stub - TODO* move this to another proj...

IDE Suggestion required.Envionment : ASP.NET-VB-JAVASCRIPT

I am working on a ASP.Net project creating a Outlook like calendar scheduler app. I need to implement javascript on the webpages, but VS 2005 that I am using now is not very helpful, like intellisense or debugging,etc.. in case of javascript. I am planning to use jQuery in the app too. Questions : Is there some feature of VS 2005 th...

Optimize development Virtual Machine

As a best practice I use a virtual machine for my development - I would like to try and optimize my VM as much as possible. All I have installed is server 2003, IIS and Visual Studio 2008. What do you do to optimize your development VM i.e what service do you switch off etc... ...

Excluding Page from Release Build in ASP.NET Project

I am using an "Inspector.aspx" to do some tests in my Debug build. In a Release build (and more importantly when creating an installer), I manually exclude the page (and it's related C# files) from the project. Is there a way to automatically exclude files in a selected solution configuration in an ASP.NET project? C++ projects giv...

Visual studio addin - finding current solution folder path

I have an add-in loaded, and a solution loaded, how would I find the folder path of that solution programmatically in C# in my addin? ...

How to add environmental variable to VS solution (.sln )

I need to have my own environmental variable (like $(VsInstallDir) ) for all projects in solution. How can i define it in my solution ? I'm using VS2008, C++ solution ...