473,320 Members | 1,802 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 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 1374
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Carlos G Benevides | last post by:
I have a ASP.Net web application that has two assemblies that run under com+. Under Windows 2000 the two assemblies are added to com+ automatically when instantiated from the web site. For this...
3
by: Atul Godbole | last post by:
Suppose an assembly "Main" is using class "A" from another Assembly "Dep" as follows : A a = new A(); a.MethodOne(); At what time is the call to MethodOne linked to the actual MSIL (method...
1
by: Brian | last post by:
I've looked through the previous posts on this one and have verified permissions and location of my Dlls, but I am still getting an exception when I try to Load an assembly. The directory where...
3
by: Karl Hungus | last post by:
A cs file I compiled into an assembly dll is in my bin directory. In the cs file I have a using statement for System.Xml I compiled it using this command: csc /out:XmlContent.dll /t:library...
3
by: Web Team | last post by:
Hi All, I recently moved our assembly which stores our 'common' code into the GAC. I then moved all copies of this assembly out of the /bin folders, restarted IIS. I get the error below. This...
7
by: R Reyes | last post by:
Can someone please explain to me why I can't get the MS Word Interop assembly to work in my VS2005 project? I'm trying to manipulate MS Word from my Web Form application and I can't get passed...
3
by: Richard Lewis Haggard | last post by:
We are having a lot of trouble with problems relating to failures relating to 'The located assembly's manifest definition with name 'xxx' does not match the assembly reference" but none of us here...
2
by: Paul | last post by:
Hi, I have experience in Java and C++ but I am rather new to C# and just started learning it. I am using Visual C# 2005 Express Edition and I found that there is a file called "AssemblyInfo.cs",...
0
by: =?Utf-8?B?Q29saXZpZXI=?= | last post by:
If anyone can help me with this I would really appreciate it: I have an assembly into which I have linked a manifest file as a Win32 resource. This is necessary since I want to use a class in this...
10
by: =?Utf-8?B?SmFtZXMgV29uZw==?= | last post by:
Hi everybody, I'm trying to use the new VB 2008 right now and I want to know how to preset the company name and copyright informtion in Assembly Information. In my current VB 2005, company name...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.