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 / Visual Studio.NET / IDE / May 2004

Tip: Looking for answers? Try searching our database.

Expected location of AssemblyKeyFile where no path specified?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Craig Nicholas - 13 May 2004 16:51 GMT
H
I am unable to specify the AssemblyKeyFile file name without specifying a fully qualified path to the file; i.e.
<Assembly: AssemblyKeyFile("C:\solution folder\keyfile.snk")> works but
<Assembly: AssemblyKeyFile("keyfile.snk")> does not

All examples I have seen do not specify the full path to the key file. When building the solution in the Visual Studio .NE
IDE where does it look for the file? I've tried the solution folder, the project folder and the project's BIN folder

Is there an IDE configuration step I've missed

Thanks in advanc
Craig
Carlos J. Quintero [MVP] - 13 May 2004 17:04 GMT
The docs are wrong. I do not remember the relative location but try the
following until it works:

<Assembly: AssemblyKeyFile("..\keyfile.snk")>
<Assembly: AssemblyKeyFile("..\..\keyfile.snk")>
etc.

Signature

Carlos J. Quintero (Visual Developer - .NET MVP)

FAQs, Knowledge Base, Files, Docs, Articles, Utilities, etc. for .NET
addins:
http://groups.yahoo.com/group/vsnetaddin/ (free join)

> Hi
> I am unable to specify the AssemblyKeyFile file name without specifying a fully qualified path to the file; i.e.
[quoted text clipped - 8 lines]
> Thanks in advance
> Craig
Craig Nicholas - 14 May 2004 09:21 GMT
Hi Carlos
That worked fine once I'd increased the number of levels. I now understand it is in relation to the OBJ\RELEASE or OBJ\DEBUG subfolder; not in relation to the BIN folder

Regard
Crai
PS It's nice to get chased to reply.

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.