- Use an external version file.
- Embedded version information in metadata using assembly attributes.
- Database management of versions
Assign file version for CTF file
2 ビュー (過去 30 日間)
古いコメントを表示
In order to deploy the CTF file with other C# applications files, need to assign a file version for the CTF file and so could be tracked.
Modified the CTF file by appending a file would corrupt the CTF file when loading it.
0 件のコメント
回答 (1 件)
Prasanna
2024 年 6 月 26 日
Hi Shaojun,
To manage and track the version of a file in a way that integrates seamlessly with C# applications, you can consider using a configuration management file for robust version tracking.
To perform the above you can use a configuration file(‘appversioning.json’) and store the versioning of the files as appropriate key value pairs. To read the configuration in C#, you can use the ‘AddJsonFile()’ method from the ‘Microsoft.Extensions.Configuration’ to add the JSON file and use the corresponding versioning information.
Some other ways to manage and track CTF versions can be to:
For more information on the ‘addJsonFile’ method refer the following documentation:
Hope this helps.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で MATLAB Compiler SDK についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!