开发者

Is it possible to build an assembly, and force it to a specific build #?

开发者 https://www.devze.com 2022-12-13 16:18 出处:网络
Is it possible to build an assembly, and force it to a specific build #开发者_开发百科?Sure. Just set the last digit of

Is it possible to build an assembly, and force it to a specific build #开发者_开发百科?


Sure. Just set the last digit of

[assembly: AssemblyVersion("1.0.0.0")]

to the build number you want.


Just apply the [assembly: AssemblyVersion("A.B.C.D")] attribute the this is usually in the AssemblyInfo.cs file, though can be in any code file. The last portion of the version (A.B.C.D) - D, is the build number.

0

精彩评论

暂无评论...
验证码 换一张
取 消