projects-and-solutions

Visual Studio - Extension to manage loaded and unloaded projects

I'm pretty sure I've seen a visual studio extension that allowed to manage loaded and unloaded projects in a solution. For example you could create a group X that would contain projects A and C and a group Y that would contain projects B and C. When selecting a group, it would load/unload the appropriate projects. Did I dream that t...

Converting between Dev C++ and MSVS projects?

Hello I was wondering about converting between Dev C++ and MSVS projects. I was specifically wondering about the rc files. Are they different formats. I have a project that was made in Dev C++ and I would like to open in in MSVS2010. The linker settings are all set up properly, but the RC file seems to not want to straight-out convert. ...

Place all output dlls in common directory from Visual Studio

I have a couple of different solutions, in which some projects may depend on output from projects in other solutions. To manage this, I've been copying dll files from the /bin/ folder in each project to a shared library location after build, and then copy/reference them from there to the dependent project. However, as the library soluti...

How do I remove a project reference from a website project in Visual Studio?

So if I have website project Foo which has a reference to class library project Bar, how do I remove that reference? Thanks David ...

References of ALL Properties MsBuild

Where is a complete reference of ALL MsBuild properties ?? Like this $(OutDir) $(OutputPath) $(TargetName) $(TargetExt) ... ...

Is there any way to create a blank solution (.sln) file first and then add projects?

Visual studio has always annoyed me because (to my knowledge) you cannot create a solution first and then add new/existing projects to it. The only way I know how to create a solution is to create a project and specify the solution name for it. So, is there any way to start with a blank solution (.sln) in visual studio (any version)? ...

Use $safeprojectname$ (Template Project) in msbuild targets

Hi, I have a VS2008 Template Project. This project has a script.targets (MSBUILD). I want that when I create new project from Template Project, I use $safeprojectname$ value in my targets file. is it possible ?? sample MSbuild targets <Project InitialTargets="Install" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt; ...

Conditionals in Visual Studio 2010 Project files

In a Visual Studio 2010 C++ project file, is it possible to use conditionals to determine the presence of a library, and alter preprocessor flags, etc appropriately? To be more concrete, say we have a directory C:\libraries\MKL, i would like to #define MKL and add mkl_dll.lib as an additional dependency if that directory exists. Previo...

structure of an asp.net solution

I am in the beginning stages of creating an asp.net solution with 3 very different areas. I will have a client area, a client admin area, and an internal admin area. Each one of these areas is significantly different and there would be not be overlap in functionality. I was thinking of structuring the solution as follows: Client (Pr...

Voice recognition : voice driven control

Hi all, Few days ago i asked for a project idea for my B.tech Final year project. Unfortunately couldn't got any cool idea. Now I have got an idea which really pleases me and motivates me. I want to ask to intelligent guys out there is following thing is feasible in 5 months: The Project idea is : "A Voice Driven Controlling of The...

Sanity Check: Managing Visual Studio project references with source control

Hi everyone, I've been asking, searching, rating and reading for about a week now trying to get a decent source control process up together and my major stumbling block has been references to projects in other repositories and managing third party libraries. This was compounded by conflicting views on whether to store binaries in the s...

Best way to work with multiple projects / solutions in Visual Studio?

Currently I have 4 solutions that are independent projects, however there is quite a bit of duplicated code when it comes to a few areas of the applications. At the moment it is simply a few forms and their associated code. When I want to change or improve something, I have to copy and paste to all relevant projects. I looked at creat...

Best practice to share projects between solution trees (MSVS 2008 & MSVS 2010)

We have 50+ projects divided into 2 solution trees managed by TFS (Version: Visual Studio 2008 / TFS RTM (9.0.21022.8)). 30+ projects are Visual Studio 2008 projects and others are Visual Studio 2010 New projects use some older assemblies via references to binaries. During developing new projects we have to make changes into older a...

Visual Studio - Configure Startup Projects

I have a solution which includes a WebSite, a few Code Libraries, a WCF Service and a project that hosts the WCF service, which is basically just a web application with a .svc file in it. The problem is that when i run the website, both the WCF Service and the WCF service start on two different ports. I would need only the WCF Service ho...

Custom common target to build a solution

I created a custom common target "RealClean" which remove every files in the output and "intermediate output" directory. I put it in the Microsoft.Common.targets file. When I run MsBuild on my csproj everything is fine. But when I run MsBuild on my sln (which just references a list of csproj) I have the following error error MSB4057: Th...

How to handle Class Library/Solution/WebProject in MSBuild 2.0 and CrusiseControl.Net

I am working on CI tool CruiseControl.Net and MSBuild. I have many .csproj,.sln files and web projects (more than 30). We have 30 developers and they work on multiple projects in any given time. As of now, the developer do not release .sln and .csproj files for build. Now my question is how to handle build file as : 1. Since devel...

How can you debug across projects in VB.Net if one launches the other?

I have a VS 2008 Solution in VB.Net that has 2 projects - a Launcher and the App. The Launcher is what runs first, checks to make sure the App has all the latest files from the network, etc. and then launches the App. The Launcher allows the user to select their environment (Test, Production) then passes those values into the App.exe a...

Anyone know where I can find some good MATLAB exercises with solutions?

I've been looking around and I can find plenty of tutorials and videos, but I find that the best way to learn something is by working through practise problems. Even better when there are solutions. Something like projecteuler.net is good, but I need something which is more specific to MATLAB and will allow me to master all the basics o...

How to structure a utility/companion project in a multi-project solution

Let's say I have a Visual Studio solution with a Web project, a BLL project, and a DAL project. I'm trying to follow the repository pattern keeping my SQL code in the DAL with an interface that is referenced by the BLL. I have a handful of common solutions for things such as error handling, usage logging, and other things that can be c...

ASP.NET website still looking for old name of renamed referenced assembly

Hi all I have a solution with a website and a class library. I have renamed the class library project from Insight_WebControls to Insight.WebControls. I have also renamed the assembly it produces in its properties. I have removed from the website's references the old class library and added the new. However, when I try to build the we...