projects-and-solutions

How to “clone” a complete .Net Solution

大城市里の小女人 提交于 2019-12-10 15:22:48
问题 i have a solution(exe) that consists of 3 projects and is under visual sourcesafe sourcecontrol. Now i need a copy because i have to make some major changes that should not affect the original application. So what is the simpliest and safest way to achieve this and avoids conflicts? I also want the new solution to be under sourcecontrol as different project too. Thank you in advance. Edit : I have followed your instructions to create a new branch in source safe. I had to remove some conflicts

Methods of managing source code

痞子三分冷 提交于 2019-12-10 14:19:05
问题 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 work. The first time I created what is now a shared library, I added the library as a separate class library project within the solution. Now, when I start a

What's the best way of parsing strings? [closed]

旧时模样 提交于 2019-12-10 14:16:54
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 6 years ago . We've got a scenario that requires us to parse lots of e-mail (plain text), each e-mail 'type' is the result of a script being run against various platforms. Some are tab delimited, some are space delimited, some we simply don't know yet. We'll need to support more 'formats'

VS2010 DTE Addin: project inside solution folder is not “Project”

梦想与她 提交于 2019-12-10 13:30:28
问题 I have a small vs addin which looks for projects inside a solution and does a few stuff with it. I collect the projects like this: Application.DTE.Solution.Projects.OfType<Project>(); However, as soon as I introduced a solution folder and placed a project inside it, suddenly that project was nowhere to be found. So, I've tried private IEnumerable<Project> getProjectsRecursive(IEnumerable<Project> iEnumerable) { foreach (var item in iEnumerable) { yield return item; foreach (var child in

Understanding configuration files in multiproject (interoperable) .NET solutions

前提是你 提交于 2019-12-10 11:21:52
问题 Scenario Consider having a solutions with 4 projects in it: 1) ProjectSql: This is a project, whose compilation output is set to Library , and this is responsible of accessing a SqlServer database and do something. The final library will be able to provide APIs in order to manage persistency for the final application. 2) ProjectWCF: This is a project, whose compilation output is set to Library , and this is responsible for defining service contracts, data contracts and service implementations

How do I remove a project reference from a website project in Visual Studio?

夙愿已清 提交于 2019-12-10 02:02:23
问题 So if I have website project Foo which has a reference to class library project Bar, how do I remove that reference? Thanks David 回答1: The reference is stored in the Visual Studio solution file. Right-click on the web site's project item in Solution Explorer and choose "Property Pages". The first item on the dialog that comes up is "References". You can add/remove references from here. Edit: I should mention that this is in Visual Studio 2010. I don't have any other versions installed at the

What is a .sln.ide file?

非 Y 不嫁゛ 提交于 2019-12-10 01:04:54
问题 I have a Visual Studio 2012 solution /Foobar.sln . It contains one Class Library project and one Unit Test project. A few days ago I noticed a new file /Foobar.sln.ide/graph/Foobar.sln.ide . Contents: <Solution Format="0.0.0.3"> <Version>0001-01-01T00:00:00Z</Version> </Solution> I'm not sure what I was doing when it was created, since I didn't notice it until a few days after it was created. Today, several days later than I first asked this question, it appeared again in an Excel VSTO Add-in

Will visual studio 2015 projects and solutions be backward compatible with 2013?

我的未来我决定 提交于 2019-12-10 01:02:28
问题 Now that Visual Studio 2015 RC is out, has anyone installed it and opened Visual Studio 2013 projects/solutions? Does it ask the files to be changed? If yes, are the changes it makes backward compatible? 回答1: Take a look at the Porting, Migrating, and Upgrading Visual Studio Projects article for Visual Studio 2015. All of the various caveats are described there. 回答2: Not all types of project are supported. I tried the following 4 project types: Vb.net Class project, OK. Vb.net Web Services

How do you Setup your Unit Test Project(s) in .Net?

不羁的心 提交于 2019-12-09 16:33:41
问题 Can you share the way you setup your unit test projects within your .net solutions? I can imagine several possible methodologies. For example: Having a separate solution for unit tests, perfectly mirroring the structure of the original code solution being tested. Inside the original code solution, have a solution folder in which you're perfectly mirroring... Have a unit test project for each code project and residing alongside it inside the solution's tree structure. Have a unit test project

How do I create a pure solution-level NuGet package

℡╲_俬逩灬. 提交于 2019-12-09 16:17:50
问题 I want to create and distribute a NuGet package that when installed only installs solution-wide to the root packages -folder, referencing the package in the .NuGet\packages.config file. I have found some information on the NuGet package format in regards to this topic already and according to NuGet FAQ this should be possible if one follow these guidelines: What is the difference between a project-level package and a solution-level package? A solution-level package has to be installed only