Re: Where is System.Reflection.dll assembly?
- From: groovyjman21@xxxxxxxxx
- Date: 13 Dec 2006 12:42:02 -0800
Thank you on all three counts, Gabriel!
Gabriel Lozano-Morán wrote:
1) System.Reflection is a namespace in the Microsoft Common Runtime Library
(mscorlib.dll), normally you don't need to add the reference to this
assembly unless you accidentally removed it.
2) Why exactly do you need the System.Reflection namespace for?
3) Also try to centralize assembly attributes in \Properties\AssemblyInfo..cs
that's what it is made for.
Gabriel Lozano-Morán
The .NET Aficionado
http://www.pointerx.net
<groovyjman21@xxxxxxxxx> wrote in message
news:1166040130.325615.238840@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi, I am using FXCop on my c# project and it is complaining about
signing the assembly with a strong name key. All the documentation I
can find says to do:
using System.Reflection;
...
[assembly:AssemblyKeyFileAttribute("foo.key")] namespace Foo
Which is fine, except that I need to add a reference in my Project to
the System.Reflection.dll assembly and I can't find it. I have .NET
2.0 Framework installed and can find all my other necessary assemblies
at C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\. Do I need to
download System.Reflection somewhere? I thought it was a core
assembly? Help!
.
- Follow-Ups:
- Re: Where is System.Reflection.dll assembly?
- From: Gabriel Lozano-Morán
- Re: Where is System.Reflection.dll assembly?
- References:
- Where is System.Reflection.dll assembly?
- From: groovyjman21
- Re: Where is System.Reflection.dll assembly?
- From: Gabriel Lozano-Morán
- Where is System.Reflection.dll assembly?
- Prev by Date: Re: Background worker tasks sequentially?
- Next by Date: Re: Is file is being used
- Previous by thread: Re: Where is System.Reflection.dll assembly?
- Next by thread: Re: Where is System.Reflection.dll assembly?
- Index(es):
Relevant Pages
|