projects-and-solutions

Configuring IntelliJ IDEA to create main class for new projects

A friend is just starting to learn Java, using IntelliJ. He asks how can he set up some template so creating a new project will contain a default main class. Currently, when he creates a new project, it has no source files, and he has to add a Run/Debug application configuration manually, and then select the main class. ...

visual c++: #include files from other projects in the same solution

Hi, I am working on a game using Visual C++. I have some components in separate projects, and have set the project dependencies. How do I #include a header file from a different project? I have no idea how to use classes from one project in another. Thanks ...

Linker errors between multiple projects in Visual C++

...

Suggestions for maintaining Visual Studio vcproj project files in version control

Microsoft Visual Studio uses XML to save its .vcproj project files. So diffing XML project files should be easily. Unfortunately, if you change any of the project file's properties, Visual Studio insists on randomly shuffling the XML nodes of the project file! This makes textual diffing and merging of project file changes basically impo...

msbuild SLN and still get separate project outputs?

I have a normal SLN file, and I'm compiling it fine with msbuild from the command line. I do this: C:\slndir> msbuild /p:OutDir=C:\slnbin\ And it dumps everything into C:\slnbin, except for websites, which get deployed to C:\slnbin_PublishedWebsites\. What I would like is to not only have all the binaries dropped in the bin dir, but a...

Converting Visual Studio 2008 project to 2003

Very blunt and to the point, but does anyone know how to convert a visual studio 2008 project to visual studio 2003, I'm meant to be delivering some stuff to a client and they only work in 2003. Sorry someone makes a very good point, what language, C# is the answer. I've done a bunch of searches on Google and tend to only come up with ...

Best way to organize dependant projects?

I have a set of projects that depend on other projects (you can say utilities), the problem is every time I change the code of any one of these utilities my colleagues need to take the latest code and build on their machines to use the latest assemblies. Is there a good standard solution? or simply centralized the dlls on a shared folder...

copy all files inside solution to another location after successful build

I'm working on Visual Studio 2008, C# and i have a solution which refers to 3 projects in the same directory. I want to copy all files and folders containied inside the solution to an another location after each successful build. How can i do that? ...

Problem with large solutions and service factory

My team is developing WCF services in Visual Studio 2008 SP1 with the Service Factory Modeling Edition. The problem is that we have so many services to develop and we've put everything in the same solution. 250 projects later, the solution barely loads and adding to it is nearly impossible. We thought it would be good to split out eve...

How to link multiple visual studio solutions together?

I have 3 solutions and solution A requires built versions of the dlls from solution B and C in order to compile. it is not possible to merge it to one solution... So far it seems that Visual Studio doesnt support solution references and msbuild is clever enough to know that you are building one solution from another etc if I try that wa...

Adding Existing Files To Project Externally Without Using VISUAL STUDIO 2008

Hi, My issue is copying *.cs files to my project using my own code generator program (like hibernate) So when my code generator program creates new .cs class I want it to be copied to project path and see it via VS2008 solution explorer. (Note: Normally you can copy files to project folder but VS2008 doesn't see it since you didn't use...

Best practices for large solutions in Visual Studio (2008)

We have a solution with around 100+ projects, most of them C#. Naturally, it takes a long time to both open and build, so I am looking for best practices for such beasts. Along the lines of questions I am hoping to get answers to, are: how do you best handle references between projects should "copy local" be on or off? should every p...

Building the DropThings ASP.NET Solution

Hi all, I'm attempting to build a project called DropThings but I am getting all these errors and I'm not sure how to resolve them. Can anyone lend a helping hand? I'm wondering if anyone else can build the website and if so, what steps it took you. Thanks in advance! Source Code: http://code.google.com/p/dropthings/ My Configurat...

Where is "Set as Startup" defined and persisted in C# winforms solutions?

I don't see it in the .sln file, which is what I expected. ...

Why is "Set as Startup" option stored in the sou file and not the sln file?

It seems like this setting should be stored in the solution file so its shared across all users and part of source code control. Since we don't check in the sou file, each user has to set this seperately which seems strange. ...

Assembly reference issue . .

I am getting this error when trying to build a winforms solution: The located assemblys manifest destination does not match the assemblys reference. ...

What's your typical structure of an ASP.NET solution?

As the title says, I'm interested to know how you typically structure your ASP.NET solutions. I'm especially interested in ASP.NET WebSite solutions, but information abut other types (WebApplication, MVC) might be interesting as well. Some specific questions: what/how many projects/assemblies does the solution contain how do you name...

Configuration Management with Subversion and SharePoint help

Ok, when hired on to my current company a year ago, I was tasked with migrating our development teams from VSS. They already had it in their minds that they wanted Subversion, and since I had experience using and setting up subversion, I was a good candidate. I first tried to sell TFS because it woul dhave solved the problem I am in ri...

Shared files between projects in Visual Studio

We have a web based system with three different front ends. We've recently splitted these into three projects, all in one solution. We also have a common project in the solution, for helpers and such. What i'm looking for is a way to put shared css, js and image resources in the common project to be easily accessed by all three front end...

DDD, NHibernate, and Project Structure / Naming

What do you recommend as the proper project structure for a WebForms solution that is utilizing NHibernate and trying to bring in some DDD concepts? Assuming the root namespace and solution name is Sample Sample.Domain - contains my domain objects and my mapping files Sample.Repositories - contains my repositories and nhibernate...