adding .net code to a classic asp website, can't reference namespaces in .dll file

后端 未结 2 1903
情话喂你
情话喂你 2021-01-23 15:44

I have an existing fairly large classic asp website, with virtual directories configured to centralize certain resources. My problem is for some reason I can\'t access any of my

2条回答
  •  不思量自难忘°
    2021-01-23 16:16

    Using an NTFS Junction Point to achieve what sounds like the same goal has been working for me.

    By way of an example, I have a web site with 20+ child IIS Applications that are largely identical (don't ask!), rather than duplicating the 'bin' folder in each of these (they would be identical) each child application has a 'bin' junction that points to the 'bin' folder in the web site root.

    /bin           <- this is the actual 'bin' folder
    /app1
    /app1/bin      <- this is a junction point
    /app2
    /app2/bin      <- this is a junction point
    /app3
    /app3/bin      <- this is a junction point
    /images
    ...
    ...
    

    To create these junction points, if you're using Vista/Win2k8 or later you can use the built-in command 'mklink', for earlier versions of Windows use the SysInternals junction.exe tool - available here.

提交回复
热议问题