visual-studio-2005

Is there any way to change framework of vs2005 to 3.5

Hi All, Is there any way to change framework of vs2005 to 3.5? ...

Project Settings - xml false error

I have having a problem with either the VS.NET 2005 IDE or one of the Addons I use. I use VisualSVN, and CodeSmart, and I have the free tools from DevExpress (Refactor!) installed as well. I'm using VS 2005 Pro w/SP2. My problem is with the Settings tab of the Properties page and occurs for every VB project I work on. The other guy that...

Why am I getting the "LoaderLock was detected" warning when debugging?

I'm developing an add-on for AutoCAD 2009. The project output is a class library. When I attempt to debug and load the class library, I get this "LoaderLock was detected message." I've been writing these add-ons for awhile and this is the first message of this type I've seen. Where do I start trying to figure this out? What is LoaderLo...

Visual Studio search stops working

somehow visual studio search has stopped working for me. Anytime i search the solution for some text i get this result: Find all "[What ever i was searching for]", Subfolders, Find Results 1, "Entire Solution" No files were found to look in. Find was stopped in progress. Does anyone know why it would suddenly say "No files were fo...

Change assembly name based on configuration (Visual Studio 2005/2008)

Is it possible to change the assembly name based on the project configuration? I have tried conditional pragmas on the assemblyinfo.cs file, but that only changes the assembly attributes, not the name itself. ...

How do you setup Visual Studio 2005 to use #ifdef _MSC_VER?

I am trying to use the _MSC_VER macro in a Visual Studio 2005.NET C++ project, but am unable to use #ifdef _MSC_VER. Does anyone know how to setup a Visual Studio 2005 project to be able to use this macro? ...

How can we migrate to using VS2005's Database Projects?

At my company, our current method of updating the database is to connect using the Server Explorer in VS2005, then modify the stored procedures by opening them and editing. The devs here seem to enjoy that "write and save it like it's code" mentality. It is pretty convenient, how it automatically turns Create into Alter and runs the sc...

.NET 2.0 program (VS 2005) runs in Visual Studio but not from Windows Explorer

Has anyone seen this? There is a few second delay, then one of those dialog boxes saying "Yada Yada has encountered a problem and needs to close. We are sorry for the inconvience." (This is weird because my program has an exceptional handling system that gives useful error messages if the exception is thrown within my code, but it is cl...

Using System.Windows.Forms in a Visual Studio Macro

I have started writing a Macro in Visual Studio 2005 like this: Public Sub myMacro() Dim myListBox As New System.Windows.Forms.ListBox() For Each x As String In xs myListBox.Items.Add(x) Next But I'm completely at a loss as to how to display the ListBox, I'd like behaviour similar to this InputBox example: Dim s...

How to use typelists

I read about typelists in 'Modern C++ Design' and I understood it as some kind of union for types. By putting diffrent, non-related types in a typelist, one can use it to represent more than one type at once, without inheritance. I tested typelist in some simple functions with primitive types, but I couldn't get any of them to work. Cou...

Compiler Error: Function call with parameters that may be unsafe

Hi, Got some code that is not mine and its producing this warning atm: iehtmlwin.cpp(264) : warning C4996: 'std::basic_string<_Elem,_Traits,_Ax>::copy': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. ...

How do I exlcude a particular folder from the copying process in a Web Depolyment project?

I am suing VS 2005 and a Web Deployment project. The problem is that the build process takes a very long time because the deployment process copies my images folder to the deployment directory. The images folder is small in size but has thousands of files. I want to keep the images in my development folder so that I can see if the linkin...

How to call one project from in another in vs2005

Hi i have 2 projects named as SQLDiscovery and TestApp like (Solution 'TestApp'(2 Projects) Solution 'TestApp'(2 Projects) | | ---> (SQLDiscovery) Contains a class SQLDiscover and a method DisplayLocalinstances() ---> (TestApp) which contains main() Now i want to access DisplayLocalInstances() in main.how can i do it. Alr...

MVVM Visual Studio template installed but doesn't show up in template list

I installed the MVVM Visual Studio Template. It now appears in: Visual Studio C# Express 2008 (English) but not in: Visual Studio 2008 (German) Visual Studio 2005 (German) I reproduced this on another machine as well. Has anyone been able to install the MVVM Visual Studio template in a full version of Visual Studio in any langu...

C++ code performance

Hi there When is about writing code into C++ using VS2005, how can you measure the performance of your code? Is any default tool in VS for that? Can I know which function or class slow down my application? Are other external tools which can be integrated into VS in order to measure the gaps in my code? ...

how to add reference in visualstudio2005 for vc++ project

Hi i have created a vc++ console application i need to add .net assembly references. but when i do the following as project right click->properties->Common Properties->references->add references then i am getting the window as addrefernce(title) tabbed window project name and project directory and have empty list i am unable to fi...

how to open VS 2005 solution using VS 2008?

when i try to open a solution created before with VS 2005 in 2008 i got this error message in VS: Microsoft Visual Studio The application for project 'C:\myProject.csproj' is not installed. Make sure the application for the project type (.csproj) is installed. OK Help How to make VS 2008 open 2005 solutions? i missed to do s...

Solution Explorer Project Context Menu

Is there a way of adding other options (specifically Add Interface) to the projects right click context menu (Right Click a project > Add > [Class, new Item, new form,...])? I found one option in the customize dialog to place an 'Add Interface...' item in, but this is always disabled. I found that one under the Projects category of menu...

Why is this compilation error coming?

Hello, I faced one issue while working on a C code with Microsoft Visual Studio-2005 compiler. I tried to declare a big buffer statically as : int gbl_data[4096*4096*256]; EDIT: This declaration was a global variable in a header file. It was giving an compilation error saying – “cannot allocate an array of constant size 0”. Means...

Using VCCLCompilerTool with generated C++ source files.

In a Visual Studio 2005 Add-In, how would one specify that a new set of generated C++ source files should be compiled instead of the original source files? Since the two exist in separate directories, I assume that there's some way to change the source directory from the VCCLCompilerTool interface, but I haven't been able to figure out ...