Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / January 2006

Tip: Looking for answers? Try searching our database.

VS 2005: Sharing key along all projects in the the same solution

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve B. - 17 Jan 2006 16:16 GMT
Hello,

With VS 2003, I used to add a .snk file in the solution items, and for each
projects, I added the AssemblyKeyFile attribute in assemblyinfo.cs pointing
to that key file (..\..\..\mykey.snk).

With VS 2005, the project property page does not allow using relative path.
Moreover, if I browse for the key file, the file is duplicated. If I keep
the "old" syntax (using the attribute in assemblyinfo.cs), the compiler
throw a warning.

Is there any "official" way to share the same key file across all projects
in the same solution ?

Thanks,
Steve
NuTcAsE - 17 Jan 2006 18:05 GMT
>Is there any "official" way to share the same key file across all projects
>in the same solution ?

Whenever you use browse for the key file in the project property pages
it will ALWAYS copy the key file. Alternatively you can try editing the
AssemblyInfo.cs/vb file under the Properties node and manually add the
path to the key file there.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.