visual-studio-2005

Visual Studio 2005: File->New->Project vs File->New->Web Site?

Say I want to create vb.net application in Visual studio 2005. What is the difference between File->New->Project vs File->New->Web Site? EDIT I am aware that when using New->Project there are many more options available but if one wants to create just .net web application, would it make a any difference what option you choose? ...

Best way to take a snapshot of an object to a file.

What's the best way to output the public contents of an object to a human-readable file? I'm looking for a way to do this that would not require me to know of all the members of the class, but rather use the compiler to tell me what members exist, and what their names are. There have to be macros or something like that, right? Contrived...

Visual Studio 2005 Quick find missing Search in solution

If I open a solution then press CTRL + F and select Quick Find, the Look in drop-down doesn't have "Entire solution" as an option (Find in files still has it). Any idea how to fix this? Thanks! ...

how to add "Existing solution folder recursively" to my VS2005 solution

I tried drag and drop from the explorer, but no luck with following error: "Folders cannot be dropped or pasted as solution items. Choose an individual document instead." I know we can create each folders/subfolders manually and add each file, but any quick way to do this on visual studio 2005? Updated: Thank you for the reply, b...

Configurations and Program features in Visual Studio/C# Windows App

I have a Windows application (VS2005/C#) which comes in two versions, Enterprise and Pro. In the Pro version, some of the features and menus are disabled. Currently, I'm doing this by commenting out the disabling code to create the Enterprise version, then I copy each executable file to another location. Obviously this process is fraught...

ERROR : [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

Hi , while connecting .net to sybase server... got this error message [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified it was working sometime back. system DSN with same detatils work and data connection through vs.net also work. i am using vs.net 2005 Any suggestions? ...

What are the implications of using /Zi vs /Z7 for Visual Studio C++ projects?

Background There are several different debug flags you can use with the Visual Studio C++ compiler. They are: (none) Create no debugging information Faster compilation times /Z7 Produce full-symbolic debugging information in the .obj files using CodeView format /Zi Produce full-symbolic debugging information in a .pdb file for th...

What code changes are required to migrate C++ from VS2003 to VS2005?

We are considering moving the win32 build of our cross-platform C++ application from MS Visual Studio 2003 to MS Visual Studio 2005. (Yes, very forward-looking of us ;) Should we expect to many code changes to get it compiling and working? ...

What are the advantages of VS2008 over VS2005 for C++ development?

We are considering switching from MS Visual Studio 2003 to MS Visual Studio 2005 for our C++ development. I think jumping to 2008 might be better. In what ways are VS2008 better than VS2005 for C++ development? Are there any disadvantages of VS2008 over VS2005? ...

Visual Studio: MyMacros won't show up in Tools > Options > Environ. > keyboard

I have a macro that I wrote to just help me with my unit testing (it was derived from other macros that just add underscores to the name of the method as you write it,), and when I go to Tool > Options > Environment > and then keyboard to assign a shortcut to it, it not anywhere to be found, none of the "MyMacros" default section is ther...

Error when installing Visual Studio 2005 on Vista

I am getting the following error when trying to install Visual Studio 2005 on my 64bit, Vista computer: "1305.Error reading from file C:\Program Files (x86)\Microsoft Visual Studio 8\Microsoft Visual Studio 2005 Standard Edition - ENU\SITSetup.dll" I have successfully used the same DVD's to install Visual Studio on my old X...

Windows Forms Error: "A strongly-named assembly is required"

I have a Windows forms project (VS 2005, .net 2.0). The solution has references to 9 projects. Everything works and compiles fine on one of my computers. When I move it to a second computer, 8 out of the 9 project compile with no problem. When I try to compile the 9th project (the main project for the application - produces the .exe file...

Why would VS2005 be looking for a file it's supposed to be generating?

I'm working on a PocketPC app in Visual Studio 2005. The solution was building fine, then suddenly broke. The first error is this (assume the project is FooPDA): "Unable to find source file 'C:\FooPDA\obj\Release\FooPDA.exe' for file 'FooPDA.exe', located in '%InstallDir%', the file may be absent or locked." This error is rather conf...

Using mixed DLLs from /clr:pure projects

I'm building a project along with a Dll. The Dll must support native code so I declared it as a /clr. My project was initialy also a /clr project and everything was fine. However I'd like to include some NUnit testing so I had to switch my main project from /clr to /clr:pure. Everything still compiles but any Dll call generates a runti...

Missing "Export Template" option in Visual Studio 2005

Hi, I am trying to learn & create Visual Studio templates and as per this MSDN article, The simplest type of template to create is an item template. To do so, simply open a project that includes the file you want to use as a template and then chooses File | Export Template to run the Export Template Wizard Now, the pr...

How to run another process at debug mode?

I am writing a windows service. This service runs another process I've developed through Process class methods, but I want to run this process on debug mode also, using breakpoints, for instance. How can I do this? ...

Visual C++ TDD setup

I haven't worked much with Visual Studio before. I've started a personal project in my spare time and I would like to use test-driven development since it has been a huge benefit to me in my Java development. I started this project quite a while ago, and I used CppUnit. I know there are probably other frameworks that are better, but this...

Is it really worth porting from VC6 ->vc2005,2008?

What are all the problem that you foresee in doing that. ...

OLAP Cubes: Compatibility between Analysis Services 2005 and 2008

I'm working with Analysis Services and I have run into a compatibility issue. Here is my situation. I have 3 machines: Server2005: This machine has SQL Server, Analysis Services and Visual Studio, all in 2005 versions. Client2008: This machine has Visual Studio 2008. Client2005: This machine has Visual Studio 2005 What I'd like to d...

Ant -> Nant -> Visual Studio 2005 Build

I am working on a big C++ project. It is building using single Ant script which makes possible to compile the same source targeting more than one platform and compiler. But, I have to work only for Windows platform and Visual Studio 2005 C++ compiler. It would be really nice if I could write code and compile in Visual Studio, instead of...