Re: why relative hint path but absolute reference path

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Gary Chang (v-garych_at_online.microsoft.com)
Date: 09/30/04


Date: Thu, 30 Sep 2004 08:57:17 GMT

Hi gerry,

Additionaly, the project's reference file should use the absolute path such
as:
 <References>
                <Reference
                    Name = "System"
                    AssemblyName = "System"
                    HintPath
="C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll"
                />
..

And the project include files would use the relative path to locate:
<Files>
            <Include>
                <File
                    RelPath = "App.ico"
                    BuildAction = "Content"
                />
..

So do you make sure the referenced DLL file use a relative path in the
.csproj file?

Thanks!

Best regards,

Gary Chang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------



Relevant Pages

  • Re: DLL reference
    ... If you see a relative path, the reference was added via the file system. ... when i see the property of these missing DDL files, ... Can anyone tell me how to find from where the DLL file was referred? ...
    (microsoft.public.vsnet.general)
  • Re: Storing pictures using relative path
    ... Sub GetFile ... Dim retFile As String, dlg As Variant, s As String ... You'll need to add a reference to MS Office for it to work, ... > on relative path storing. ...
    (microsoft.public.access.forms)
  • Re: Why am I getting this error?
    ... I tried to use intellisence without any sucess. ... I suppose if u specify the relative path like "~\images\myimage.bmp" ... m> m> the error list pane, ... Any reference ...
    (microsoft.public.dotnet.framework.aspnet)
  • Broken reference link
    ... Is it possible to add reference to the project with relative path? ... out my VS projects links to references are broken, because of absolute path ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: deleting file --preserve-permissions
    ... The same behavior can be obtained by using an absolute or relative path ... reference. ... <Insert your favourite quote here.> ...
    (freebsd-questions)