Setting web application Assembly Version

J

JimL

Hi,

I am using Visual Studio Team System 2008, .net framework 3.5. I want
to know how to set the assembly version number of my web project.

There is no AssemblyInfo.cs file, nor is there any section in the
"Properties" dialog for the usual assembly information. I can find no
straightforward explanation of what happened to the old way of doing
things, or why it changed, or how.

Any help gratefully received.

Jim
 
J

JimL

Are you absolutely certain that you have created a web project...?
I don't have Team System but, in 2008 Professional, I created a new web
project and the AssemblyInfo.cs file was exactly where it should be i.e. in
the Properties folder.

Right-clicked on the project name in the Solution Explorer window, selected
the Application tab and the Assembly info button was there...

Yup - thanks Mark - I figured out what the problem is, I hadn't
appreciated the difference between a Web Site and a web project. What
I've got here is a Web Site, created originally, I guess from "File ->
New -> Web Site" as opposed to "File -> New -> Project -> Web
Application". The website has none of the features, the application
does. So I suppose the question is, does application version have any
meaning in a Web Site? I guess not.

Jim
 
J

JimL

Are you absolutely certain that you have created a web project...?
I don't have Team System but, in 2008 Professional, I created a new web
project and the AssemblyInfo.cs file was exactly where it should be i.e. in
the Properties folder.

Right-clicked on the project name in the Solution Explorer window, selected
the Application tab and the Assembly info button was there...

Yup - thanks Mark - I figured out what the problem is, I hadn't
appreciated the difference between a Web Site and a web project. What
I've got here is a Web Site, created originally, I guess from "File ->
New -> Web Site" as opposed to "File -> New -> Project -> Web
Application". The website has none of the features, the application
does. So I suppose the question is, does application version have any
meaning in a Web Site? I guess not.

Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top