Web服务中的AssemblyInfo [英] Assemblyinfo in web service

查看:74
本文介绍了Web服务中的AssemblyInfo的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

如何在.net 3.5中创建的Web服务中添加assemblyinfo.cs

谢谢
Sebastian

Hello all,

How Can I add an assemblyinfo.cs in a web service created in .net 3.5

Thanks
Sebastian

推荐答案

物理上,它将位于属性文件夹WebApplicationName \ Properties \ AssemblyInfo.cs

使用该程序,您可以通过
在网站的AssemblyInfo.cs中检索信息.
Physically, it will be located in the properties folder WebApplicationName\Properties\AssemblyInfo.cs

Using the program, you can retrieve information in the AssemblyInfo.cs for the website through
System.Reflection.Assembly.GetExecutingAssembly()


我已经使用global.asax文件的事件解决了此问题.因此,assemblyinfo.cs并不是必需的.
I have solved this issue by using global.asax file''s events . So assemblyinfo.cs is not a necessary one.


这篇关于Web服务中的AssemblyInfo的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆