473,396 Members | 1,608 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,396 software developers and data experts.

Version, copyright info?

Hi all:

Being that I am trying out VB.net for the first time finally, I am finding
much has changed. But what should be one of the easiest things to do is
somehow eluding me! Setting your project information such as copyright,
trademark and version numbers is simple in VB6. Right click on the project
and use the properties. But how do you do it in VS.Net 2003????? Right
clicking and selecting properties gives me NO such options for setting that
information nor does the tools menu|options selection. I have looked
through the help system, clicked on everything I can think of or see and for
the life of me I cannot find any place to set my copyright, trademark and
version information for a project.

What obvious thing am I missing?
--
Take it light....

Malakie
Ma*****@Hotmail.com
Nov 21 '05 #1
8 2329
Malakie,

Did you look at the AssemblyInfo.vb class which is created with every
project and than to the help about that.

(There are more ways to solve your question)

I hope this helps?

Cor
Nov 21 '05 #2
Hi:

Yes but nothing there that allows me to set copyright, trademark and project
version information.

--
Take it light....

Malakie
Ma*****@Hotmail.com
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
Malakie,

Did you look at the AssemblyInfo.vb class which is created with every
project and than to the help about that.

(There are more ways to solve your question)

I hope this helps?

Cor

Nov 21 '05 #3
>
Yes but nothing there that allows me to set copyright, trademark and project version information.


You do not have this in it?

<Assembly: AssemblyCompany("MyCompany")>
<Assembly: AssemblyProduct("MyAssemblyInfo")>
<Assembly: AssemblyCopyright("MyCopyRight")>

By the way this is for the EXE not for the MSI.

Cor
Nov 21 '05 #4
Hi:

Ahh ok I see what you are talking about now... and I thought .Net was
supposed to make like easier!? This means I have to manually update the
version of my application now correct? I wonder why they did not simply
make it part of the projects properties as in VS6 including the option to
automatically increment the version.

--
Take it light....

Malakie
Ma*****@Hotmail.com
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:eL**************@TK2MSFTNGP11.phx.gbl...

Yes but nothing there that allows me to set copyright, trademark and

project
version information.


You do not have this in it?

<Assembly: AssemblyCompany("MyCompany")>
<Assembly: AssemblyProduct("MyAssemblyInfo")>
<Assembly: AssemblyCopyright("MyCopyRight")>

By the way this is for the EXE not for the MSI.

Cor

Nov 21 '05 #5
* "Malakie" <Ma*****@Hotmail.com> scripsit:
Being that I am trying out VB.net for the first time finally, I am finding
much has changed. But what should be one of the easiest things to do is
somehow eluding me! Setting your project information such as copyright,
trademark and version numbers is simple in VB6. Right click on the project
and use the properties. But how do you do it in VS.Net 2003????? Right
clicking and selecting properties gives me NO such options for setting that
information nor does the tools menu|options selection. I have looked
through the help system, clicked on everything I can think of or see and for
the life of me I cannot find any place to set my copyright, trademark and
version information for a project.


Take a look at your project's "AssemblyInfo.vb" file. You will find
something like this there:

\\\
<Assembly: AssemblyTitle("")>
<Assembly: AssemblyDescription("")>
<Assembly: AssemblyCompany("")>
<Assembly: AssemblyProduct("")>
<Assembly: AssemblyCopyright("")>
<Assembly: AssemblyTrademark("")>
///

Replace the '""' with your assembly information.

In VB 2005, there will be a dialog for setting these attributes.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #6
Malakie,
The AssemblyVersion will automatically increment when you include * in the
string!

In fact the default is to automatically increment the assembly version! Via
the following Attribute:

<Assembly: AssemblyVersion("1.0.*")>

In addition to the AssemblyVersion which is include by default you can set
the Product Version & File Version with:

<Assembly: AssemblyInformationalVersion("1.0")> ' Product version
<Assembly: AssemblyFileVersion("1.0.0.0")> ' File version

If you exclude the AssemblyInformationalVersion & AssemblyFileVersion they
will default to AssemblyVersion. I normally add AssemblyInformationalVersion
but not AssemblyFileVersion.

For details see:

http://msdn.microsoft.com/library/de...assenamesp.asp
The following add-in will allow the AssemblyFileVersion to automatically
increment.

http://home.cfl.rr.com/njfiorello/autofile/

I don't see auto incrementing the Product version really makes sense...

Hope this helps
Jay

"Malakie" <Ma*****@Hotmail.com> wrote in message
news:ej*************@TK2MSFTNGP09.phx.gbl...
Hi:

Ahh ok I see what you are talking about now... and I thought .Net was
supposed to make like easier!? This means I have to manually update the
version of my application now correct? I wonder why they did not simply
make it part of the projects properties as in VS6 including the option to
automatically increment the version.

--
Take it light....

Malakie
Ma*****@Hotmail.com
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:eL**************@TK2MSFTNGP11.phx.gbl...

Yes but nothing there that allows me to set copyright, trademark and

project
version information.


You do not have this in it?

<Assembly: AssemblyCompany("MyCompany")>
<Assembly: AssemblyProduct("MyAssemblyInfo")>
<Assembly: AssemblyCopyright("MyCopyRight")>

By the way this is for the EXE not for the MSI.

Cor


Nov 21 '05 #7
Hi:

Thanks, I will take a look.

--
Take it light....

Malakie
Ma*****@Hotmail.com
"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> wrote in message
news:eV*************@TK2MSFTNGP11.phx.gbl...
Malakie,
The AssemblyVersion will automatically increment when you include * in the
string!

In fact the default is to automatically increment the assembly version!
Via
the following Attribute:

<Assembly: AssemblyVersion("1.0.*")>

In addition to the AssemblyVersion which is include by default you can set
the Product Version & File Version with:

<Assembly: AssemblyInformationalVersion("1.0")> ' Product version
<Assembly: AssemblyFileVersion("1.0.0.0")> ' File version

If you exclude the AssemblyInformationalVersion & AssemblyFileVersion they
will default to AssemblyVersion. I normally add
AssemblyInformationalVersion
but not AssemblyFileVersion.

For details see:

http://msdn.microsoft.com/library/de...assenamesp.asp
The following add-in will allow the AssemblyFileVersion to automatically
increment.

http://home.cfl.rr.com/njfiorello/autofile/

I don't see auto incrementing the Product version really makes sense...

Hope this helps
Jay

"Malakie" <Ma*****@Hotmail.com> wrote in message
news:ej*************@TK2MSFTNGP09.phx.gbl...
Hi:

Ahh ok I see what you are talking about now... and I thought .Net was
supposed to make like easier!? This means I have to manually update
the
version of my application now correct? I wonder why they did not simply
make it part of the projects properties as in VS6 including the option to
automatically increment the version.

--
Take it light....

Malakie
Ma*****@Hotmail.com
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:eL**************@TK2MSFTNGP11.phx.gbl...
> >
>> Yes but nothing there that allows me to set copyright, trademark and
> project
>> version information.
>
> You do not have this in it?
>
> <Assembly: AssemblyCompany("MyCompany")>
> <Assembly: AssemblyProduct("MyAssemblyInfo")>
> <Assembly: AssemblyCopyright("MyCopyRight")>
>
> By the way this is for the EXE not for the MSI.
>
> Cor
>
>



Nov 21 '05 #8
Hi:

I was just playing around in 2005 beta and noticed that. It is amazing they
left it out of 2002-2003 especially for those of us that got used to it is
VS6 and earlier. Not to mention I could not find hide nor hair anywhere in
the documentation about this and finally had to ask here.

--
Take it light....

Malakie
Ma*****@Hotmail.com
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:2o************@uni-berlin.de...
* "Malakie" <Ma*****@Hotmail.com> scripsit:
Being that I am trying out VB.net for the first time finally, I am
finding
much has changed. But what should be one of the easiest things to do is
somehow eluding me! Setting your project information such as copyright,
trademark and version numbers is simple in VB6. Right click on the
project
and use the properties. But how do you do it in VS.Net 2003?????
Right
clicking and selecting properties gives me NO such options for setting
that
information nor does the tools menu|options selection. I have looked
through the help system, clicked on everything I can think of or see and
for
the life of me I cannot find any place to set my copyright, trademark and
version information for a project.


Take a look at your project's "AssemblyInfo.vb" file. You will find
something like this there:

\\\
<Assembly: AssemblyTitle("")>
<Assembly: AssemblyDescription("")>
<Assembly: AssemblyCompany("")>
<Assembly: AssemblyProduct("")>
<Assembly: AssemblyCopyright("")>
<Assembly: AssemblyTrademark("")>
///

Replace the '""' with your assembly information.

In VB 2005, there will be a dialog for setting these attributes.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Stephen Durtschi | last post by:
I want to be able to set the version, copyright info, and file description on my executables. It seems like this should be a very simple thing, but I can't find where or how to do it.
6
by: James | last post by:
I have two question regarding the version resource that is generated for a satellite assembly. 1) I have a file in my C# console app project called StringResources.en-US.resx. When I build the...
2
by: Dave Cullen | last post by:
Is there a C# equivalent of the Version Info resource found in VC++ 6.0? Thanks
2
by: Gregory Khrapunovich | last post by:
I am sorry for such a simple question, but I cannot find the way to set version info for my Windows Forms C# project. I am using Visual Studio .Net 2003. How can I set version and other data...
4
by: Dave Cullen | last post by:
Where in a VB.NET project do you get to set the version properties of your executable? Version number, Copyright, biuld comments, etc (the stuff that shows up when you right-click...
5
by: Brian Henry | last post by:
If you want to read in the description/version/copyright of a file (any not necessarly a .NET one) how would you do this? I just want to list all the files in a directory and their version numbers...
2
by: Mike W | last post by:
When I right click on my .exe and go to the Version tab, I'll have a File version but no description, copyright or Company, Comments, Product Name, etc under Other Version Information. Where can I...
7
by: Rich | last post by:
I am resurrecting this question (since it got bumped down by more recent posts). This is probably very simple - I need to add a version resource to a DLL project in MSVC++ 2005 Express in order...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.