question

505554090 avatar image
0 Votes"
505554090 asked ·

When I compile code using Roslyn, how do I set the version number and information of the DLL?

When I compile code using Roslyn, how do I set the version number and information of the DLL? Please help me.

windows-10-general
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

IanXue-MSFT avatar image
0 Votes"
IanXue-MSFT answered ·

Hi,

You can specify the properties in the msbuild project file. You may refer to the links below for more details.

https://docs.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#package-properties
https://docs.microsoft.com/en-us/visualstudio/msbuild/walkthrough-creating-an-msbuild-project-file-from-scratch

Best Regards,
Ian Xue
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
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.

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.