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

若汝棋茗 41 Reputation points
2021-03-18T09:21:24.207+00:00

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

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
6,035 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ian Xue (Shanghai Wicresoft Co., Ltd.) 18,351 Reputation points Microsoft Employee
    2021-03-19T10:08:36.487+00:00

    Hi,

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

    https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#package-properties
    https://learn.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.

    No comments