I am developing a ASP.net project in visual studio.
Every thing was fine when I was the only developer here, but I needed some helping hands to contribute to my project.
Currently there are 4 developers not in a same geographic location.
So after the files are changed and submitted to me, a lot of effort and time is wasted in merging the code.
So I was thinking of creating a subversion of this project.
I have worked with SVN through Tortoise, but I have not done the set up.
Please suggest me a way to set up an SVN.
Any suggestion will be appreciated.
Thanks in advance.
First thing you need to decide is the hosting space for your code.
If you are developing an opensource project, then you can go for code.google.com or any other provider. If your project is private, then you can coose any private repository such as assembla. If you go in this way, you will get a checkout url. You can just commit your project to this url.
If you are having your own server to host the code, then follow the steps provided in this article.
Related
I have a local Web Application which's backend is written in C# with Visual Studio. Now I decided to use a source administration tool for it. My problem is, that I'm really confused how to migrate my solution into GitLab. In my opinion there is one solution and 6-8 projects in this solution. So I wanna try to create for each project a git repository. The only problem is, that if I'm cloning my projects they won't find the dependencies. What is the right way to check in everything, organize it right and get rid of dependencies problems?
In the moment I created a git subgroup "MYAPP" and added all angular frontend applications. I made one repo for every application. Now I want to add the c# projects which are containing the logic. These are devided in 5 projects and a core project which handles the entityframework.
I hope to get some good advices and best practices.
Sorry for my bad english and thanks to everyone who tries to help.
You should consider carefully if you want to separate each project into a single repository. If your projects are only used as part of your solution and you never want to use them anywhere else as standalone modules or libraries, it's perfectly fine to put the whole solution and all projects in a single git repository.
If, on the other hand, you use or publish your projects as libraries, you can totally manage them as separate repositories. In this case, you would need a repository for your solution that includes your subrepositories as submodules or subtrees.
Managing subrepositories, however, always comes with a certain overhead. I would advise to avoid it if it isn't justified (i.e. if at this point in time your solution is the only one using your projects).
I have one c# Application which i have only published Application in IIS and i don't have the original code with me.
we have to make some changes in one (.cs) file which is dependent on entire application and dlls.
Is it possible to convert the Application and make some changes and publish again.
I did run into this situation before where client is only having published code and I need to enhance a product.
For those , I decompiled published DLLs using Telerik's JustDecompile as I found it more mature and accurate than DotPeek and Reflector.
Few of the things will still not work after decompilation and that is obvious so you will need to manually fix those.
You may also remove few of the layers by introducing your own layer to avoid all DLL decompilation , but for that you need to understand decompiled code.
I hope that it will help you in running project.
Thanks,
my Friends. I have my own TFS where I'm developing an application (only me). Now I would like to SHARE IT and make its source code public at Codeplex. So I went to the site, created a project and chose TFS as the source control system.
The problem comes that, in order to publish the code, I would have to change my current source control and it's a really tedious task. I would have to mirror the contents of my project to the Codeplex TFS to keep it updated. Sounds difficult, but...
... is there any way to replicate the contents of the TFS so my code can automatically be shared while keeping my current TFS setup without much hassle?
Thanks!
Don't know about a regular TFS workspace, but if it's a GIT repository, you can define multiple "remotes" in your local GIT repo, so that it pushes changes to both your local TFS and Codeplex
I inherited a software engineering job with a .DBML project in it. It was being referenced by an ASP.Net website as it's data access layer, but I'm tasked with creating a Console app that could utilize the extensive data access classes in the project.
However, when I reference the project I get intellisense and all but on building it, get errors as if I don't have reference to it.
I am not that familiar with this kind of project and am kind of at a lost how to proceed. I have been trying out different stuffs for past few hours, but nothing seems to work.
Can anyone guide me to how to solve this, or perhaps an article that could point me to the right direction? Thanks!
Right click on your console application and then click on properties. Change the target framework from .Net Framework Client Profile to .NET Framework.
This "feature" of Visual Studio has bitten a lot of people... I wasted almost a full day on it recently.
I manage a small project for a client I want to be able to start using SVN to give a better service from multiple computers, I would like a SAAS solution as the project is to small to ask for a dedicated server in my client's company.
What is the best SVN hosting service/VS2010 plugin you recommend
Thank you
PS. Other ideas for a solution of my problem are welcome I am new to this way of working (SVN)
AnkhSVN is a good, free and popular plugin. I use it all the time with VS2010, and I'm very happy with it. I also use TortoiseSVN outside of Visual Studio.
VisualSVN is also very popular.
Subversion hosting can be found from many hosting providers, either seperately or as past of a web hosting package. Check out these similar questions:
Looking for Hosted Subversion and Visual Studio plug in combo
Hosted subversion recommendations or suggestions
https://stackoverflow.com/questions/297153/can-you-recommend-a-svn-closed-source-project-hosting-site
I use the Agent SVN plug-in with the Subversion file protocol repository and I works well for me.
I have been using VisualSVN and been very happy with it, or at least as happy as any Subversion user can expect to be. It builds on top of the TortoiseSVN explorer plugin, and does support more advanced stuff like dragging files around inside Visual Studio.
That said, I'd strongly advise you to consider Git or Mercurial instead of Subversion. They don't as easily mess up your local workspace, allow you to commit partial work without interfering with everybody else, and easier sharing through repository cloning and greatly improved merging of changes. If this sounds interesting I'd recommend bitbucket or GitHub as good online source control providers.
Tool support for Visual Studio is almost as good as for Subversion and have a lot more momentum so I'd expect them to catch up pretty soon.
I would recommend Codesion from CollabNet as hosting service, and AnkhSVN (open source) as Visual Studio plugin. Although I prefer to use TortoiseSVN as svn client, even if it not integrated to Visual Studio.
I personally use http://www.projectlocker.com/ for SVN hosting. Its free for small projects, easy to set up, and has always worked well for me. I believe it also allows 3 users and 3 active projects, as opposed to 1 of each like a lot of other free hosts.
I've used http://ankhsvn.open.collab.net/ in the past because in integrates with VS2010, but lately I've switched to explorer integration with http://tortoisesvn.tigris.org/
No reason why really, just personal preference.
I would recommend Assembla. It's free private hosting for small teams. And ankhsvn as VS plug-in.
The TortoiseSVN works well for me.