Hi @Sajith ,
You can compile your XSLT file into an intermediate assembly (.dll
) using xsltc.exe
and then use al.exe (Assembly Linker) to add metadata.
Create an AssemblyInfo.cs
file with the desired metadata:
using System.Reflection;
[assembly: AssemblyTitle("My XSLT Compiled Assembly")]
[assembly: AssemblyDescription("This is a compiled XSLT assembly.")]
[assembly: AssemblyCompany("MyCompany")]
[assembly: AssemblyProduct("MyProduct")]
[assembly: AssemblyCopyright("© 2025 MyCompany")]
[assembly: AssemblyVersion("1.0.0.0")]
Repackage the compiled DLL with metadata using al.exe
al.exe /out:FinalStylesheet.dll /embed:MyStylesheet.dll /title:"My XSLT Assembly" /product:"MyProduct" /copyright:"© 2025 MyCompany"
Best Regards.
Jiachen Li
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.