471,049 Members | 1,898 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,049 software developers and data experts.

2.0 Assembly Information - how?

In vs.net 2005 web apps, now that we no longer have the assemblyinfo file,
how do we set assembly information (such as version,description,company, etc)?
Thanks, Mark
Jan 1 '06 #1
10 1310
Mark:

This is one of the scenarios the Web Deplyoment project is designed to
handle:
http://msdn.microsoft.com/asp.net/re...p/default.aspx

HTH,

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Sat, 31 Dec 2005 17:18:01 -0800, MarkAurit
<Ma*******@discussions.microsoft.com> wrote:
In vs.net 2005 web apps, now that we no longer have the assemblyinfo file,
how do we set assembly information (such as version,description,company, etc)?
Thanks, Mark


Jan 1 '06 #2
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:l5********************************@4ax.com...
This is one of the scenarios the Web Deplyoment project is designed to
handle:
http://msdn.microsoft.com/asp.net/re...p/default.aspx


I'm due to start investigating this soon. Does it allow deployment to a
remote web server, or just to a local file system?

Also, does it allow individual files and / or folders to be excluded from
the deployment?
Jan 1 '06 #3
Thanks Scott.
I dont think I understand. Are you saying that in vs.net 2005 I cant set
the version unless I use this tool?

"Scott Allen" wrote:
Mark:

This is one of the scenarios the Web Deplyoment project is designed to
handle:
http://msdn.microsoft.com/asp.net/re...p/default.aspx

HTH,

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Sat, 31 Dec 2005 17:18:01 -0800, MarkAurit
<Ma*******@discussions.microsoft.com> wrote:
In vs.net 2005 web apps, now that we no longer have the assemblyinfo file,
how do we set assembly information (such as version,description,company, etc)?
Thanks, Mark


Jan 2 '06 #4
On Sun, 1 Jan 2006 14:11:56 -0000, "Mark Rae"
<ma**@markN-O-S-P-A-M.co.uk> wrote:

I'm due to start investigating this soon. Does it allow deployment to a
remote web server, or just to a local file system?

It's more for 'packaging' a web site on the local file system. You can
manage configuration settings and 'prep' everything for the
deployment.

Also, does it allow individual files and / or folders to be excluded from
the deployment?


Yes, I believe so...

--
Scott
http://www.OdeToCode.com/blogs/scott/
Jan 3 '06 #5
On Mon, 2 Jan 2006 10:08:02 -0800, MarkAurit
<Ma*******@discussions.microsoft.com> wrote:
Thanks Scott.
I dont think I understand. Are you saying that in vs.net 2005 I cant set
the version unless I use this tool?


Well, all of the assemblies that ASP.NET will generate have no version
numbers. This is true even for 1.1, but in 1.1 ASP.NET only generated
assemblies for aspx, ascx files. In 1.1 Visual Studio compiled all of
our code-behind files into a single assembly, and we could apply
version numbers to that single assembly.

The web deployment projects take all of the assemblies the ASP.NET
compiler generates and merges them into a single assembly. It will
merge any version attributes into that assembly, too.

--
Scott
http://www.OdeToCode.com/blogs/scott/

Jan 3 '06 #6
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:1q********************************@4ax.com...
It's more for 'packaging' a web site on the local file system. You can
manage configuration settings and 'prep' everything for the
deployment.


Er, OK - but I then have to do the deployment manually...? IMO, this seems a
*huge* step back from the previous version...
Also, does it allow individual files and / or folders to be excluded from
the deployment?


Yes, I believe so...


Great! How...?
Jan 5 '06 #7
On Thu, 5 Jan 2006 00:12:45 -0000, "Mark Rae"
<ma**@markN-O-S-P-A-M.co.uk> wrote:
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:1q********************************@4ax.com.. .
It's more for 'packaging' a web site on the local file system. You can
manage configuration settings and 'prep' everything for the
deployment.


Er, OK - but I then have to do the deployment manually...? IMO, this seems a
*huge* step back from the previous version...


From the Setup & Deployment projects? Yes, they did quite a bit. There
is always the Publish feature in VS 2005. I'm going the route of
customizing the MSBUILD task because there is a tremendous amount of
flexibility. See: http://dougrohm.com/articles/11.aspx
Also, does it allow individual files and / or folders to be excluded from
the deployment?


Yes, I believe so...


Great! How...?


Add an ItemGroup with an ExcludeFromBuild inside. There is an example
here:
http://msdn.microsoft.com/library/en...t_projects.asp

--
Scott
http://www.OdeToCode.com/blogs/scott/
Jan 5 '06 #8
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:2u********************************@4ax.com...
From the Setup & Deployment projects? Yes, they did quite a bit. There
is always the Publish feature in VS 2005. I'm going the route of
customizing the MSBUILD task because there is a tremendous amount of
flexibility. See: http://dougrohm.com/articles/11.aspx
Very interesting article.
Add an ItemGroup with an ExcludeFromBuild inside. There is an example
here:
http://msdn.microsoft.com/library/en...t_projects.asp


Perfect! Just what I've been looking for!
Jan 5 '06 #9
Hi Mark,

While doing research on MSBuild for my own projects, I compiled a list
of usefull MSBuild resources that I found to be helpful.

http://www.tod1d.net/blog/2005/12/ms...resources.html

Enjoy.

--
Tod Birdsall, MCSD for .Net
blog: http://tod1d.net

Jan 5 '06 #10
"Tod Birdsall, MCSD for .NET" <tb*******@gmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...

Todd,

While doing research on MSBuild for my own projects, I compiled a list
of usefull MSBuild resources that I found to be helpful.

http://www.tod1d.net/blog/2005/12/ms...resources.html

Enjoy.


Thanks very much - very useful.

IMO, Microsoft really dropped the ball on the "web publish" functionality in
ASP.NET 2, and the new web deployment projects have come a long way to
address that.

The ability to have more than one deployment project in the same solution is
excellent, and the ability to replace individual parts of web.config is
little short of revolutionary.

The ItemGroup / ExcludeFromBuild functionality is a lot more cumbersome than
the "Exclude From Project" functionality in v1.1, but at least it works.

HOWEVER, the lack of ability to publish directly to the web is still
extremely irritating. IMO... That's pretty much the only major piece of
functionality missing or, at least, I haven't found a way of doing it yet...
Jan 5 '06 #11

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Atul Godbole | last post: by
3 posts views Thread by Karl Hungus | last post: by
3 posts views Thread by Web Team | last post: by
7 posts views Thread by R Reyes | last post: by
2 posts views Thread by Paul | last post: by
reply views Thread by =?Utf-8?B?Q29saXZpZXI=?= | last post: by
10 posts views Thread by =?Utf-8?B?SmFtZXMgV29uZw==?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.