How to code c++ project online in one project [management] - visual-studio

I'm beginner in C++ programming using visual studio c++. I like to have access to my project codes instantly while programming, something like a project manager. How is this possible in Visual Studio C++ ? I have found Team Foundation Server but I have not clue what it is.

TFS is a centralized version control system as opposed to Git, for example, which is a distributed version control system.
If you're already acquainted with Git and not with TFS (which I find to be fairly common),VS2013 has a built-in Git provider (a really nice one in my opinion). For VS2012 you'll need to install one separately, it's a package.

Related

VB6 code management tool

Earlier, I am working on a VB6 project so all development managed by me only but now a new member joined the same project. Please help me to know any code management tool so we can both can do development in same project but on different modules(Check In/Check out).(For Example: Microsoft Visual SourceSafe Code Management tool used for development in Visual Studio)
Thank you.
You can use any version control system: Subversion, Git... even Visual Source Safe (although I recommend avoiding that one). Just remember that some VB6 files are binary and cannot be merged easily.
Here's the Stackoverflow Subversion advice for VB6.
Here's the Stackoverflow Git advice for VB6.

How can I rollback to earlier versions of a Visual Studio project while developing locally?

In the process of building an ASP.NET Core MVC rc1 application with SQL databases, c#, bootstrap, angular, css, javascript, javascript dependencies, package managers like bower, or any visual studio project for that matter, I sometimes break the application and would like to roll it back to a previous state when the application was working.
What are some techniques/the best way to create incremental versions, save and flag working versions, and rollback to earlier versions especially when a project has so many moving parts, technologies, and dependencies?
I would prefer a technique that exists inside Visual Studio, or the most standard/popular Microsoft or open source technique or tool that may be free.
I also would like the option to do the backups on my local machine rather than on an external server.
If anyone else has this question: I found Git to be a great way to achieve this purpose. Unlike many version control systems, it keeps the change repository on the local machine and only places it on a server when the project is merged. As of 2015, it integrates well with Visual Studio and TFS. Here is a video from the Build conference explaining its integration with VS2015:
Channel 9 - using git in visual studio
https://channel9.msdn.com/Events/Build/2015/3-746

How to work simultaneously with 2-3 users on the same project?

I have a team of 3 developers and I want that we should be able to work on the project from our own homes, at any time (or at the same time) and make changes to the project. Till now, we have to mail each other all the updates versions to keep in sync. We are developing the project in Visual Studio 2010 currently and use SQL Express 2008. I searched internet and got some idea about Team Foundation Server but it requires Windows Server. I don't want to get into this mess and I have a Win7 Pc. Please suggest me some easy solutions.
There are any number of low-cost (often free to open source projects) hosted source control providers out there.
Personally I use Subversion along with the AnkhSVN plugin for Visual Studio.
Mercurial and Git are also quite popular and supported within Visual Studio via plugins.
Any of those options can be setup in a few minutes (if you use a hosted solution) and will all work for a small team.
Version Control is what your looking for,and your right there are some complicated solutions out there. TortoiseSVN isn't too complicated but works well.

How to specify the source control plugin on a per-solution basis in Visual Studio?

I just installed AnkhSVN to have subversion support from within Visual Studio 2010.
I noticed I had to go to Tools > Options > Source Control to select the current source control plugin.
At the moment, I'm working on multiple projects using different version control systems. For instance, I also have some projects in Mercurial, for which a VS source control plugin is available.
Is there any way to specify the source control plugin on a per-solution basis? Or can VS detect the used vcs automatically? What are the best practices in this respect?
Edit: a google search led me to How to configure Visual Studio to use different source control providers and Can Perforce and SourceSafe co-exist in Visual Studio?. Both cover the same ground, but appear to be specific to specific vcs and lack a satisfying general answer. I'm looking for a general answer here.
There is unfortunately no good answer here. You will simply have to go in and manually change you visual studio source control provider settings before you open the project. This is a limitation of how this particular plugin system works, and will probably take a new version of visual studio to specifically address it.
This is an instance where visual studio works better for the enterprise shop with standardized source control tools, and not as good for a contractor working with multiple clients across an array of technologies.
Source control provider auto switching based on reserved directory presence can be done with a VS extension as described here.

Deploy merge modules to clients

I need to deploy some Crystal Reports XI .dlls (craxdrt.dll, crviewer.dll) to client computers. Craxdrt.dll has many dependencies. I found out that the easiest way to go about this is to use the supplied merge modules. Having always relied on ClikOnce deployment I am at a total loss how to do this.
If it matters: the .exe is written in VB6, but I have visual studio 2010 to make setup projects.
Thanks!
Ideally you'd use the Visual Studio Installer 1.1 that Microsoft supplied as an add-on to VB/VS 6.0 a long time ago. While a bit long in the tooth (and recently removed from Microsoft Downloads) it works fine and was intended for just this purpose. The process is described in the Help that came with the product.
However if you have an edition of VS 2010 that can create real Setup projects (i.e. not Express) it should work in a very similar manner. It should be a standard option to add MSMs to a Setup project.
See http://msdn.microsoft.com/en-us/library/aw2dz878.aspx

Resources