Subsections of Installation
System Requirements
Below are the system requirements for Tasqize MPP to PDF:
Supported Operating Systems
- Windows: 7, 8, 10, 11, Server 2008–2022
- Linux: Ubuntu, Debian, CentOS, etc. (requires
libgdiplus
+ fonts) - macOS: 10.12 (Sierra) and later
Supported .NET Versions
- .NET Framework 4.8+
- .NET 6, 7+
- Visual Studio 2015–2022
- Visual Studio Code
- JetBrains Rider
Additional Notes
- No Microsoft Project installation is required.
- For non-Windows environments, install
libgdiplus
and ensure fonts are available for best rendering results.
Declaration
Tasqize MPP to PDF requires Full Trust permission in .NET applications. This is because the SDK may need elevated permissions for file I/O operations and font handling (particularly on Windows).
Why Full Trust?
- Registry or System Folder Access: Some advanced operations might reference system paths or fonts.
- Loading External Assemblies: We rely on specialized libraries that may trigger certain system-level requests.
Limitations of Medium Trust
Under Medium Trust (common in certain ASP.NET shared hosting), the following are restricted:
- Registry Access
- ReflectionPermission
- FileIOPermission beyond the app’s virtual directory
Because of these restrictions, the MPP conversion may fail if Full Trust is not enabled. If your environment cannot provide Full Trust, consider a dedicated server or container with fewer sandbox limits.
Non-Windows Environment
Tasqize MPP to PDF supports .NET 6 (or .NET Core 3.1+) on Linux and macOS.
- Install libgdiplus
sudo apt-get update
sudo apt-get install -y libgdiplus
- Fonts
Install Microsoft TrueType fonts or place necessary fonts in a directory your code can reference:
tasqize.Text.FontRepository.Sources.Add(new FolderFontSource("/usr/share/fonts/truetype/msttcorefonts"));
- Run
Compile and run your .NET application normally. Ensure libgdiplus
and fonts are present so the tasks/gantt bars and text render correctly.
With these steps, cross-platform MPP to PDF conversion should work seamlessly.
Evaluation
You can download Tasqize MPP to PDF for evaluation. The trial version provides full functionality but inserts a watermark on output PDFs, and only partial data is rendered if no license is applied.
Removing Watermarks
Once you purchase a license, set it in code:
var license = new Tasqize.License();
license.SetLicense("myLicenseFile.lic");
This removes trial limitations and watermarks, unlocking the complete feature set.
FAQs
Below are some common questions about Tasqize MPP to PDF.
General Questions
1. What is Tasqize MPP to PDF?
Tasqize MPP to PDF is a .NET SDK that converts Microsoft Project (MPP) files into PDF documents. It provides fine-grained customization of the exported PDF layout, including text styles, timescale views, and presentation formats (e.g. GanttChart, ResourceSheet).
2. How do I install Tasqize MPP to PDF?
You can install the Tasqize package via NuGet. Refer to our Installation Guide for more details.
3. Can I control the timescale in the exported PDF?
Yes. Use PdfSaveOptions.Timescale
to choose between Days, Weeks, Months, etc. This determines the level of detail shown along the project timeline.
4. How do I apply custom text styles?
Create a list of TextStyle
objects, each defining properties like Color
, FontStyle
, and the specific TextItemType
(for example, milestones, critical tasks). Assign this list to PdfSaveOptions.TextStyles
before calling ConvertToPdf
.
5. Is Microsoft Project required on the machine?
No. Tasqize MPP to PDF operates independently, though it internally references Aspose libraries to parse MPP files. Microsoft Project itself is not needed.
6. How do I set my license key?
Use the License
class:
var license = new Tasqize.License();
license.SetLicense("path/to/your.lic");
Do this once at application startup to remove evaluation watermarks and unlock the full functionality.
Yes. With .NET 6+ or .NET Core 3.1+ on Linux or macOS, just ensure you have installed libgdiplus
and any needed fonts. Check Non-Windows Setup for details.
8. Where can I find more examples?
Please refer to our Developer’s Guide for in-depth code snippets on advanced usage, including resource sheets, Gantt charts, and time-phased data.