473,385 Members | 1,355 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,385 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 4093
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
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...

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.