Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 3rd, 2004, 06:10 AM
Registered User
 
Join Date: Jul 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't build: snk file not foud

I have a problem in the setup with the key file:

I want to install the website in a different folder than C:\wrox\ThePhile.

I changed the AssemblyInfo.vb code to reflect this at :

<Assembly: AssemblyKeyFile("C:\Inetpub\wwwroot\plataforma\wro x\website\Keys\ThePhile.SNK")>

but VS yields an error when building (it's looking for C:\wrox\ThePhile\thphile.snk): "Error creating Assembly manifiest: Error reading key file c:\wrox\keys\thephile.snk"

how can solve this?

thanks
Luis

 
Old July 3rd, 2004, 08:34 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Did you change the pathname in EVERY AssemblyInfo.vb, and not just one of them?

I don't think it's a good idea to use someone else's strongly named key, anyway. Doesn't it defeat the purpose?

You don't need to use the GAC for this project, so there's no need to use strong keys, anyway. You can just comment them out in all of your AssemblyInfo.vb files.

Eric
 
Old July 4th, 2004, 05:21 AM
Registered User
 
Join Date: Jul 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

That worked out!
thanks a lot.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Build Cab file problem Timothy_Wang NAnt 0 July 14th, 2008 03:26 AM
build a .dll file batli25 .NET Framework 1.x 0 December 6th, 2005 07:16 AM
error when creating SNK file Syntax-Error BOOK: ASP.NET Website Programming Problem-Design-Solution 3 March 17th, 2005 09:13 AM
snk file skitto01 BOOK: ASP.NET Website Programming Problem-Design-Solution 1 December 30th, 2004 04:53 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.