visual-studio

Impact of "Ignore specific library" in Visual Studio

I'm working with an API that is delivered to customers as a static library. This library in turn makes use of another 3rd party library built with the Intel Compiler. This library has dependencies to some Intel libraries that I don't possess. When I build a test application I get past this by specifying these libraries in the "Ignore spe...

VS .NET class designer

Assume that class Being has a property of type Habitat. Both classes are implemented in their own .cs files. When I drag and drop the two classes from the class designer onto a new Class diagram, I do not see an association line from Being to Habitat, whereas there is an association in code. Am I doing something wrong, or this simply isn...

Visual Studio Cannot Open File

I'm working on my first project in Visual Studio and I haven't used Windows much since '05, so please bear with me. I've got my project open in Visual Studio 2008, and I'm trying to open a particular file for editing, but I get an error that says "c:\path\to\file Cannot open file. I've verified that the file exists, and I can open ...

Error seen while trying to compile live555 video streaming platform code in Visual Studio 9.0

Dear Mr. Butterworth, I am trying to compile the video streaming live 555 platform code on my system using Microsoft Visual Studio 9.0. The code is available in this link: http://www.live555.com/liveMedia/public/ I have generated the makefiles for this code using the provided genWindowsMakefiles script provided here. The problem I enco...

Change Default Namespace when creating Class in Folder (Visual Studio)

How can I change the default namespace used when you create a new class in Visual Studio? Background: My solution has a project MyCompany.MyProject.Domain in which I have a folder "Model Base (Linq)" with a subfolder "Extensions" where I keep all partial class extensions. MyCompany.MyProject.Domain + Model Base (Linq) + E...

which Visual Studio level to buy?

I currently have Visual Studio 2008 Developer Edition. I wish to renew this and get the 3 year SA. However the cost is crazy (around 6-7K USD). The only things that I require above and beyond what Visual Studio Professional Edition used to have are access to TFS (Team Foundation Server) and the ability to create and run Test projects (es...

How can my UnInstaller tell it's being called during a version upgrade?

Hello everyone, We are using VS2008 native Installer to set up our product. During both installation and product removal, we use Custom Actions to ask the user if he would like to keep his existing DB and settings (if detected). The arises when the user is upgrading: the Installer starts, recognizes there is a previous version installed...

Threads using visual stdio2008

I want to implement threading in c++.I am using visual stdio2008 and wish to implement threading using pthreads.can any one guide me about pthreads and also about there implementations in vs2008.Thanking in anticipation ...

Where can I find a reference for the .vcproj file structure?

I looked on MSDN, couldn't find it. I found an XML Schema for the .vcproj file, which is nice. But what I really want is an explanation for each of the elements in the vcproj file, a reference. The immediate question in front of me is, what is the significance of the UniqueIdentifier attribute in the element VisualStudioProject/Files/Fi...

How do I turn off Unicode in a VC++ project?

I have a VC++ project in Visual Studio 2008. It is defining the symbols for unicode on the compiler command line (/D "_UNICODE" /D "UNICODE"), even though I do not have this symbol turned on in the preprocessor section for the project. As a result I am compiling against the Unicode versions of all the Win32 library functions, as o...

How to include a build timestamp in a VC++ project?

I am converting a makefile project into a Visual Studio VC++ project. It's actually C source code. One of the statements I have in my makefile is: echo char * gLibraryBuildSig ="%DATE% %TIME%"; > BuildTimestamp.c This produces a C source file with a single line in it: char * gLibraryBuildSig ="Sun 08/23/2009 17:56:05.05"; In the...

How to determine why visual studio might be skipping projects when building a solution

I am debugging someone else's work and the solution is quite large. When I try to build the entire thing, several projects within the solution don't build and just skip. Viewing the output window during the build process says: 1>------ Skipped Rebuild All: Project: pr1lib ------ How can I determine why these builds were skipped? I am u...

In a VC++ project in Visual Studio, how to I specify /EXPORT symbols?

I have a makefile project that builds and links a DLL, using the command-line cl.exe compiler, which is included in the VC++ Express (free) tool. I now want to convert that makefile project into a Visual Studio project. The DLL is not actually C++; it's all written in C. The DLL exports a small number of symbols, functions that are c...

How to show linker command line in Build output, in Visual Studio?

This question is related to How to show command line build options in Visual C++ 2008 But in addition to showing the Compiler command line, I'd like to see the linker command line. I have "unset" the /nologo option in the linker options. But I still don't get the command line in the output window. What do I need to do? Is thi...

Text in Title Bar

How can we move text in the Title Bar of a form in C#.net using VS 2008? ...

Anyone managed to use Expression Blend for productive Designer & Developer Collaboration?

I'm an MVC fan from way back and used Maverick.Net for my web sites long before ASP.Net MVC came along. One of the utopian goals I had for MVC was that I'd be able to break the horrible practice of designers doing their thing in Dreamweaver and emailing over the HTML to the developer who had to spend time fiddling around with it to massa...

Why does Visual Studio 2008 highlight internal as a keyword in C++ code?

I'm porting VC++7 codebase to VC++9. Surprisingly Visual Studio 2008 highlights internal as a keyword in C++ code but looks like it is not really treated as such. What is this - a bug in VS, an environment setting I haven't found yet, or a sign that I will no longer be allowed to use internal as a regular identifier in some upcoming ver...

How to force indentation of C# conditional directives?

Hello, is there an option how to disable that #if, #endif and other directives are not indended after Edit -> Advanced -> Format document in Visual Studio? Thank you! ...

How do I save/serialize a custom class to the settings file?

I have a small class that holds two strings as follows: public class ReportType { private string displayName; public string DisplayName { get { return displayName; } } private string reportName; public string ReportName { get { return reportName; } ...

TFS - Find all change sets connected to a task

We are using TFS 2008 / Visual Studio 2008 We are trying to merge all code related to a task. I understand from other questions here that you can only merge change sets not tasks. Question then is how do I find all changesets connected to a task? ...