Compiling the source code
FastReport's source code is shipped with Professional and Enterprise editions. You may include it in your application's solution file. Let us demonstrate how to do this with FastReport .NET project:
- open your project in the Visual Studio;
- open the Solution Explorer and right-click on the "Solution" item;
- choose the "Add|Existing Project..." item;
- add the
FastReport.csproj
file (located in the \Sources\FastReport folder in the main directory of FastReport .NET, for example, "C:\Program Files\FastReports\FastReport .NET Professional\Sources\FastReport").
Update the references to other FastReport .NET assemblies. To do this:
- expand the "FastReport|References" item in the Solution Explorer;
- remove the
FastReport.Bars
,FastReport.Editor
references; - right-click the "References" item and choose the "Add Reference..." item;
- add references to the
FastReport.Bars.dll
andFastReport.Editor.dll
files. These files are located in the \Framework folder in the main directory of FastReport .NET, for example, "C:\Program Files\FastReports\FastReport .NET Professional\Framework".
To build FastReport WPF from source code, open the file "C:\Program Files\FastReports\FastReport WPF\Sources\FastReport.WPF\FastReport.WPF.sln". This solution file includes all FastReport WPF projects, as well as some sample projects.