开发者

Is it possible to version a asp.net site like you can do with dlls?

Is it possible to version a asp.net site like doing so with AssemblyInfo.cs in Class开发者_StackOverflow中文版 Libraries?


According to the comments in the AssemblyInfo.cs in my ASP.net projects, you can:

// You can specify all the values or you can default the Revision and Build Numbers 
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

I tried it, and yes, it works.

[assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyFileVersion("1.0.*")]

On the AssemblyFileVersion I get a warning while building.


Yes. In VS:

  • right click web project,
  • go to properties
  • then application.
  • Click assembly information button - there you have the version fields.
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜