473,396 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

assembly: AssemblyKeyFile not supported in VS2005?

Hello everyone,
When using property assembly: AssemblyKeyFile in Visual Studio 2005, I find
that it is not supported and we need to using Project --Properties -->
Signing Tab to specify the sign key. Is that correct?
thanks in advance,
George
Jul 22 '07 #1
4 1593
IIRC, it is supported - just not recommended. I believe it still
compile and signs. Part of the problem here is a perceived (minor)
security issue with it exposing a path to the SNK. Note that if you
use installed key names (rather than paths), you can still do this,
but there is no UI option, so you have to edit the project file
directly.

Marc

Jul 22 '07 #2
Thanks MArc!
So, what in your mind is the best (most appropriate) solution? Using Project
Properties page to set the key file?
regards,
George

"Marc Gravell" wrote:
IIRC, it is supported - just not recommended. I believe it still
compile and signs. Part of the problem here is a perceived (minor)
security issue with it exposing a path to the SNK. Note that if you
use installed key names (rather than paths), you can still do this,
but there is no UI option, so you have to edit the project file
directly.

Marc

Jul 23 '07 #3
* George wrote, On 23-7-2007 15:24:
Thanks MArc!
So, what in your mind is the best (most appropriate) solution? Using Project
Properties page to set the key file?
That's now the preferred way. This prevents the exact keyfile
information from coming part of the final assembly. And it's the only
way available from the UI.

Jesse

>

regards,
George

"Marc Gravell" wrote:
>IIRC, it is supported - just not recommended. I believe it still
compile and signs. Part of the problem here is a perceived (minor)
security issue with it exposing a path to the SNK. Note that if you
use installed key names (rather than paths), you can still do this,
but there is no UI option, so you have to edit the project file
directly.

Marc

Jul 23 '07 #4
Thanks Jesse!
regards,
George

"Jesse Houwing" wrote:
* George wrote, On 23-7-2007 15:24:
Thanks MArc!
So, what in your mind is the best (most appropriate) solution? Using Project
Properties page to set the key file?

That's now the preferred way. This prevents the exact keyfile
information from coming part of the final assembly. And it's the only
way available from the UI.

Jesse



regards,
George

"Marc Gravell" wrote:
IIRC, it is supported - just not recommended. I believe it still
compile and signs. Part of the problem here is a perceived (minor)
security issue with it exposing a path to the SNK. Note that if you
use installed key names (rather than paths), you can still do this,
but there is no UI option, so you have to edit the project file
directly.

Marc

Jul 23 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jon Davis | last post by:
I'm strong-naming my nice big project now, never done this before... I understand (I think) that for creating a strong name key file, the assembly key file would be @"\..\..\myAssembly.snk" ...
4
by: Prigozhin Roman | last post by:
I'm trying to create a com object, code looks fine for me ( like other com objects I've created ) but this time I'm getting error : "There are no registrable types in the built assembly" Anyone...
6
by: Chris Fink | last post by:
I just installed my assembly to the GAC using the GACUTIL and I can see it in the winnt\assembly folder. However, I am unable to see the assembly when I import it into the project in the using...
2
by: steve bull | last post by:
When I run FXCop(1.32) against my project I keep getting the error "Assemblies should have strong names" and cannot get rid of the message. I edited the assembly info :
0
by: Erick Shuai | last post by:
In my project, I need to use custom attribute on all assemblies. This attribute will implement some non-functional code and I want to use it on assembly scope(AttributeTargets is Assembly). I...
11
by: Wolfgang Kaml | last post by:
I am not sure if this is more of an expert question, but I am sure that they are out there. I'd like to setup a general application or bin directory on my Win2003.Net Server that will hold some...
1
by: serge calderara | last post by:
Dear all, I have set my assembly to be sign as follow : <Assembly: AssemblyKeyFile("mykey.snk")> mykey file is located in the bin floder When compiling my assembly, it cannot locate the key...
3
by: Richard Lewis Haggard | last post by:
We are having a lot of trouble with problems relating to failures relating to 'The located assembly's manifest definition with name 'xxx' does not match the assembly reference" but none of us here...
3
by: Fabio R. | last post by:
Hi all, what can I do to avoid that someone replace a dll of my asp.net project with another one? Example: in check.dll there's the method VerifyUrl to check if the current domain name is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.