views:

47

answers:

2

I am using WebSite project in Visual Studio 2005. I don't see any AssemblyInfo.cs created for a WebSite project. Can I manually create AssemblyInfo.cs in a Properties folder there or is there any better way?

Its an existing project so I can't change it now. I am maintaining this WebSite project and want to add log4Net using PostSharp.

+1  A: 

Why not use a web application project? With that type of project you will have an AssemblyInfo.cs.

Monty
Its an existing project so I can't change it now. I am maintaining this WebSite project and want to add log4Net using PostSharp.
Amitabh
+2  A: 

The AssemblyInfo.cs is required to holds information for versioning the assembly. Normally you will provide your public key generated by the sn.exe utility and also a flag to delay sign or not.

ASP.NET websites are not compiled assembly rather interpreted (only first time). And thus such thing is not appropriate.

Munim Abdul