visual-studio-2005

SQL Server 2005 installs Visual Studio 2005 too?

I just installed SQL Server 2005 and it installed Visual Studio 2005 too. What's the point of this? Is there an option in the SQL Server installation that can prevent this. If I uninstall Visual Studio now will it mess anything up? What if I now install Visual Studio 2008 too? ...

How to generate pdb files for parallel builds?

We are seeking ideas on resolving a problem with linking/pdb generation when running multiple devenv.com using Visual Studio 2005. We are getting the following intermittently errors when doing parallel builds using devenv.com. I.e. when the following get run at the same time on the same build server: devenv.com master.sln /build "Relea...

Installing Visual Studio 2005 on Windows 7 X64

I am trying to install Visual Studio 2005 Professional on Windows 7 X64 and it fails quickly while installing Microsoft Visual Studio 2005 64bit Prerequisites (x64). The install error logs includes the following: [08/25/09,14:46:14] Microsoft Visual Studio 2005 64bit Prerequisites (x64): [2] Component Microsoft Visual Studio 2005 64...

Add Custom Toolbox Group in VS2005

I have two separate VS2005 projects, one that contains a number of custom controls and one that contains a WinForms project that needs those custom controls. I don't need an installer to distribute the control library to third parties, it just needs to be available in the other project I'm working on. I'm trying to execute the batch fi...

Is it possible to prompt the user for information in a Visual Studio template?

Is it possible to prompt the user for more than just a file name when they create a new item from a Visual Studio 2005 template? It would be nice to have more than just the class's name filled in when a template is used. ...

Where to Add a folder in .net solution so that while building the project folder should be created?

Where to Add a folder in .net solution so that while building the project folder should be created? ...

Can we execute a .bat file in post build event command line in visual studio?

Can we execute a .bat file in post build event command line in visual studio? ...

Why does Visual studio 2005 prefer "none" instead of perforce as source control provider.

(Formerly: Help! Sourcesafe hijacks Perforce bindings in visual studio 2005) Hi, I'm currently having a problem with a visual studio solution. We're using perforce as our source control provider through the binding mechanism in visual studio. My problem is that every time I open the solution sourcesafe will hijack the bindings and sho...

Troubleshooting Assembly Linker Error, C++, VS 2005

Using Visual Studio 2005 with the latest Service Pack. I have a managed C++ solution with 38 projects (that I've just inherited.) When I build this solution, I'm receiving the following error from the Assembly Linker: "error AL1019: Metadata failure while creating assembly -- The process cannot access the file because it is being us...

Make enter key behave like tab key in Javascript

So far i have this being called on keypress. function chkenter() { e = event.keyCode; if (e == 13) { event.keyCode = 9; return false; } } but even though i set the keycode to 9 it doesn't tab over to the next control. How can i accomplish this? I'm working in Asp Classic. What I ultimately want is for the focus to m...

Solution with over 100 projects takes over five minutes to build

I have a solution with over 100 projects. It takes a long time to build, and sometimes Visual Studio crashes during the build. How can I deal with this issue and minimize the pain? Have we gone horribly, horribly wrong somewhere? Some background on the problem: We are using CAB with WPF, and each module has a ui assembly and a "serv...

Build C# Projects and their dependencies

In VS2005 I have a few C# projects that depend on each other. If project A depends on B (e.g. references it), then I want B to build whenever I build A, assuming B has changed in some way since last built. That's the way it is with VC projects, but for some reason it doesn't seem to work with C# projects. If I clean B and then build A i...

Visual Studio 2008 and 2005 accessing TFS 2008 source control?

We have a TFS 2008 server that we are using for source control having migrated away from VSS :D This is great for all our web projects as they can all be migrated to VS2008. My problem is that VS2008 doesn't support development of SQL2005 SSIS packages. It is possible to check SSIS packages into TFS2008 from VS2005? Would this confl...

Build does not release the new changes on Visual Studio 2005

I am a part of TFS project. We use Visual Studio 2005. It was allright some days ago, I mean I used to be able to build a project with new changes. However, today! For instance, I have a page under a web application. I add two text box component and I build the whole project but it does not build the project with two new text boxes. It...

Any way to modify existing files in a Visual Studio Template?

I'm currently using a "New Item" template of mine to create several classes in my project based on the Name entered. What I'd like to be able to do, is to also add some lines to an existing file in the project. Is there any way to do this? Is there any way to run some sort of script from within the .vstemplate file? ...

Preventing a complete rebuild using branches with GIT and Visual Studio 2005

One of the problem I faced when using branches in GIT was that it was very easy when switching branches to cause visual studio 2005 to cause a complete rebuild of the source because of the time/date being changed when switching branches. My typical layout is this. svn/remote master test When switch between either the test and the maste...

VB.NET project upgrade VS2005 to VS2008

Hello, I have a VB.NET 2.0 project developed using VS2005 Free Edition and I am considering to upgrade it to VS2008 FE, mainly because I have problems once per year, whenever my Temporary Certificate expires. I was wondering if you can point to some resources describing in what parts of the code I should pay attention after the upgrade...

How to Change the productname of clickonce deployment after first install?

We have an application on pilot implementation using clickonce to deliver fast updates. We have even automated the build proces with nant and we can control every step of the building of the deploy package. This pilot, we delivered with the productname "PRODUCT TITLE (PILOT)", but now, we want to upgrade all our pilot users to the produ...

C# in VS2005: Can a device project target both full framework and CF?

We're developing with Compact Framework for a device under Visual Studio 2005. However we want to make an emulated version of the software as well, running at the PC (preferably selectable via a Build Configuration). It seems however that the .vsproj file is specific for devices; there is no way to use the full .NET framework for examp...

Dynamic-link library for optical scanner

I am trying to refactor my project so that instead of many functions i would have some objects instead. I am writing an application, which is communicating with a specific optical scanner via Serial port. I use usual SerialPort's class methods (Write, Open, Close) and some advanced methods, which aren't included in standard class, like...