projects-and-solutions

Is it possible for programmer to analyze unknown code fast?

Hello, I got a task related to ANCIENT C++ project which hasn't any documentation, comments at all and all code/variables is written in foreign language. Do I have a chance to analyze this code in a 1 working day and make a design/UML to create new features? I have been sitting around for 3 hours already and I feel so frustrated... Mayb...

Visual Studio solution structure using Codesmith frameworks (NetTiers / Plinqo)

I have been using the Codesmith framework NetTiers to generate a DAL etc., into a folder called, say, 'NetTiers', outside my main project's folder, and referencing the DLLs within that folder from my main project. I've started using the Plinqo framework, and want to use the generated files from that framework within the same project as ...

C# Class Methods Only Callable from certain Projects?

Hi All, This may not be at all possible but I thought I'd get your responses before we gave up the Idea. We have 3 main projects all in one Solution: Interface, Logic, and Data Access. The Data Access Project contains all the Object Classes with their variables and methods. The Logic Project contains classes that hold logic methods and...

Is it a bad idea to add a period to a .Net solution file?

If I was using a "Partitioned Single Solution" strategy to build my .Net projects and solutions, could anyone comment on, or share any experiences about why it would be a bad idea to include dot notation in my solution names as such...     master.sln     master.sub.sln ...also let me know if you think it's a good idea? Please note that...

Sharing code between projects without svn:externals

In order to simplify the build process, I've been trying to reorganize my version control repository. I am developing a simple client-server application. Following Rob Williams' advice, I have separated the client and the server into separate projects each with their own lifecycle. The problem though, is that client and server share som...

How do you convince upper management that something can’t be done?

When you are employed as a developer, you usually don’t get a chance to choose on what you will work. It might be a new application that must be written, it might be an old one that needs maintaining, or it might be a legacy system in which you have to plug holes just to keep it at float. Whatever the case, there is one thing that is al...

How can avoid having a solution specific hard coded macro in Visual Studio?

Background I have a macro AttachToRemoteProcess that I use to attach the debugger to a running process on a remote computer. The macro use hard coded names for the process and the computer. I use the macro from a toolbar button on a custom toolbar. I consider this a sub par solution and I don't really like to have such a macro in my Vis...

asp.net web application with c# & vb.net both in codebehind

We currently have a asp.net website with some modules developed in VB.Net & some in C# (not just classes but also individual aspx pages and code behind). We figured we wanted to move to web application model as we need to implement CI with TFS. The problem : When we create a C# web application, copy the files from website & say convert...

C# What is my best option? Service/Application/Multiple Applications

Hi, I am developing a solution that requires a number of tasks to be completed at various times. Example: Task 1 - Monitor mailbox, process mail items Task 2 - Monitor mailbox (different folder), process mail items Task 3 - Generate PDF reports Task 4 - Monitor folder, distribute files via email as attachments when new ones arrive. ...

How do you add new projects to a Visual Studio Solutions file?

Hi All, I want to know how we can add projects in single solution file. When I create the solution and try to add projects in it, the solution file is not visible. How can I add projects/websites to the solution file? ...

VS2008 build multiple configurations of the same project

I have three solutions which build two clients and a server, and share many libraries. I would like to be able to combine these into a "master" solution that builds all the necessary projects. For various reasons, which perhaps deserve a question of their own, some of the shared libraries are linked statically (.lib only) to one applic...

How many projects in a solution is too many?

How many projects in a single solution is acceptable? And for those apps that have large project numbers do you put the other compiled dlls in some common folder to be able to run the app? ...

Should interfaces be in a separate project from their implementation?

My question isn't so much about use of interfaces but more of a project organization nature. Note: I am using VisualStudio in a multi-layered application. Should my Interface files live in a separate project from their implementations? My initial thought is that it would be useful to separate out all my service interfaces into their ...

No templates available when creating a new project in Visual Studio

"No template information found. See the application log in Event Viewer for more details. To open Event Viewer, click Start, click Control Panel, double-click Administrative Tools, and then double-click Event Viewer." That's the error message I get when I try to create a new project or solution. How can this be resolved? ...

How do you structure your ASP.net sources in Visual Studio?

Do you have one solution with the web application project, class libraries, database project and tests? Or, do you segment it into multiple solutions? Why? I'm asking because we're trying to streamline this scenario for Visual Studio 2010 and I'd like to get input from the community on how you'd prefer to work. ...

Should a Visual Studio project be contained in more than one solution?

Note: This is for a shop that works in C++, C++/CLI, and C# with some products being delivered as a combination of all three. We currently have a rule that a project should have one and only one containing solution. The rule was originally instated because the source control plug-in for Visual Studio was unable to cope with projects tha...

Visual Studio Solution behavior in XCode

Is it possible to have multiple projects in one xcode project all accessible for simultaneous development? Specific situation is to have an application and middleware library under simultaneous development in XCode: all source is accessible for modification (both app's and lib's) but library code is building into library and linking to ...

.NET solution - many projects vs one project

Hi all, We currently have a rapidly growing C# codebase. Currently we have about 10 projects, split up in the usual categories, common/util stuff, network layer, database, ui components/controls etc. We run into the occasional circular dependency where project x depends on something in y and vice-versa. We are looking at maybe collap...

Group commonly used solution items by function VS add-in

I am working i a big solution with much projects and items. It would come in very handy if there was an add-in in visual studio where i can group some items together according to their function. that way when i work on a specific functional task i can immediately see all items that i need. Simple example: I have a MVC project with -Cus...

Error in Properties of .net Project & Designer file is locked.

Designer file is locked and when go to project properties it gives this error. An error occurred trying to load the project properties window. Close the window and try again. The CurrentContext property of the LicenseManager is currently locked and cannot be changed. .net framework 3.5 VS 2008 ...