2

I use CSharpCodeProvider for compile .net code from C# and generate custom DLL. But I want to set custom property in DLL like:

File Description
File Version
Product Name

It's possible?

And I have not found documentation abut the possibility to pass a XML file with all parameters for the compilation.

<CSharpScriptCompiler>
    <Reference>
        <Name>utils.dll</Name>
    </Reference>
    <Import>
        <Name>Expoware</Name>
    </Import>
    <Import>
        <Name>System.Text</Name>
    </Import>
</CSharpScriptCompiler>

Thanks!

0

1 Answer 1

1

You should remove already existed [assembly: AssemblyProduct()], [assembly: AssemblyFileVersion()], etc attributes from teh source and append it with your custom data.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.