Silverfrost Logo About Us | Contact Us
 

Support for .NET 2.0 and Visual Studio 2005 was added to FTN95 at version 5.00. Visual Studio 2008 support was added at FTN95 version 5.20. Although these products are closely related the support for them is separate:

  • You can produce .NET code with FTN95 without using Visual Studio.
  • You can produce and debug Win32 code with or without Visual Studio.

FTN95 can produce code that is .NET 1.1 or .NET 2.0 compatible (note that .NET 1.1 code is also .NET 2.0 compatible) via Visual Studio 2005. The target framework can be selected from the project properties.

If you use the command line then you will have to set a switch to target a particular framework:

  Framework    Compiler Switch    Linker  
.NET 1.1/CLRdbk_link
.NET 2.0/CLR /CLR_VER 2dbk_link2
.NET 3.0/CLR /CLR_VER 2dbk_link2
.NET 3.5/CLR /CLR_VER 2dbk_link2

The reason you have to specify the .NET framework is that many people have multiple versions on their machine, probably without realising. In addition, you need to use a different linker for .NET 2.0 (dbk_link2) because the linker runs under the destination framework to produce the final code.

.NET 3.0 and .NET 3.5 is .NET 2.0 with extra libraries -- hence you just use the .NET 2.0 support.

To use any framework, that version's directory must be on the path.

More to Explore

Copyright © 1999-2010 Silverfrost Limited