projects-and-solutions

How can I maintain a VS 2005 solution in Visual Studio 2008?

I've been tasked with maintaining a Visual Studio 2005 solution but I only have access to Visual Studio 2008. Whenever I try to open the old solution in Visual Studio 2008 then the IDE is keen on converting the solution to the new version. What exactly happens during this conversion and is there a way to stop it (since I need to delive...

Visual Studio 2008 switches active project in solutions

I don't know how it happened, but for about a week now Visual Studio keeps switching the active project everytime I move between files (of different projects) in the same solution. Of course when I press F5 to start debugging or Ctrl+F5 to run the tests, it tells me that it can't start because the class library can't be started directly....

Reasons not to code a program?

Let's play the devil's advocate: what would be the reasons you would give management NOT to code a solution, but purchasing an expensive package? ...

conditional assembly references based on solution

I have a rather large solution consisting of about 10 different projects. Until now we have shipped the entire solution as a whole to customers, but we are looking into shipping a stripped version of our software. To this end I would like to exclude several projects from the solution. I know that you can prevent projects from being buil...

Find all .rpt files in VS solution

I would like to search my VS 2008 solution and return back all files of .rpt files. If possible, I would prefer it to be in code. I'd love to iterate over these files. (This is for some maintenance of a solution that I inherited and has a lot of unreferenced code which I am attempting to clean up) ...

Disadvantages and Advantages of separated projects/DLLs in .NET? How many of them are too much?

The question involves some other related questions, I'll just throw every single on of them feel free to answer one or many of them. What are the advantages of separating Projects/DLL? What are the disadvantages of separating Projects/DLL? If I create a new solution/DLL for every shareable resource, isn't going to be lots of projects? ...

DLL mess in .NET, how to split one solution to multiple DLLs?

I've got a big VS.NET project with 5-6 projects and one of these projects is the Core DLL. Now to add some plugin support I extracted an interface, however interface was required to use some other classes and the Core.dll needed the interface so I had to separate them. (I can't reference to each other) After this my day ruined because ...

What is a sensible structure for multiple-language project in source control?

At work we're developing a large-scale application with quite a few front-end, back-end and support components. Typically the front-end is developed in C# and the back-end is developed in Java, although parts of the back-end are also developed in C# and possibly later C++. The choice of language and platform is not arbitrary; we try to ...

Looking for a set of tools/objects to start a website in PHP

Looking for a good set of base objects to start a website up in PHP. I am not looking for links to CakePHP as I am not interested in frameworks. I am looking for a set of objects that would come handy to start off with for new projects... Objects such as: Loggers MySQL wrapper object etc Basically a "Start with this", I remember s...

How should SharePoint Visual Studio projects that share each other's code be managed?

My SharePoint Visual Studio solution structure currently contains these projects: Common: contains extension methods, helpers, frequently used controls, etc. Logging: would normally be included in Common but contains calls to native methods so marked 'unsafe' Site-specific project: one for each distinct site, containing features, web p...

How to create multiple projects at the same time by using Visual Studio Integration Package?

I need to create custom Visual Studio template by using Visual Studio 2008 SDK 1.1. How to create multiple projects at the same time like Asp.net MVC project? Thanks, ...

How do you define a Makefile-style variable in a solution to be used in multiple projects (VS 2008)?

I am working in a Visual Studio 2008 solution with multiple C# projects and some C++ projects and want to use post-build events to execute some 3rd party vendor command line tools. These post-build events are needed in several projects. I can hard code the path names and other files needed on the command line, but I really would prefer...

Is there a master index for Visual Studio projects?

I have MANY small "Test Projects" where I put together just enough code to prove or disprove some idea I'm working on. Some time (sometimes several months) later, I need to use some of this code. It can take hours searching through poorly named folders to find the gem of code I'm looking for. It's not enough to be worth a Blog or wiki...

How to fix visual studio 'projects out of date' message each time I run it

I have a visual studio (2005) solution file with 70 projects. Each time I press F5 to run it, it tells me that 4 of the projects are out of date, and asks me if I want to rebuild them. It does this even though I have just done a full build. I understand (in principle) that one of the other projects must update something that these projec...

Drools related problem...

Hi I want to bring a little change in my site. So i have written a set of rules but I dont know how to fire them in the place that i want them to work i.e. the original code of my site.Can anyone plz help me on it? ...

Is there any way to edit VS 10 projects in VS 2008?

Hi. I worked for a friend's project in VS 2008. Now I upgraded it to 2010 version, I wanna send it back to my friend so he should be able to use it. Is this possible? ...

How to define project OutputPath in a solution file? (Or how to specify custom project properties in a solution file?)

How can I define project OutputPath in a solution file? <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugUse|AnyCPU' "> <DebugSymbols>true</DebugSymbols> <OutputPath>bin\Debug\</OutputPath> <!-- this --> <DefineConstants>DEBUG;TRACE</DefineConstants> <DebugType>full</DebugType> <PlatformTarget>AnyCPU</Platfor...

.NET - Programmatic alteration of Project and Solution files (.vbprog, .csproj, .sln)

We maintain a large number of .NET Project and Solution files by hand; it's ugly tedious and should be automated. The files are all XML, so writing a tool for our purposes won't be hard, but I was wondering if anyone knows of either a VS or TFS API object that would let me work with these files as objects without having to create my own...

Merges on IntelliJ IDEA .IPR and .IWS files

We keep our IntelliJ .IPR and .IWS files in our source control, but they keep getting modified by IntelliJ just by opening them, even without any work being done on the project. What are we doing wrong? ...

Visual Studio & compile performance issues for large number of files

Our current solutions/projects have several classes combined into one file, I'm told this was done due to the slow compile times in VS. Is this a confirmed problem and solution? Can we break these apart now that we are using VS2008 Team system? Has anyone else separated the classes into different files and still had good performance? ...