projects-and-solutions

How do you organize your version control repository?

瘦欲@ 提交于 2019-12-17 04:09:32
问题 First, I know about this: How would you organize a Subversion repository for in house software projects? Next, the actual question: My team is restructuring our repository and I'm looking for hints on how to organize it. (SVN in this case). Here's what we came up with. We have one repository, multiple projects and multiple svn:externals cross-references \commonTools /*tools used in all projects. Referenced in each project with svn:externals*/ \NUnit.v2.4.8 \NCover.v.1.5.8 \<other similar

More on: Help Structuring VS2010 Solutions/Projects and TFS2010

馋奶兔 提交于 2019-12-13 21:16:40
问题 This is a follow-on post to our previous post (Help Structuring VS2010 Solutions/Projects and TFS2010). We have a few questions regarding how to structure our VS2010 solutions and projects for best organization, as well as to save in and use TFS2010. Currently, our code is structured something like: /OverallAppName OverallAppName.sln -/Client - -/WindowsFormsProject1 WindowsFormsProject1.sln - -/WindowsFormsProject2 WindowsFormsProject2.sln -/Components - -/ClassLibrary1 (common library

How to turn off encrypting of .sln files in Visual Studio on removable drive?

青春壹個敷衍的年華 提交于 2019-12-13 19:20:37
问题 Problem description: (occurs at least in VS2005 and VS2008, not tested in VS 2010) If project (e.g. .csproj) or solution file (.sln) is opened from removable drive, and something happens ... seems like if drive is disconnected without safe removing, or if computer crashes or if VS crashes, then project and/or solution files got encrypted. It seems like Visual Studio encrypts project files when opened and only decrypts them when Visual Studio or project is correctly closed. If something

Changing Visual Studio default path for .cpp, .h file

不问归期 提交于 2019-12-13 14:27:28
问题 I would like Visual Studio to automatically put my .h file in a folder /ProjectPath/include and my src file in /ProjectPath/src. That way, if I use the "Create class wizard" for instance, it would put the good path by default without me having to change the folder. Anyone know what setting I should change to get this behaviour when I add file ? Thanks, Jean-Philippe 回答1: You can right click on a folder in solution explorer and go to properties, you need to set the Filter property. For example

What is a sensible structure for multiple-language project in source control?

不想你离开。 提交于 2019-12-13 13:40:53
问题 At work we're developing a large-scale application with quite a few front-end, back-end and support components. Typically the front-end is developed in C# and the back-end is developed in Java, although parts of the back-end are also developed in C# and possibly later C++. The choice of language and platform is not arbitrary; we try to weigh the relative merits of each in development time, tool-chain cost, familiarity with the language by the specific development team etc. What all these

Determine the source of an indirect dependency on incorrect .NET Framework version

此生再无相见时 提交于 2019-12-13 12:24:44
问题 I would like to know how I can determine the source of this build error; Warning 4 The primary reference "MyNamespace.MyProject" could not be resolved because it has an indirect dependency on the .NET Framework assembly "System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which has a higher version "4.0.0.0" than the version "2.0.0.0" in the current target framework. MyNamespace.MyOtherProject I understand the meaning of this error (and the 5 others like it for this

VS2012 not detecting external changes

人盡茶涼 提交于 2019-12-13 06:12:16
问题 I got this weird issue, when I make external changes on files (like removing a file or make new ones), Visual Studio 2012 (Ultimate) doesn't detect the file changes. Right now, I deleted ~15 and copied a lots of new files in windows explorer, but in my solution, it shows the old files and says there is an issue with them. I turned on "Tools"->"options"->"Environment"->"Documents"->"Detect when file changes outside..." and the one under it. Doesn't help. (Right now, I am working on an MVC4

Guidance on solution and project structure

梦想的初衷 提交于 2019-12-12 18:56:46
问题 I now have to deal with a whole lot of very badly structured solutions and projects. My first bugbear is solution files within project folders. To me this smells very bad, as projects are subordinate to solutions, and maintaining a healthy solution folder structure should not rely only on the solution file contents, but should be implicit in the actual Windows folder structure. I would like to propose a standard for use by me and my colleagues, and in this suggest a truly hierarchical

Sharing user controls acrros multiple websites

℡╲_俬逩灬. 提交于 2019-12-12 12:28:58
问题 I am currently working on a project which involves three different websites with a lot of common functionality. At the moment the common functionality is placed in a different website full of user controls. The problem is sharing the user controls across the multiple websites. Looking around on SO and other websites, the only solution seems the be using virtual directories. As this is a workable solution (we us this at the moment) it doesn't seem as a "clean" solution. Which "best practices"

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

孤人 提交于 2019-12-12 10:33:31
问题 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 point to the solution directory (e.g. Configuration Properties >> Debugging >> Working Directory = $(SolutionDir) ). This works fine when i'm debugging on my own