IDE Project References

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bob Costello

    IDE Project References

    When I add a reference to a VS.NET project by using the Browse button, the
    Path in the Reference properties seems to be read only. I really would like
    to use relative paths so individuals on different systems can use their own
    local directory structure when build. Is there anyway to accomplish this?
  • bazad

    #2
    Re: IDE Project References

    Bob Costello <Bob Costello@discus sions.microsoft .com> writes:
    [color=blue]
    > When I add a reference to a VS.NET project by using the Browse button, the
    > Path in the Reference properties seems to be read only. I really would like
    > to use relative paths so individuals on different systems can use their own
    > local directory structure when build. Is there anyway to accomplish this?[/color]

    If you have source code to the Assemblies it is better to put
    everything into one solution and add projects instead of assemblies.
    In "Add Reference" dialog you would use Projects tab in this case.

    If you have no source code (3rd party assemblies), the best way is to
    keep 3rd party assemblies as part of the solution tree. Add Assemlies
    with Browse button. Then close Visual Studio and modify *.csproj file
    manually:

    <Reference
    Name = "3rdParty"
    AssemblyName = "3rdParty"
    HintPath = "..\ExternalDep endencies\3rdPa rty.dll"
    />

    --
    To make the following email address valid remove RM from it.

    sergeigaRM@yaho o.com

    Comment

    Working...