sln

GUIDs in a SLN file

Visual Studio Solution files contain two GUID's per project entry. I figure one of them is from the AssemblyInfo.cs Does anyone know for sure where these come from, and what they are used for? ...

Opening a VS 2003 C++ project in VS 2008

Found some old code, circa VS 2003. Now I have just VS 2008 (SP1) installed. When I try opening the *.sln file, it tries converting the projects. The report notifies me it was done successfully, but the solution is empty, marked with "project file was unloaded". VS 2008 doesn't even include opening a *.vcproj file. Does anyone have any ...

Why does one of my project's GUIDs change when I build the project in VS 2005?

For two of my VS 2005 C++ projects, VS wants to write to the .sln file when I build the projects. I have got a number of other VS 2005 C++ projects where this is not the case. It is a problem as due to the fact that we have ClearCase source control integrated with our VS 2005 installations and when we try and run an overnight build via...

How does one convert a Visual Studio .NET 2008 solution to Visual Studio .NET 2005?

Assume that a solution only contains classes and that those classes are all written to .NET 2.0 specifications. If that solution were to be opened, converted and saved in Visual Studio 2008, would it be possible to reopen the solution later in Visual Studio 2005 with some minimal modifications to the .SLN file? How would one go about d...

Can the working directory be set in the project (.vcproj) file?

I have a script that generates a .sln file and a few .vcproj files for visual studio 2005. I need to set the WorkingDirectory option but its specified in the .user file. A file we cannot currently generate. I found the vcproj file definition at msdn, but it seems that this option cant be set from there. How does one specify "Configura...

is it possible to generate Visual Studio solution files using StylusStudio?

Hello, i was wondering if it is possible to generate some kind of template that i give an xml or xsl file in stylus and generate c# code i made some .cs and works fine, but i couldn't with csproj and sln files, so, thats why i am asking i used to program dlls on c# is a n-tier programming ...

How to have different Project Dependencies for each Project Configuration?

I would like to have different Project Dependencies depending on which Project Configuration I'm currently building. For example, I don't want to build and link SomeTestLib.vcproj in Release configuration, but I'd like to build and link to it in Debug. One solution, that sorta works, is to use conditional compilation macros: #if...

VS2008: how to run two separate projects from the same solution

I have a single un-managed C++ console-app solution (.sln) with two projects (.vcproj) both are built as .exe. I want to run them both at the same time (one is a client and one is a server). How do I configure my Visual Studio such that when I hit a single button, say F5, it would be smart enough to run one after another, in the order th...

Msbuild and SLN unbindig

I want to unbind my sln file from TFS server and publish it on SVN is there any "easy" option to do this. It's easy to open sln and chose unbind option in Visual Studio, but does any one ever tried to automate this process? There is a solution to edit sln file using xmlpoke and deleting binding information, but is it safe? ...

How to programmatically build a visual studio solution ?

I would like to compile a solution by passing the solution file path (.sln file) and the build mode (debug, release). I do not want to call a command line process like devenv.exe or msbuild.exe, instead I would like to use an API and know if there were compile errors. Is it possible ? Please provide samples if you think you know how to ...

Build problems with Visual C++ project after checking in and checking out from CVS

Hi, I am building a cross platform product and one of the requirements is across windows(win32,AMD64 and IA61). The product as is relatively simple CLI but we have a separate build team who checks out the code from CVS and build in separate build environments. I am able to build succesfully(using Visual C++ 2005) in one platform(AMD ma...

VS2008 - Can't remove project configuration

I have a Windows Mobile/Pocket PC project in Visual Studio 2008 SP1. I have tried to remove an old build configuration "ReleaseCN3" from the solution using the Configuration Manager. I run the Configuration Manager, click on Edit, then highlight the "ReleaseCN3" configuration and click Remove. The configuration is removed from the lis...

Visual Studio 2008: how to avoid project file merge hell?

When you're working on a VS C# project with multiple developers which all add new projects and files to the same solution the last one to try and check in his changes gets conflicts on the project solution file which aren't easy to merge. The easiest solution to this problem I've found is to dismiss my own changes and accept the server'...

Is there a way to easily merge all files in all projects in a visual studio solution between branches in TFS?

The way I have setup TFS for our team is to have branches per environment. Contained within this project is multiple applications and libraries that logically group together. $/TfsProjectA/Development/Source/WebApps/WebApplicationA $/TfsProjectA/Development/Source/WebApps/WebApplicationB $/TfsProjectA/Development/Source/Libraries...

What is the delimiter name of a C# project file?

What is the file name "delimiter? name of a C# project file? I am not sure if "delimiter" is the right term. A solutions file ends as ".sln". How does a project file end in Visual Studio 2010? ...

VS corrupted .sln file?

When I try to open my .sln file, Visual Studio quits on me. I can open it by opening up TFS, getting a specific version, choosing the latest version, forcing an overrwrite, opening up the .sln file, and then ignoring an 'incompatible doc message". However, I would like to know what's wrong and how it can be fixed, in case some day I can...