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.
精彩评论