projects-and-solutions

What are the project GUIDs in a Visual Studio solution file used for?

I have multiple projects in a single Visual Studio (2008) solution. I just discovered that each of these projects uses a same GUID, so in the solution file it looks like this: Project("{FAE04EC0-F103-D311-BF4B-00C04FCBFE97}") = "Pro1", "Pro1\Pro1.csproj", "{...}" Project("{FAE04EC0-F103-D311-BF4B-00C04FCBFE97}") = "Pro2", "Pro2\Pro2.csp...

Move type from one project to another via Resharper?

I have several interfaces and classes that i have in my business layer project and i want to move them into a brand new project. I am using Resharper 4.5.2. Is there any way I can do that easily and with no pain? I know about the move type functionality, but it seems like it will only do it within the same project. Any help would be ...

Whether Serialization or Database?

Hi, I'm developing an application via which one can send sms by directing it to sms server. My problem is I'm supposed to store the messages sent with date,time and also with the names of users to whom the message was sent. What should I use to save that? database Or I should think f 'serialization'? Later on I'll have to display the re...

Methods of managing source code

I've written a fair amount of software over recent years, most of which all tend to share one or more common libraries. (The most common library, being one that I use for calling SQL stored procedures and returning arrays of objects) I'm not happy with the way I manage the libraries, and I'm looking for suggestions to improve the way I ...

Reference to Library Binary - Debug or Release version?

I asked a question earlier today (Methods of Managing Source Code) as I've been unhappy with the way I manage my shared libraries' source code. As a result of the answers posted, I have found a better method. I'm now working through my repository tidying up all my source code, however as a result I now have another question... Whilst I...

F#, namespaces, modules, fs and fsx

I'm aware of other questions about modules and namespaces in F#, but they're not helping me right now. I've got a project with Utilities.fs namespace Company.Project.Namespace module Utilities = //stuff here Functions.fs namespace Company.Project.Namespace open Utilities module Functions = //stuff here And I'm tryin...

In a C# solution, Where do you declare solution-scope enums ?

In a C# solution, Where do you declare solution-scope enums ? ...

TFSBuild/MSBuild and Project Reference vs File Reference

We Have a large VS solution using project references which is build by TFS Build like so: Solution - Project 1 - Project 2 - Project ... - Project N Because the solution is too large we have several smaller solutions which we use day to day: SubSolution - Project 1 - Project 19 The problem is that developers working on SubSolution ...

What is the main purpose and sense to have staging server the same as production?

Hi, In our company we have staging and production servers. I'm trying to have them in state 1:1 after latest release. We've got web application running on several host and many instances of it. The issue is that I am an advocate of having the same architecture (structure) of web applications on staging and production servers to easily ...

Where to put my xUnit tests for an F# assembly?

I'm working on my first 'real' F# assembly, and trying to do things right. I've managed to get xUnit working too, but currently my test module is inside the same assembly. This bothers me a bit, because it means I'll be shipping an assembly where nearly half the code (and 80% of the API) is test methods. What is the 'right' way to do t...

Working with Visual Studio 2005 projects in Visual Studio 2008

Hi everybody, I've received a new computer from my employer. This time I don't want to maintain several versions of Visual Studio (although I know they work great side-by-side). Can I work with an ongoing VS2005 project in VS2008? By 'working' I mean the ability to open, modify, and save back to the original format. Any ideas? ...

Visual Studio 2010 RC: Build Solution no longer does anything

I don't know if this is a bug or if I've done something weird to my solution, but when I go to build one of my solutions, nothing happens. I've tried the keyboard shortcut, the right-click menu option (as well as the re-build solution option), and the Build >> Build Solution menu option. There's no response, regardless of if my code shou...

Visual Studio 2008 marks solution files as version 10.00

Hi After trying out VS2010b2 also my VS2008 installation changes the versions of solution and project files to "Version 10.00". The MSBuild.exe on our CI Server does not support them. Is there a way to make VS2008 generate .sln files with version number 9.00 again? I know I can fix that manually. But each time I open a solution, the ve...

About the leading newline in Visual Studio solution files.

Sometimes, for unknown reasons, VS 2008 creates solution files led by a newline. Microsoft Visual Studio Solution File, Format Version 10.00 # Visual Studio 2008 [...] This happened on various machines, and I have no idea why this is. A Google search did not yield any useful results. Now, why do I worry about this? Because I can't ...

How do you remove/clean-up code which is no longer used?

So, we have a project which had to be radically descoped in order to ship on time. It's got a lot of code left in it which is not actually used. I want to clean up the code, removing any dead-wood. I have the authority to do it and I can convince people that it's a commercially sensible thing to do. [I have a lot of automated unit te...

Handling changes in an interface shared across multiple solutions?

Our "main" solution is the development code: shared libraries, services, UI projects, etc. The other solution is an integration and automated tests solution. It references several of the development projects. The reason it is separate is to avoid interference with the development solution's unit test VSMDI file. And to allow us to play w...

Can I use classes and controls from main project in other projects within one solution?

How should I divide source files into projects (within one solution) to be able to use common classes in more relatively independent apps, avoid lots of dlls needed (preferably all in one file for each application), keep it fast? There are working (data processing) classes, User controls, some utility classes and Forms of the ap...

Delphi: How to set the default project in a project group?

i have two projects in a project group: ProjectA ProjectB Whenever i open the ProjectGroup.bpg in Delphi, it always starts with the 2nd project as the active one: ProjectA ProjectB And every time i have to flip it to the the "real" project: ProjectA ProjectB How can i make ProjectA the default project that opens with the proj...

Is there a suggested solution structure for ASP.NET MVC Production Apps

In general, I don't like to keep code (BaseClasses or DataAccess Code) in the App_Code directory of an ASP.NET Site. I'll usually pull this stuff out into a MySite.BusinessLogic & MySite.DataAccess DLL's respectively. I'm wondering should I be doing the same for ASP.NET MVC. Would it be better to Organise the solution something along t...

Problem: .vbproj the project is not supported by this installation

Possible Duplicate: .vbproj the project is not supported by this installation I have visual studio 2008 installed in my pc when I try to open a .Net 2005 Solution with multi-projects, there are project in vb and c#. The only web project on this solution display the following message: .vbproj the project is not supported by th...