visual-studio-project

Visual Studio C++ project management. How do I handle non-code files in a project?

I have a project in a c++ solution. For that project, I have some config files that I would like to manage from within the project and when I build the project, have those config files added to the executable build path in the proper directory structure. Example: test.exe references config/myconfig.txt Is there a way to setup myconfig...

Team Foundation Server - Cannot add new project

I am logged in as administrator I click on add new project on my TFS Server. I give a name to the project than select a process template for the new Team Project ( the process template is MSF for Agile Software Developement - v4.2 and it is just downloaded for the microsoft website it is not modified . I uploaded it to the TFS Server Te...

Build Visual Studio Projects from Jamfiles?

Anyone know of a way to create Visual Studio Projects from a build based on Jamfiles? I'd settle for a jamfile -> XML-or-some-other-intermediate-format exporter tool, so I could write my own. ...

Creating setup project with single output file (Visual Studio 2005)

I'm using visual studio 2005 Setup project to create an installer for my application. The outputs of the setup projects are: - Setup.exe (a bootstrapper which makes installed .Net framework if it doesn't exist) - .Net framework folder (for installation by the .exe above) - .msi installation for my project (called by the setup.exe) My qu...

Setting up a build dependency without using a reference?

All: I am working on a solution where one of the projects is actually plug-in to the main exe that the solution builds. Since this one project is a plug in, it's wrong to reference the plug-in from the main exe (that assembly isn't guaranteed to be present in a deployment, it's optional). So here's my problem: If I modify code in my pl...

How to upgrade IIS 6 web app, so it opens in visual studio on machine running IIS 7.

My web apps created in VS 2008 on Windows Server 2003, refuse to open in VS 2008 on Windows Server 2008. "The Web Application project 'MyProjectName' is configured to use IIS. To access local IIS Web sites, you must install the following IIS components: IIS 6 Metabase and IIS 6 Configuration Compatibility Authentication". I want noth...

What are the registry keys that detects an installed application?

This application is not working right now, and i want to remove it, to install another one. The problem is that the uninstall/repair is not working because he's not able to find the service to remove(i don't know what the user did to end up in this state where the service has been removed, as well as the service installstate file could n...

How can I access the currently opened project's types(classes) from a Visual Studio add-in?

How can I access the currently opened project's types(classes) from a Visual Studio add-in(be able to create instances of those classes within the add-in)? Is this possible through reflection? Or maybe dynamically include the project's assembly as a reference? What I'd like to have in the end is a list of all types accessible from the p...

How to automatically include generated source files into a C# project in Visual Studio?

I have a situation where I need to generate a bunch of C# code files in a prebuild step of a project and include the generated files into the current project for compilation. Is there a way to do this cleanly without having to muck with the project file every time the prebuild step is run? My solution should work for both IDE based buil...

VS 2010 Database Project - Different Connections

I have an application that I'm developing in Visual Studio 2010 that utilizes a SQL Server database. As such, I am using a VS SQL Server 2008 Database Project. The database project requires a target connection for which is used to build the database. Problem: This project is under source control for a team of developers and a build s...

Bad to leave unused default assemblies in the reference folder?

There are usually some that I don't use in whatever project I'm working on (System.XML, System.XML.Linq for example). Are there any drawbacks from leaving default assemblies that I won't be using in my project? ...

How to enumerate C# project files and update the header of a file?

Can somebody help me on enumerating a C# project files and update the cs file headers in Visual Studio 2010? Any helpful code snippet or a pointer to that would be highly appreciated. ...