Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
GeneralResources files in VS.NET with CSharp. Pin
NeoAsimov6-Feb-04 5:50
NeoAsimov6-Feb-04 5:50 
GeneralRe: Resources files in VS.NET with CSharp. Pin
Kentamanos6-Feb-04 9:07
Kentamanos6-Feb-04 9:07 
GeneralRe: Resources files in VS.NET with CSharp. Pin
NeoAsimov6-Feb-04 9:28
NeoAsimov6-Feb-04 9:28 
GeneralAdding an event to prepackaged control Pin
dgroves6-Feb-04 5:01
dgroves6-Feb-04 5:01 
GeneralRe: Adding an event to prepackaged control Pin
Heath Stewart7-Feb-04 19:43
protectorHeath Stewart7-Feb-04 19:43 
GeneralRe: Adding an event to prepackaged control Pin
dgroves9-Feb-04 4:42
dgroves9-Feb-04 4:42 
GeneralPrivate Assembly in same Solution Pin
Anonymous6-Feb-04 4:52
Anonymous6-Feb-04 4:52 
GeneralRe: Private Assembly in same Solution Pin
Heath Stewart7-Feb-04 19:47
protectorHeath Stewart7-Feb-04 19:47 
A strong name assembly has a version and public key token, and you should always build assemblies as such in order to stick them in the GAC, enable assembly binding redirection (handle for upgrades), better code access security through simplified evidence, and much more!

Generate a key pair using
sn.exe -k KeyFile.snk
Keep this somewhere safe. In your projects (presumably in the AssemblyInfo.cs file), add the path to that key file in the AssemblyKeyFileAttribute, or if you added it to a container using
sn.exe -i KeyFile.snk MyContainerName
put that name in the AssemblyKeyNameAttribute.

Also make sure that the AssemblyVersionAttribute has a value, but I highly recommend both from lots of experience and from Microsoft's own recommendations not to use automatic versioning (via the asterisk) in multi-project solutions because versioning can get out of hand VERY quickly.

 

Microsoft MVP, Visual C#
My Articles
GeneralObject reference not set to an instance of an object. Pin
cdwaddell6-Feb-04 4:06
cdwaddell6-Feb-04 4:06 
GeneralRe: Object reference not set to an instance of an object. Pin
Douglas Troy6-Feb-04 4:15
Douglas Troy6-Feb-04 4:15 
GeneralRe: Object reference not set to an instance of an object. Pin
cdwaddell6-Feb-04 4:22
cdwaddell6-Feb-04 4:22 
GeneralRe: Object reference not set to an instance of an object. Pin
Douglas Troy6-Feb-04 4:35
Douglas Troy6-Feb-04 4:35 
Generalsetting install location for merge module Pin
godzooky6-Feb-04 3:58
godzooky6-Feb-04 3:58 
GeneralRe: setting install location for merge module Pin
Douglas Troy6-Feb-04 4:04
Douglas Troy6-Feb-04 4:04 
GeneralRe: setting install location for merge module Pin
godzooky6-Feb-04 4:37
godzooky6-Feb-04 4:37 
GeneralRe: setting install location for merge module Pin
Douglas Troy6-Feb-04 6:09
Douglas Troy6-Feb-04 6:09 
GeneralRecommended Book Pin
pn19956-Feb-04 3:41
pn19956-Feb-04 3:41 
GeneralRe: Recommended Book Pin
Douglas Troy6-Feb-04 4:11
Douglas Troy6-Feb-04 4:11 
GeneralRe: Recommended Book Pin
Charlie Williams6-Feb-04 5:45
Charlie Williams6-Feb-04 5:45 
GeneralControlling generation of interface stubs Pin
Robert Matheson6-Feb-04 1:32
Robert Matheson6-Feb-04 1:32 
Generaldestructor and dispose Pin
GetOn&GetGoing6-Feb-04 1:08
GetOn&GetGoing6-Feb-04 1:08 
GeneralRe: destructor and dispose Pin
Colin Angus Mackay6-Feb-04 2:17
Colin Angus Mackay6-Feb-04 2:17 
GeneralC# Program Pin
SatyaDY5-Feb-04 23:00
SatyaDY5-Feb-04 23:00 
GeneralRe: C# Program Pin
Heath Stewart6-Feb-04 2:49
protectorHeath Stewart6-Feb-04 2:49 
QuestionCreate .dll's in VS.NET? Pin
Morten Kristensen5-Feb-04 22:29
Morten Kristensen5-Feb-04 22:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.