Kevin,
Here's my directory structure:
e:\Solution\App\
|
|__Control Project
|
|__WinForm Project
|
|__WebService Project
|
|__Other Projects
My snk file resides in e:\Solution\App. All projects except the Web
Service one have the following in their AssemblyInfo file:
<Assembly: AssemblyKeyFile("..\..\..\App.snk")>
In VS2002 I simply had the following for the Web Service project:
<Assembly: AssemblyKeyFile("App.snk")>
and it worked fine. Since VS2003 I can't seem to do anything relative
AssemblyKeyFile attribute for the Web Service project. Absolutes work,
but not relatives. I have IIS set so that the default home directory
is e:\Solution. The Web Service project's VRoot local directory is set
to e:\Solution\App\WebService.
I did put the snk file in %HOMEPATH%\VSWebCache\<Machine
Name>\<Project
> Directory>\obj\DEBUG as you suggested. I still get the "can't find it" message. Is this a change from VS2002? Because it used to work.
Any ideas would be appreciated.
v-(E-Mail Removed) (Kevin Yu) wrote in message news:<(E-Mail Removed)>...
> Hi Norm,
>
> The location of the project output directory is dependent on whether you
> are working with a local or web project. For local projects, the project
> output directory is defined as <Project Directory>\obj\<Configuration>. For
> example, if your KeyFile is located in the project directory, you would
> specify the AssemblyKeyFile attribute as [assembly:
> AssemblyKeyFile("..\\..\\mykey.snk")] For web projects, the project output
> directory is defined as %HOMEPATH%\VSWebCache\<Machine Name>\<Project
> Directory>\obj\<Configuration>.
>
> Please check the folder to see if the strong name key file is there. If you
> have already put the strong name key file there, would you please tell me
> the error message when compiling?
>
> Kevin Yu
> =======
> "This posting is provided "AS IS" with no warranties, and confers no
> rights."