projects-and-solutions

How to make DerivedData or Build Location in Xcode to be relative to project

柔情痞子 提交于 2019-12-24 08:47:24
问题 I have multiple pbxproj files in my xcode workspace. By default all build outputs and temporary .obj files go to some random location in xcode and I would like to make all that output goes to path relative to where I have all the source files. We have uniform layout for all build output across different build targets except xcode outputs all results to some random location. At the same time this has to be done in a way so that this change could be stored in versioning system (e.g. git) and so

C#.NET Compiling the settings.settings file from various projects in a solution into 1 config file

一曲冷凌霜 提交于 2019-12-24 05:07:11
问题 I have a Solution where one project is the business layer and the other project is the web front-end, which has the BL project as a reference. They each have their own settings.settings file, but at build time the BL config file is not copied into the bin directory. The way we have gotten around this before is just to copy all the settings in the BL app.config into the Web's web.config file. But this seems like an imperfect solution. Extra Info: The web project does not need to access the BL

C#.NET Compiling the settings.settings file from various projects in a solution into 1 config file

两盒软妹~` 提交于 2019-12-24 05:07:03
问题 I have a Solution where one project is the business layer and the other project is the web front-end, which has the BL project as a reference. They each have their own settings.settings file, but at build time the BL config file is not copied into the bin directory. The way we have gotten around this before is just to copy all the settings in the BL app.config into the Web's web.config file. But this seems like an imperfect solution. Extra Info: The web project does not need to access the BL

How to programmatically add/remove exsting projects to a solution?

五迷三道 提交于 2019-12-23 19:15:04
问题 A similar (not duplicate) question was posted at here: How do I programmatically list all projects in a solution? In my previous question: How to safely rename a class in Common project (shared by multiple solutions), Thought suggested to create a separate solution to include all projects that reference my Common project. So now I need to add/remove existing projects to my Common solution. I currently have about 50 projects reference the Common project, so it would be nice if I could

ASP.NET Web Site or ASP.NET Web Application?

▼魔方 西西 提交于 2019-12-23 12:45:33
问题 When I start a new ASP.NET project in Visual Studio, I can create an ASP.NET Web Application or I can create an ASP.NET Web Site. What is the difference between ASP.NET Web Application and ASP.NET Web Site? Why would I choose one over other? Is the answer different based on which version of Visual Studio I am using? 回答1: Website: The Web Site project is compiled on the fly. You end up with a lot more DLL files, which can be a pain. It also gives problems when you have pages or controls in one

Best way to organize dependant projects?

故事扮演 提交于 2019-12-23 11:38:10
问题 I have a set of projects that depend on other projects (you can say utilities), the problem is every time I change the code of any one of these utilities my colleagues need to take the latest code and build on their machines to use the latest assemblies. Is there a good standard solution? or simply centralized the dlls on a shared folder? P.S: We are using MS source safe 2005 and I do not want my colleagues to take the source code everytime and build on their machines as they only need the

Best way to organize dependant projects?

一曲冷凌霜 提交于 2019-12-23 11:36:15
问题 I have a set of projects that depend on other projects (you can say utilities), the problem is every time I change the code of any one of these utilities my colleagues need to take the latest code and build on their machines to use the latest assemblies. Is there a good standard solution? or simply centralized the dlls on a shared folder? P.S: We are using MS source safe 2005 and I do not want my colleagues to take the source code everytime and build on their machines as they only need the

Reading the list of References from All csproj project of solution sln (programmatically)

╄→гoц情女王★ 提交于 2019-12-23 10:55:06
问题 I have solution sln, that has many csproj projects. anyone know a way to programmatically read the list of References of all csproj projects in a VS2008 of sln file? 回答1: csproj files are just XML files. You can use XDocument from the .NET framework for this. I've done it for VS2010, but in VS2008 the tags are almost the same. Example for VS2010, you have to verify the tags and namespace: XElement projectNode = XElement.Load(fileName); XNamespace ns = "http://schemas.microsoft.com/developer

How to include neccessary files to the output of independent client project?

隐身守侯 提交于 2019-12-23 07:54:22
问题 My solution consists of: Client - startup project, UI layer. Depends on: App App - library, application layer, assembler. Depends on: Lib1 , ... Lib1 - library, business logic layer. Needs a specific file to work properly: ThirdParty.dll I've added ThirdParty.dll to the Lib1 project ( Add > Existing Item... > Add ) and set Copy to Output Directory property of dll file to Copy Always . Now the dll file is copied to the Lib1 output and to the App output, but not to the Client output where I

Add a Form that is in my Project to another Project

折月煮酒 提交于 2019-12-23 07:46:12
问题 I have a Project in which there is a form that has several objects (controls) in itself. I want to add this form to another Project in another Solution. How to I can do this. Thanks. 回答1: You mean you have an Form in your Project and you want to add it to another Project in some other Solution. If this is the case then . Follow the steps: Right Click on Project in Solution Explorer Select Add -> Existing Item , In the Add Existing Item Dialog Box browse to the "Form.cs" you want to Add. It