Ok, I've officially had it with trying to work this out:
Let's say I have the following directory structure:
Where Solution is the location of my .sln file, Project is the location of my .vbproj, and bin is where Visual Studio plonks the compiled binaries.
My problem is that every time I try something like this:
<Assembly: AssemblyKeyFile("Keyfile.snk")> ' Even with ..\ or ..\..\ preceeding the path
It won't usually compile. I say usually, because sometimes it just decides to be nice to me and compile, while other times it will simply refuse to find the file. I REALLY don't want to put the key files in an absolute location, but I can't for the life of me work out how to get VS.NET to find them. I've tried putting the .snk files in the Solution, Project AND bin directories, all to no avail.
Ideally, I want to stick my .snk files in the Project directory, so can anyone tell me what I'm missing?