473,406 Members | 2,549 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,406 software developers and data experts.

Use of relative path in assembly info????

Dear all,

I ma update my assembly information and one of this
information is the path to the registration key file.

I have noticed that you need to provide the full path for
the key file, thats a bit enoying if you different people
are working on the same project becasue drive mapping can
be different.

is there the possibility to place relative path for the
key file in assembly info like as following?

<Assembly: AssemblyKeyFileAttribute
("..\UserManagement\sgKey.snk")>

thanks for your information
regards
serge
Jul 19 '05 #1
1 4098
That's what I do. Depending on the compiler, you need to put more ..\
in. For instance:

C:\Projects\MyProject contains the code and the key, and is the
project root. In C#, you should include ..\..\ I believe. In VB it's
only ..\. Or maybe the other way around. Experiment. :) I think
it's signed from the obj or bin directory, so escape as necesary.

-mike
MVP

"serge calderara" <se*************@maillefer.net> wrote in message
news:08****************************@phx.gbl...
Dear all,

I ma update my assembly information and one of this
information is the path to the registration key file.

I have noticed that you need to provide the full path for
the key file, thats a bit enoying if you different people
are working on the same project becasue drive mapping can
be different.

is there the possibility to place relative path for the
key file in assembly info like as following?

<Assembly: AssemblyKeyFileAttribute
("..\UserManagement\sgKey.snk")>

thanks for your information
regards
serge

Jul 19 '05 #2

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

Similar topics

4
by: Richard | last post by:
We are distributing a VS2003 solution to our customers that includes a .NET assembly (dll file) and a sample project for how to use the dll. The customer can then customize the sample or add a new...
4
by: Julia | last post by:
Hi, I have two application which 'evaluate'( New FileStream(path....) relative path, when evaluating the path inside a window service it always return something like ...
6
by: openleren | last post by:
Hi all, how can I use a relative path in my web.config file for an Access db?: Instead of using <configuration> <appSettings> <add key="conAccess" value="microsoft.jet.oledb.4.0;data...
18
by: Nak | last post by:
Hi there, Does anyone know what path the AssemblyKeyFile attribute is relative to? For example I currently have mine set to <Assembly: AssemblyKeyFile("..\NicksKey.snk")> Sometimes this...
1
by: gowens | last post by:
I've been trying to strong name my VB.Net v1.1 assembly with the strong name key that we're using for a project. The strongname.snk file is located in a root-level directory. No matter what I...
0
by: serge calderara | last post by:
Dear all, I ma update my assembly information and one of this information is the path to the registration key file. I have noticed that you need to provide the full path for the key file,...
3
by: JamesPaulHart | last post by:
Howdy! I'm following the Microsoft article http://msdn2.microsoft.com/en-us/library/ms228042.aspx to add Version info to my precompiled dlls. Essentially, it states that I modify my...
1
by: Peted | last post by:
Hello bellow is select sample of code im using to dynamicaly load assembley's and it works, but the assembley.loadfile requires that i use a absolute directory path. Is there anyway i can use...
3
by: timnels | last post by:
I would like to create a routine that loads an assembly only knowing it's name (like abc.dll) which I know is in the same directory as the executing assembly. Do all methods require an absolute...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.