all groups > dotnet clr > september 2006 >
You're in the

dotnet clr

group:

Fusion binding - DEVPATH setting doesn't appear to work


Fusion binding - DEVPATH setting doesn't appear to work Matt Adamson
9/14/2006 12:00:00 AM
dotnet clr:

As per the instructions at
http://msdn2.microsoft.com/en-us/library/cskzh7h6.aspx I've performed the
following

a) Created a system environment variable DEVPATH set to m:\debug.
b) Added the following to the machine.config for .NET 1.1

<runtime>
<developmentMode developerInstallation="true"/>
</runtime>

When I debug an unmanaged application using a CCW to create a .NET component
the output from fusion binding log viewer is shown below. However I didn't
expect the entry "DEVPATH is not set. Falling through to regular bind.", any
ideas?


The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\fusion.dll
Running under executable K:\Development\notification
administrator\Debug\Notification.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: DisplayName = Tranmit.Sprinter.Interop, Version=1.0.6.0,
Culture=neutral, PublicKeyToken=a7e947bc8958e994
(Fully-specified)
LOG: Appbase = K:\Development\notification administrator\Debug\
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = NULL
Calling assembly : (Unknown).
===

LOG: Processing DEVPATH.
LOG: DEVPATH is not set. Falling through to regular bind.
LOG: Attempting application configuration file download.
LOG: Download of application configuration file was attempted from
file:///K:/Development/notification
administrator/Debug/Notification.exe.config.
LOG: Found application configuration file (K:\Development\notification
administrator\Debug\Notification.exe.config).
LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: Tranmit.Sprinter.Interop, Version=1.0.6.0,
Culture=neutral, PublicKeyToken=a7e947bc8958e994
LOG: Cache Lookup was unsuccessful.
LOG: Attempting download of new URL file:///K:/Development/notification
administrator/Debug/Tranmit.Sprinter.Interop.DLL.
LOG: Attempting download of new URL file:///K:/Development/notification
administrator/Debug/Tranmit.Sprinter.Interop/Tranmit.Sprinter.Interop.DLL.
LOG: Attempting download of new URL file:///K:/Development/notification
administrator/Debug/Tranmit.Sprinter.Interop.EXE.
LOG: Attempting download of new URL file:///K:/Development/notification
administrator/Debug/Tranmit.Sprinter.Interop/Tranmit.Sprinter.Interop.EXE.
LOG: All probing URLs attempted and failed.

Re: Fusion binding - DEVPATH setting doesn't appear to work Matt Adamson
9/18/2006 12:00:00 AM
I've got part the first part of this after realising that the path set in
DEVPATH has to have a closing ; character e.g. m:\release; in this case.

However I now get still get an error when reviewing the fusion binding log
i.e.

LOG: Processing DEVPATH.
LOG: Unable to find assembly in DEVPATH location:
m:\release\Tranmit.Sprinter.Interop.DLL.
LOG: Unable to find assembly in DEVPATH location:
m:\release\Tranmit.Sprinter.Interop.EXE.
LOG: Unable to find assembly in DEVPATH.
LOG: Publisher policy file is not found.

The file does indeed exist in this location, does anyone have any ideas?


[quoted text, click to view]

Re: Fusion binding - DEVPATH setting doesn't appear to work Matt Adamson
9/19/2006 10:58:59 AM
Any ideas anyone?

Does anyone from the CLR team read these posts who can help?

[quoted text, click to view]

Re: Fusion binding - DEVPATH setting doesn't appear to work Matt Adamson
9/27/2006 11:10:56 AM
Any thoughts?

[quoted text, click to view]

Re: Fusion binding - DEVPATH setting doesn't appear to work Matt Adamson
10/10/2006 9:34:01 PM
Does anyone have any thoughts?

[quoted text, click to view]

Re: Fusion binding - DEVPATH setting doesn't appear to work nrolland
10/25/2006 1:25:26 AM
I have no suggestion, but one question for you :
After failing to look for DEVPATH in your first log, why is there no
GAC lookup ?


I have a related message:
http://groups-beta.google.com/group/microsoft.public.dotnet.general/browse_thread/thread/580a728b23d0561a/d1a3185aeaafc96b#d1a3185aeaafc96b)

Nicolas

On Oct 10, 10:34 pm, "Matt Adamson" <Adamson_matt...@hotmail.com>
[quoted text, click to view]
AddThis Social Bookmark Button