Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2605 - Changing CurrentDirectory means TeeChart.licenses file not found
Summary: Changing CurrentDirectory means TeeChart.licenses file not found
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: .NET 5.0 (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-18 05:51 EDT by christopher ireland
Modified: 2023-04-18 06:18 EDT (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description christopher ireland 2023-04-18 05:51:21 EDT
If we set TeeChart.licenses to 'Build Action: None' and 'Copy to Output Directory: Copy if newer' (or 'Copy always') but then change the CurrentDirectory before creating an instance of TChart, e.g.

Directory.SetCurrentDirectory(Path.GetTempPath());

Then the TeeChart assemblies cannot find the TeeChart.licenses and the watermark is not removed.