projects-and-solutions

Create a visual studio initial solution, with a tool or extension.

I found myself repeat on the same structure over and over again in all new projects. Is there a tool that I can use to create my own initial template? ...

Projects suddenly missing in C# solution.

Noticed a strange thing today. I'm working on a solution that has about 20 projects in it - mostly DLL, three WinFowms applications. It is several years old, was started under .Net Framework 1.1 and then successfully migrated under .Net 2.0 and is now opened in VS2008. Today I noticed that some of its projects just disappeared from the...

Visual Studio 2010 new project wizard manufactured MFC Dialog program doesn't compile in Debug Mode?

I've created a new project using the Visual Studio 2010's wizard. Once VS was finished generating the project I tried building it - in release mode it worked great, but in debug mode it didn't, giving the following compiler error: 1>------ Build started: Project: MyProj, Configuration: Debug Win32 ------ 1>Build started 05/10/2010 22:17...

Looking for Suggestions on Microsoft Visual Studio Solution and Project Naming Conventions

There doesn't seem to be any tried and true set of best practices to guide you on how to setup your solutions, projects and the assemblies they output. Microsoft seemed to have tried back in the VS.net days, but they have since retired this content. For every method I read about I read another that claims the opposite is better, or a pos...

Is there a simple way to switch between a project and it's dll

We often have a set of common core libraries that for some of our development we want to think of them as dll references and thus just reference the dlls and not include the project file. Other times we need all projects for an intimate debugging session. I can't just have Uber.sln and Core.sln as the references are in the project file...

Issue with Visual Studio loading a project in a folder that contains a .

Hello, I'm trying to open a project that has a folder called MyApp.ServiceHost and inside has a project called ServiceHost.csproj. The folder layout is sorta like this: SLN -> Services - -> MyApp.ServiceHost - - -> ServiceHost.csproj -> MyApp.OtherStuff Everytime I try to open the solution I get ".ServiceHost" is not a support proj...

How do I organize .NET solutions, projects, and system folders for multiple applications?

We are having a lot of trouble organizing our solutions in a good way. We have multiple applications. They are similar applications so a lot of reuse is done. Different apps include different capability depending on what our different customers will pay for. So, how do we go about organizing things? MSDN says to organize in the foll...

How to merge web.configs for ASP.NET MVC and plain ASP.NET app

Merging the web.config files of a legacy ASP.NET App and a new MVC app has pretty much defeated me. Is there a way I can build my solutions with projects sectioned off into subfolders? EG (each project to have its own web.config): ~/PlainVanilla/ /* original asp.net app - still some life in old dogs */ ~/PlainVanilla/StrawberryMV...

Visual Studio 2010 - How to use System Environment Variables?

Hello All, I'd really appreciate some help or ideas on a very frustrating issue. In my experience it seems that any time I need to organize or update my solutions/projects, I realize how buggy and poor the program actually is. I always end up having to find a hack or run into a nasty trial by failure that forces me start from scratch ...

simple C++ project samples

Hi there Im trying to learn OOP but I need to see some real case scenarios of using C++. For me, as a beginner in programming internet is too big and the book is too few examples. All I find on the source repositories are large projects or too few details. Can you give me a link to some c++ projects which are good for beginners? It wil...

Debug and Release configurations

As we all know, in Visual Studio there are two predefined configurations - Debug and Release. I have been using them since I started programming and soon learnt their differences. However recently I had to create my own configurations and now I have a question: Are those two configurations defined/determined solely by their parameters/op...

Why Visual Studio doesn't adds AspNetCompiler settings in solution file for configurations different from standard (Release/Debug)?

I have 3 build configurations for my solution: Release, Debug, and Custom. Also I have WebSite (yes, not a WebApplication) project type. By default, when you create WebSite VisualStudio 2008 adds to the solution file following sections: Debug.AspNetCompiler.VirtualPath = "/MyWebSite" Debug.AspNetCompiler.PhysicalPath = "MyWebSite\" Debu...

C#, TeamCity - Avoiding the post build events on the TeamCity server

I have a number of projects which I have outputting to a central repository of DLLs in my development environment. This is achieved by adding an XCopy command into the Post-build event command line of the project. XCOPY $(TargetDir)$(TargetFileName) C:\DEV\library /I /R /Y I want this to happen in dev mode but when on the TeamCity ser...

Is there a system that I can use to update my projects on my VPS?

Hey guys, So I recently got a VPS, just so I can start gaining experience. But I'm looking for a service/program where I can code on my PC, then when I'm done, I run a script or do a command or something to have it updated to my VPS. I thought I was looking for Git, but apparently git does not do what I'm looking for. Any suggestions? ...

the best or speedest way to understand uncommented and complex project

I have complex project without comments. The project is programed in Java but have more than one main class, use several .txt files like a template and use several .bat files. I don't know where to start and how to start discovering the project, because I need to make some changes in that project. ...

How (and when) do I use TFS with private DLLs that can also be served by NuGet/NuPack?

We have a couple of private "Enterprise Services" DLLS that are used in all our Websites for authentication, logging, etc. Since they are private, we also control the versioning and source of these DLLs. Our historic (error prone) steps after creating File | New Project include Add the "Enterprise Services" project Add a reference t...