Search code examples
phpvisual-studiovisual-studio-2012projectvisualsvn

Linking a PHP project to Visual SVN and Visual Studio 2012?


I am looking for a way to be able to use VisualSVN with my PHP project. I tried adding my whole projet into Visual Studio 2012, but the files are not added into the solution explorer, thus I cannot push the solution to the SVN server.

Is there a legit way to make a PHP/html/javascript project inside VS2012, or another way to use VisualSVN for a PHP project?

I must use this SVN since this is the only one supported by my college at the moment.


Solution

  • I created a new javascript project and renamed the file to index.php. I then created folders such as css and js and dragged all my website's files into VS2012. I am now using it as a code editor and I can commit my changes right away. I wish VS had a PHP template tough (even if it wouldn't support it's syntax, I wouldn't care!), it would be less of an hassle.

    Everything's fine now.