projects-and-solutions

What is the way to maintain database indexes in files

I'm writting key-value storage for milions of documents - for study and fun. I added default b-tree indexing on key but of course there is no way to load all indexes to memory. For now storage have two types of files data (not ordered key-value records) and index (no efficient conception for search, adding and deleting). In b-tree obje...

Git branches don't preserve loaded/unloaded project state in Visual Studio solutions

I'm surprised to find that the loaded/unloaded state of my Visual Studio (2008) projects is not maintained when I switch between git branches in which one should have all loaded and one should have some unloaded. I thought this was maintained in the .sln file, which would be versioned in each branch, but that seems not to be the case (....

Changing the "debugging / working directory" globally (not per-user) in VS2008

I have a C++ solution in VS2008 with multiple projects. This solution contains files that are needed at runtime, which are loaded according to a path relative to the solution directory (e.g. "Testing/data/" + "dataN.bin"). In order for this solution to work, I must set the working directory setting in the project(s) so that it will poin...

Versioning and Solution Structure in Visual Studio

I have a system that has three applications (one windows application and two web applications). These applications all share two assemblies in common. Therefore, I have 5 projects in total. In the past, I have had a separate solution for each project. This allowed me to version each assembly individually in source control. However, ...

Visual studio solutions with large numbers of projects

I see developers frequently developing against a solution containing all the projects (27) in a system. This raises problems of build duration (5 minutes), performance of Visual Studio (such as intellisense latency), plus it doesn't force developer's to think about project dependencies (until they get a circular reference issue). Is it ...

how to best change directory structure (of sln and projects) in a c# project

Hi all, I’m working on a c# project, lately we decided to restructure the directories structure of the source code. I’m doing the restructure and wanted to ask you some questions about what is the best way to conduct the change. The restructure is basically changing the current directories of all the projects to a more structured and lo...

Visual Studio 2010 not saving changes (new source files added, project settings, ...)

We have converted our C++ projects from VS2005 to VS2010 Professional and when we add a new source file to the project or change any project setting, we try to compile (F7) or Rebuild All and the changes are not applied. We have to close solution and re-open it, or either close and open again Visual Studio to make changes aply. After clo...

How to choose a name for projects in solution?

Maybe that's silly, but I'm confused again when trying to find appropriate names for my projects. I have a solution with two projects. First project is a library, which will be used by other libraries in the future, for creating plugins for my app. Second project is a exe, which uses first project to create GUI and do some stuff, eg. lo...

create new language project item in visual studio

I have created a custom template using vsz and vsdir files and can make it appear under visual studio 2005 New Project' Visual C# or Visual C++. But since the template is used to create a makefile type of project so I can use my own build system, I need it in a new folder like Visual C# or Visual C++. Does anyone know what I should do fo...

Svn externals and c# assemblies - incompatible?

Hi - something that should be so simple in .net seems to be oh-so-hard. I have a project called MyExtenders, containing a few simple extenders to basic types. Many projects use MyExtenders - and so in traditional svn checkout and build approach I add MyExtenders as an svn:external with the revision locked to whichever it was last built...

Maintain C projects in Visual Studio 2010?

Hello! Do you know of any extension (desired free) for VS (or VCPP) 10 that adds C projects productivity (i.e. templates, headers control, syntax highlighting etc.)? Thanks ...

N2 CMS - where are the codebehind files?

I'm using the N2 CMS system for ASP.NET. Well I say 'using', I'm really just trying to develop a tiny understanding of it. One of the things that's obstructing me is that it's set up in a way I've not seen before. Where are the codebehind files for the pages? Can anyone tell me for example, where is the code for /Edit/default.aspx? How...

Managing internal 3rd Party Dependencies

We have a lot of different solutions/projects which are managed by different teams. Our solution needs to reference several projects that another team owns. We don't want to add these dependencies as project references because we do not intend on modifying that code, we just want to use it. Also we already have quite a bit of projects in...

What are these odd files added to my Visual Studio MFC project?

Hi, I have a visual studio solution where one of the projects has somehow acquired several .bin files. They are named bin00001.bin, bin00002.bin, etc... and contains some kind of registry information. The contents of these files are one section repeated a number of times. bin00001.bin: HKCR { NoRemove AppID { '%APPID%'...

Advice for a UI migration from Oracle Forms to JSP

Hi there! I'm starting a new project and would like some advice. The purpose is to migrate the front-end of a web application developed with Oracle in the back-end (version 9) and Oracle Forms 6.0 in the front-end to JSP. The layout must be the same and it's going to be developed also Web Services in the future. What advices and/or r...

(Django) The best solution for event calendar

I need to add event calendar functionality to my application, and I'm wondering what do you think is the best way to do it ? Are there any interesting projects providing the needed functionality ? A snippet : http://djangosnippets.org/snippets/129/ ? Write it on my own ? ...

VS2008 'Show all files'

Hi all, I wonder if anybody has any suggesting for an ongoing vs2008 frustration of mine. The chaps at Microsoft HQ, in their wisdom, have deemed that some project types are not worthy of the ‘show all files’ option on the project explorer. Database projects are an example of this. Does anybody know of a method (registry hack, etc) of fo...

.net - access files among different projects in a solution

Hi experts, I have multiple .net projects under a solution. Specifically, i have few content files like pdf's, word docs under an asp.net project that i would like to access from a windows application project. What's the best way to achieve this? ...

Visual Studio Project Files and Source Control Bindings

Hello, I am copying projects in one solution that is bound to VSS from one solution to another that is not bound (or shouldn't be). When I copy the original project and add it to the new solution, it's showing as checked in and VS is remapping the working folder in VSS; I want this new copy to not be bound to source control and not do ...

Is a solution with hundreds of projects dangerous or just unwieldy?

our main client solution has 111 projects. When I first started on this team I was surprised (and alarmed) that we had so many projects and recommended consolidating the tiers into less but larger assemblies. our structure has models (DTOs) with nhibernate mapping files, and WCF services tier with data controller calls, some framework ...