visual-studio

Windows 7 RC (boot camp) and Visual Studio 2008 installation problem

Hello, I have a Windows 7 RC on a boot camped MacBook Air. Everything works great except that VS 2008 won't instal on the system. It complains that the Setup.exe is not valid. Strangely enough, Visual Studio Express Edition SP1 installs ok. I used to have Win7 Beta on Parallels and there it installed ok. Any ideas? Pom ...

What is the filetype .COMPILED

When you publish a website you get xml files of type .compiled. It contains for example: <?xml version="1.0" encoding="utf-8"?> <preserve resultType="6" virtualPath="/App_Code/" hash="ffffffffc89f22d3" filehash="" flags="140000" assembly="App_Code" /> What are those files for? Should a deploy them to the server? ...

Can Visual Studio Test projects cope with events and delegates?

I am working on new functionality for a large C# project which is mostly legacy code. The area that I'm working on handles XML schema messages, creates a schedule for their transmission and places them into some legacy timer code which notifies me when they should be sent. Although I am new to them, Visual Studio test projects are provi...

What is the difference between a web reference and a service reference?

What is the difference between a web reference and a service reference? ...

Is it possible to use VS2008 built libraries from a VS2003 solution?

Hi, How can I use DLLs and libraries compiled with Visual Studio 2008 from within a Visual Studio 2003 project? Thanks, Dan ...

Tailor the Publish feature in VisualStudio to use specific paths for individual files

Is there a way to tailor the Publish feature of VisualStudio (I'm using VS 2008) so that different files go to different directories. I'm developing a web application which is used within a CMS (Immediacy) and the folder structure of the solution is quite different from the target folder structure. e.g. in my solution I have: MySoluti...

C# Listview Item Text Orientation

I'm designing an application using a Listview container with LargeIcons as the view type. I need a way to change the text orientation of the Listview Items with respect to the icon. For example: I would like to have to text displayed to the right of the icon in the Listview container. Is there a way to do this? Thanks, -Sean! ...

How to enter long SQL text sample data with Visual Studio?

The Server Explorer built into Visual Studio is a nice way to connect to your database, view existing data, and edit data. Very useful for entering sample data into a database for testing and development purposes. However, what if you have a "text" column and want to enter a long text field? For example, I have a text column in which ...

Ignoring files when merging metadata during the linking process in VS2005

Hello, I'm trying to get my project to compile with the common language runtime, and I'm suddenly running into the following linking errors, when I attempt to make a debug build: ============================================================================== Main.obj : error LNK2022: metadata operation failed (8013118D) : Inconsistent ...

Build Process for a Visual C++ 2008 Express Project

I have a VS 2008 C++ project, with one very small and simple code file. I need to write an app to generate this file and build the project into a Win32 DLL. I will need to deliver a free compiler etc. with the app to my client, so I can't automate VS to do this. How would I best go about this? ...

Expose a collection of enums (flags) in Visual Studio designer

I've got an enum of types of data that might be shown in a .NET Forms control and I want to provide an interface for consumers of the control to filter some of the types (set some of the flags). A bit field seems the logical way to do this, unfortunately, the enum starts at 0 rather than 1 (0, 1, 2, 4, 8, ...) and can't be changed. How...

VS2008 insists on defaulting to "Itanium" for Active Solution Platform in C++

I just started using C++ VS2008, and downloaded an archive of samples from MSDN. The file is vc_samples.exe - sorry, don't have a link right now. My problem is, most of these examples would not compile. The Start Debugging button (green arrow) was disabled, with no explanation whatsoever from the IDE. More by luck than skill, I stumb...

What could be causing design view to be so slow?

With small projects, I can switch to design view almost instantly (< 1 sec). I have a large project that takes about 60 seconds to open a control or form in design view - for the first time only. After this 60 second delay, I can open any control in the project in design view almost instantly - until I recompile the project. If the ex...

Conversion Problem from VS2003 to VS2005?

Hi I am trying to convert a project from vs2003 to vs2005.after conversion completed some include headerfile.h statement missing and generates include "serialize" .how to fix this.even i copy and paste.it prompts for the source would be modified outside the environment msg appears. what can i do to fix this any idea??? Thanks in advance...

Visual Studio Stop Auto Update on References

I'm referencing a dll (ICSharpCode.SharpZipLib.dll) for my visual studio project from my bin folder, the version I want to use is 0.5.0.0. However, when I run the project, the dll gets replaced with a more recent 0.85.4.369 which is imcompatible with some of the libraries I've got. How do I stop Visual Studio from doing an auto-update ...

TFS query (in Visual Studio) to get all check-ins

Hi, I'm trying to get a list of all check-ins (limited / ordered by date) via the TFS query editor in Visual Studio Team Explorer. I can make a query that lists all bugs, sprint backlog item or product backlog item, but I can't find the actual check-in. Is it's possible or should I make (SQL) queries directly on the database. Ideas?...

Browser-Compatibility Testing with Visual Studio and ASP.NET apps.

I'm currently testing browser compatibility with IE7 for an app that I built initially for use with Firefox. The assumption at the time within our organization was that we could get everyone to use Firefox, but that's been called into question, so here I am. As a result, I have used many Firefox specific features and attributes that I ne...

Visual Studio Post Build Event - Copy to Relative Directory Location

On a successful build, I wish to copy the contents of the output directory to a different location under the same "base" folder. This parent folder is a relative part and can vary based on Source Control settings. I have listed a few of the Macro values available to me ... $(SolutionDir) = D:\GolbalDir\Version\AppName\Solution1\build ...

VS2008 Express Editions and Resources

Hi all, I am wanting to add resources (such as an icon) into a WinAPI based program in VC++ 2008 EE and am struggling. As there is no resource editor bundled with the IDE, is it possible? My Google searches all seem to related to C# or other managed environments. Thanks all, ...

Auto sync Design view with Source view in Visual Studio 2008

Is it possible to auto sync the Design view with the Source view instead of having to hit Ctrl+S or clicking the yellow bar after each change? ...