How to convert Visual Studio 2005/2008 project to Visual Studio 6 - visual-studio

Is there any tool to convert Visual Studio 2005/2008 project to Visual Studio 6? Thanks.

Doubtful. I am pretty sure Microsoft does not have anything like that.
I assume this is a C/C++ project? VS 6 was before .NET.
I guess your best option is to start with a blank VS 6 project and manually add the source files.
After adding the source files, attempting a compile should quickly tell you what library/include folders you need to reference.

Microsoft does not support that conversion. But there is some tool to convert from vc7 to vc6 projects. http://www.codeproject.com/KB/applications/prjconverter.aspx

I do not know of such a tool. Instead, import the individual source files into a new VS6 project.

This make be a long shot here, but on Codeproject, there's an article on converting a solution to a Linux Makefile, and use that make file under VC6...Would this be useful?
Hope this helps,
Best regards,
Tom.

Related

I am trying to create an windows application using c# look like Dotnet IDE

I am trying to create an windows application using c# look like Dotnet IDE. when i googling i have found some solution but that is not exact what i want. Anyone have any idea or have any refernce please share it with me.
Thanks in advance.
Your question is not entirely clear, but if you're looking for some kind of a .NET UI library with the same controls as Visual Studio (is that what you mean by "Dotnet IDE"?) you're unlikely to find one. This is because Visual Studio itself is not written in .NET - it's written in unmanaged C++.
Of course, it's possible to create controls that look and work the same way, but I'm not aware of any libraries like that.

How to build CppUnit with Visual Studio 2010

I am trying to build CppUnit (first line in ReadMe says version 1.13) with Visual Studio 2010. Following the instructions (found on web forums, couldn't find much in CppUnit documentation); I cannot find a valid file extension. All file extensions end with ",v" what is this weird ",v" extension and what is the purpose of it?
I am frustrated at this point, if someone can help with how to load CppUnit in VS2010 project and build it....that would be a great help !
Are you referring to this project?
http://sourceforge.net/projects/cppunit
If so, use TortoiseSVN for example to get the latest code from svn:
https://cppunit.svn.sourceforge.net/svnroot/cppunit
It contains "INSTALL-VS.Net2008.txt" with instructions for Visual Studio 2008 but it can also be applied to Visual Studio 2010.
You may have to edit src\msvc6\testrunner\MsDevCallerListCtrl.cpp and replace
version("9.0")
with
version("10.0")
You can safely ignore any build errors as long as the sln outputs cppunit(d).lib or whichever dependencies you need.
Have fun! :)
I've successfully converted CPPUNIT 1.12.1 to be a VS2010 solution. It's described here: http://blogs.powersoft.ca/erict/archive/2012/02/21/cppunit-in-vs2010ndashwith-a-sample.aspx and the solution can be downloaded from there.
I just found a version which is really easy to build in VS2010(aka push 1 button):
http://www.comp.nus.edu.sg/~cs3215/tools/cppunitAll.html
It's really nice because it has a .sln file which you can open directly. Also it includes a tutorial ;)
Found it with google.de
It's version 1.12.1
Have fun!

SCONS to Visual Studio 2008

I got a project, source code, etc, using SCONS. Could you recommend tools/ways to convert or integrate it in a Visual Studio C command line project ?
Hi this may be usefull http://www.scons.org/wiki/IDEIntegration#head-a0b9e629986abc8528bdd599bac43a22cd161bf4
I realize this doesn't directly answer your question but I'd reconsider against using SCONS. Native Visual Studio projects have too many advantages such as being able to use Incredibuild, Visual Assist et c.
Instead you might want to look at XPJ:
http://sourceforge.net/projects/xpj/
What it does is generates a vcproj from an XML file, which can also be used to generate a SCONS project if absolutely necessary.
If you are not convinced, you can custom command line project option in Visual Studio and have it invoke the SCONS build.

Importing WinSCP source files into Microsoft Visual Studio 2008?

I am pretty new to programming. I would like to download an open source project and build it in my Microsoft Visual Studio 2008. In fact, I tried to import and build the application WinSCP:
https://sourceforge.net/projects/winscp/
But I didn’t work. Please can somebody help me and tell me which files do I have to download (from sourceforge) and how to import these into Microsoft Visual Studio in order to build the application. Thank you a lot. David
WinSCP seems to be written in Borland C++ Builder or whatever it's called today. It's not a standard C++ program and wouldn't compile in any other compiler because it uses special features only present in BCB. (It uses Delphi-style components, VCL and thus the __property keyword.)
Unfortunately, a lot of Open Source projects have very poor support for Microsoft's development tools. One project that comes to mind as being not too big and having workable MSVC project files is FreeType2, but that's a library and not an application, which probably makes it not very interesting for toying around with.
In support forum of winscp, they say, that you can't compile this project in Visual Studio.
Winscp appears to be a CPP project using a makefile instead of a sln file. VS uses SLN and *proj files to control builds and such. A good way to start would be to open VS, create a new console project (and solution) and go through some tutorials online.
If you really want to just see how a large project works in VS, grab something like IronRuby or IronPython or even something like the Witty twitter client.
In the general case, it is not possible to pour the C++ sources of a program into Visual Studio and expect it to work. C++ programming environments are far too different between operating systems for that. If you have a open-source program which builds and runs fine on Linux (for example), it may need several weeks (or months) or programming effort to make it run on Windows.

Creating a custom project type for Visual Studio to build Borland C++ Builder projects into Visual Studio

I want to start the develop of a custom project type for Visual Studio that builds a BPR project with Visual Studio.
I need some hints to beginning with this project. Where can I find a template for this type of projects?
My target is to remove the Borland C++Builder's ugly and unstable interface from the development process and work enterely from Visual Studio.
Edit: Oops, I didn't really see that you're about to create a new project type for C++ Builder files. In that case, you have to build a language package. The Visual Studio Extensibility site should get you started. Also have a look at this more specific link.
I'll leave my old answer here for reference, because it might help people who just want to build C++Builder projects without creating a whole new project type :)
You didn't specify the version of Visual Studio, but I'll assume a recent one. In Visual Studio 8 and 9, most project files (all popular ones except Visual C++) are actually MSBuild files and can therefore be built by MSBuild. You can add a simple command line task (Exec) to build your bpr on the command line, or you can create a custom task for this (if you don't find one already available - the search terms should be MSBuild and custom task). This way, both Visual Studio and MSBuild can build anything you like. If you don't have an MSBuild file to start with or want to dive into developing a task, the MSBuild project template for Visual Studio will help you.
Oh, and other than that, if you don't actually need C++Builder things, you might as well export the BPR as a solution (or create a new solution and add the files).
Integrating C++Builder projects into a build process should be a lot easier with C++Builder 2007 or 2009 as both use MSBuild as build system. But then, I think that upgrading to a recent version of C++Builder solves your problem the other way :)

Resources