The AssemblyData
property provides access to the contents of the compiled assembly in the form of a byte array. This data represents the [assembly].dll
file generated during the build process.
The AssemblyData
property provides access to the contents of the compiled assembly in the form of a byte array. This data represents the [assembly].dll
file generated during the build process.
Use the AssemblyData
property to retrieve the raw byte data of the compiled assembly. This can be useful for scenarios where you need to load the assembly dynamically or perform further analysis on the compiled code.
// Example of accessing the AssemblyData property CompilerOutput output = new CompilerOutput(); byte[] assemblyBytes = output.AssemblyData; // Use the assemblyBytes as needed, for example, to load the assembly // Assembly assembly = Assembly.Load(assemblyBytes);