projects-and-solutions

What is the best pattern for using same Log4net logger across many assemblies in a solution?

I have a solution consisting of a main winforms app, with associated internally written class library dll’s from which I wish to log. This logging should performed by the same logger, regardless of whether the main UI client or the associated dll’s call this. The dll’s may of course be used by other apps that have different loggers in ot...

How to create a Visual Studio 2008 C++ project template?

I've used the "Export Template" feature numerous times for C#, ASP.NET, WinForms, etc. projects. Today I tried to do it for a C++ project and noticed "Export Template" was grayed out in the File-menu. Is it not possible to create C++ template projects in VS 2008 ? ...

Visual Studio Solution to SCONS?

Is there any tool that can convert a large and complex* Visual Studio 2005 (or 2008) Solution into a SCons project? * Lots of projects and multiple configurations on multiple platforms/compilers ...

setup creation for web application?

hi2 everybody can u explain me that can i make setup of web application as i can do in windows application in .net , i want to make a setup for my web-project.. ...

Visual Studio Project Comparison

Guys, Is there a program or add-on to Visual Studio 2008 that will compare and show the differences in 2 solutions. I currently have 2 solutions, a "live" project and a new version of the project with some differences. I'd like a program that will compare the 2 solutions and show me the changes made. ...

Any pitfalls to working on a project created in a 'higher' version of Visual Studio?

I'm asking this specifically regarding Visual Studio 2008 and also the upcoming Visual Studio 2010. If we are given a project that has been created in an edition of Visual Studio such as Team Suite or Ultimate, and all we have to work with is Professional, would that interfere with us working with the project? I'm assuming the code woul...

How to undo "Create directory for solution" in Visual Studio

I have a c# project wrapped in a solution. When I created the project I wrongly ticked the "Create directory for solution" check-box. I would now like to relocate the .sln file to the same folder as the project. Problem is, if I just move it in (and change the project path inside with a text editor) I get all sorts of build errors when o...

HOWTO create a stand-alone executable per form for a C# solution in VS 2008 with multiple projects with multiple forms in a single build?

Hello, I have a C# based solution in Visual Studio 2008 for a given problem domain. This solution has 1 + 5 projects. The first project is for resources that spans across the other 5 projects. Each project has multiple forms. By default, the build generates one executable per project. What I want rather is each form, which has no mutua...

JSF - project structure examples

Is there any JSF CRUD project structure examples? I surfed the net to find some good and big JSF examples, but everywhere are only small projects with simple structure. I need JSF project example with CRUD, forms and reports. ...

When is it a good idea to clean a solution?

As the title says - what are your guidelines for when you should run a "Clean solution" on your visual studio projects? ...

Changing a project's files based on solution in Visual Studio 2008

In one C# solution I have several projects that share a CommonAssemblyInfo.cs file, so that certain assembly attributes are shared across all projects. This works fine so long as I only have one CommonAssemblyInfo.cs file. However I have several solutions (applications) which use these projects, and each solution has its own version of C...

How to add static content that needs to be shared between projects in a Visual Studio Solution

I have a C# Solution that includes several websites. Those websites have some communal data (e.g. images and shared jQuery extensions). Currently the data is included in each Project. Obviously we're running into sync problems and as those data directories are becoming larger, we're moving more and more data around. We could hard enc...

Is there a way to restrict specific references by folder within a Visual Studio project?

So the consensus is that reducing the number of projects in a Visual Studio solution can greatly decrease compilation time, which is clearly a good thing. We've done this with a big solution, but are running into hygiene issues where the IDE will allow circular dependencies between different logical layers of code because these layers a...

Easy way to add multiple existing .csproj to a Visual Studio Solution?

I've checked out a branch of C# code from source control. It contains maybe 50 projects in various folders. There's no existing .sln file to be found. I intended to create a blank solution to add existing solutions. The UI only lets me do this one project at a time. Is there something I'm missing? I'd like to specify a list of *.cspr...

Which languge is suitable for implementing speech recognition system and home automation system?

Hello! I'm pursuing my post graduation in computer science. I just wanted to ask that in which language actually we can implement the speech recognition system and home automation system(AC controller, Water controller,etc.). I know C,C++,Java,PHP! What extra knowledge will be needed? ...

c# modular executive dashboard opensource project

Hi, I am looking for a tool or project, preferably in c# that will allow me to easily make and create custom dashboards for various departments. I need to able to specify different datasources that will supply the info needed to generate the dashboard look and feel. Some of the datasource will be sql database, others are wcf or asmx w...

IntelliJ IDEA 9.0 - unable to select project SDK for Grails application

I'm convinced that I'm just having a bad day and missing something obvious. I'm trying to create a new Grails project in IntelliJ IDEA 9.0 and I am unable to associate it with an SDK. I've tried creating a project from scratch and creating a project from existing sources. In either case, I get to the "Please select project JDK" screen...

How to copy a disorganized Visual Studio solution?

Hey. I've a very large C# solution, with many projects that are messy in many locations in my computer. I want to send the solution to a friend. Is there any tool to copy the solution to a new directory, with all the projects in it, cleaned and organized? Thanks. ...

altering Visual Studio's Clean Solution option

As a post-build event for some of my projects, I have documentation copied from directories like bin\Project\Debug to a central doc\ directory in the root directory of my solution. When I do a Clean Solution, I know bin\ and obj\ files get deleted, but I would like for another event to happen to delete cruft from my own doc\ directory. ...

Keeping all Visual Studio projects in sync with a library

Scenario I have a Library that contains Projects A, B, and C. I have two solutions. Solution 1 includes a copy of Project A, and Solution 2 includes a copy of Projects A and B. When I build Solution 1, here's what should happen: When I build Solution 2, here's what should happen: How can I do this? Is this something I cou...