By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,361 Members | 1,800 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,361 IT Pros & Developers. It's quick & easy.

where does AssemblyInfo.cs company information come from?

P: n/a
The AssemblyInfo.cs file shows company information in two places:

[assembly: AssemblyCompany("COMPANY_NAME")]
[assembly: AssemblyCopyright("Copyright COMPANY_NAME 2007")]

Where does this come from? How can I change it? Right now
COMPANY_NAME is blank, but I noticed that for VB and C# installs on
machines that already have VS with a company name, both VB and C# went
and took this same company name (I think), and now it exists in
everything those compilers produce. I wonder if this is true, since I
don't recall telling it that information.

Zytan

Mar 10 '07 #1
Share this Question
Share on Google+
12 Replies


P: n/a
How can I change it?

I know how I can change it: Just type. I meant to ask: How can I
prevent it from defaulting to this information, so I needn't manually
fix it for every new project?

Zytan

Mar 10 '07 #2

P: n/a
VJ
Ok are you in 2.0? is so see the project property pages!!.. maybe that will
allow you to do what you want. As far as I know, I never seen the below
situation. Oh well yes for the packaging type projects I have seen them pull
it of, but that was 1.1, and if changed it got saved.

Hope I helped, if not let me know we can dig in more detail..

VJ

"Zytan" <zy**********@yahoo.comwrote in message
news:11*********************@30g2000cwc.googlegrou ps.com...
The AssemblyInfo.cs file shows company information in two places:

[assembly: AssemblyCompany("COMPANY_NAME")]
[assembly: AssemblyCopyright("Copyright COMPANY_NAME 2007")]

Where does this come from? How can I change it? Right now
COMPANY_NAME is blank, but I noticed that for VB and C# installs on
machines that already have VS with a company name, both VB and C# went
and took this same company name (I think), and now it exists in
everything those compilers produce. I wonder if this is true, since I
don't recall telling it that information.

Zytan
Mar 10 '07 #3

P: n/a
Ok are you in 2.0?

I must be, I have C# 2005.
is so see the project property pages!!..
You mean Project menu -Properties... ?
maybe that will
allow you to do what you want.
Yes, it allows me to change those settings within a dialog
(Application -Assembly Information...), but again, this means I have
to change it for every new project. Where does the information come
from to begin with? How can I change *that* information, so that the
assembly information is already what I want it to be for each new
project?
As far as I know, I never seen the below
situation. Oh well yes for the packaging type projects I have seen them pull
it of, but that was 1.1, and if changed it got saved.
Sorry, I don't follow this. You mean you have seen a newer install of
Visual Studio for a new language grab assembly information (company
name, etc) from an older install?
Hope I helped, if not let me know we can dig in more detail..
Thanks, VJ

Zytan

Mar 11 '07 #4

P: n/a
VJ
Ok I get now what are asking. You want the blank to be pre-populated with
certain Name, for say Windows Applications that you create with
New->Project. If that is the case, and any templates that are there, they
would be under C:\Program Files\Microsoft Visual Studio 8\Common7\IDE. I
have never altered them, but I hope it will not be complicated.

VJ

"Zytan" <zy**********@yahoo.comwrote in message
news:11*********************@h3g2000cwc.googlegrou ps.com...
>Ok are you in 2.0?

I must be, I have C# 2005.
>is so see the project property pages!!..

You mean Project menu -Properties... ?
>maybe that will
allow you to do what you want.

Yes, it allows me to change those settings within a dialog
(Application -Assembly Information...), but again, this means I have
to change it for every new project. Where does the information come
from to begin with? How can I change *that* information, so that the
assembly information is already what I want it to be for each new
project?
>As far as I know, I never seen the below
situation. Oh well yes for the packaging type projects I have seen them
pull
it of, but that was 1.1, and if changed it got saved.

Sorry, I don't follow this. You mean you have seen a newer install of
Visual Studio for a new language grab assembly information (company
name, etc) from an older install?
>Hope I helped, if not let me know we can dig in more detail..

Thanks, VJ

Zytan

Mar 11 '07 #5

P: n/a
Ok I get now what are asking. You want the blank to be pre-populated with
certain Name, for say Windows Applications that you create with
New->Project.
Yes, I want the default company name to be different. Right now it's
blank on one machine. It's the wrong company name on another (from an
old VS install, I presume).
If that is the case, and any templates that are there, they
would be under C:\Program Files\Microsoft Visual Studio 8\Common7\IDE. I
have never altered them, but I hope it will not be complicated.
I haven't made any templates. Or do you mean these are already
existing? I can't find anything there, but I'll do a thorough search
later, and see what I find.

Thanks,

Zytan

Mar 12 '07 #6

P: n/a
VJ
It should be there as Assembly.cs or of that type... if you edit that would
change the template. It should be simple. Let me know what works

VJ

"Zytan" <zy**********@yahoo.comwrote in message
news:11**********************@30g2000cwc.googlegro ups.com...
>Ok I get now what are asking. You want the blank to be pre-populated with
certain Name, for say Windows Applications that you create with
New->Project.

Yes, I want the default company name to be different. Right now it's
blank on one machine. It's the wrong company name on another (from an
old VS install, I presume).
>If that is the case, and any templates that are there, they
would be under C:\Program Files\Microsoft Visual Studio 8\Common7\IDE. I
have never altered them, but I hope it will not be complicated.

I haven't made any templates. Or do you mean these are already
existing? I can't find anything there, but I'll do a thorough search
later, and see what I find.

Thanks,

Zytan

Mar 12 '07 #7

P: n/a
It should be there as Assembly.cs or of that type... if you edit that would
change the template. It should be simple. Let me know what works
The only ones I can find are in zip files within subfolders of
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\VCSExpress\

Zytan

Mar 12 '07 #8

P: n/a
JR
See:

http://support.microsoft.com/kb/310441

http://groups.google.com/group/micro...14228bb898d434

JR

"Zytan" <zy**********@yahoo.com???
??????:11*********************@t69g2000cwt.googleg roups.com...
>It should be there as Assembly.cs or of that type... if you edit that
would
change the template. It should be simple. Let me know what works

The only ones I can find are in zip files within subfolders of
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\VCSExpress\

Zytan

Mar 12 '07 #9

P: n/a
VJ
I can't believe they still read the registry.. How will this work if run
VS.NET in Vista under restricted user, guess I cannot... interesting...

VJ

"JR" <No****@qsm.co.ilwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
See:

http://support.microsoft.com/kb/310441

http://groups.google.com/group/micro...14228bb898d434

JR

"Zytan" <zy**********@yahoo.com???
??????:11*********************@t69g2000cwt.googleg roups.com...
>>It should be there as Assembly.cs or of that type... if you edit that
would
change the template. It should be simple. Let me know what works

The only ones I can find are in zip files within subfolders of
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\VCSExpress\

Zytan


Mar 12 '07 #10

P: n/a
"VJ" <no***********@yahoo.comwrote in message
news:OD**************@TK2MSFTNGP02.phx.gbl...
>I can't believe they still read the registry.. How will this work if run VS.NET in Vista
under restricted user, guess I cannot... interesting...
It's VS who reads this info not the final application code. VS2005 has been patched (search
Vista update for VS2005) to be able to run under a restricted account and read this info
from the registry.
Willy.
Mar 12 '07 #11

P: n/a
http://support.microsoft.com/kb/310441
>
http://groups.google.com/group/micro...framework/brow...
Thanks, JR, that answers my question of where the source is (and how
to change it). Exactly what I wanted to know! :)

Zytan

Mar 13 '07 #12

P: n/a
http://support.microsoft.com/kb/310441

I just wanted to confirm that this registry info is what VS 2005 reads
from on the creating of a new project. So, this is the answer to my
question.
http://groups.google.com/group/micro...14228bb898d434
This registry entry doesn't have to be changed to see the results I
wanted (also, the numbers are different on my system, anyway, so I am
not sure what this information is).

Zytan

Mar 19 '07 #13

This discussion thread is closed

Replies have been disabled for this discussion.