I made a script to batch replace files in a project.
This script seems to work fine with WinXP.
But, an user reports the following error with Vista:
********************************
"An error occurred during execution of the script C:\Program Files\Sony\Vegas Pro 8.0\Script Menu\Batch Replace script\Batch_Replace.dll.
The located assembly's manifest definition does not match the assembly reference."
System.IO.FileLoadException: Could not load file or assembly 'Sony.Vegas, Version=8.0.0.179, Culture=neutral, PublicKeyToken=3cda94b1926e6fbc' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'Sony.Vegas, Version=8.0.0.179, Culture=neutral, PublicKeyToken=3cda94b1926e6fbc' ---> System.IO.FileLoadException: Could not load file or assembly 'Sony.Vegas, Version=8.0.0.217, Culture=neutral, PublicKeyToken=3cda94b1926e6fbc' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'Sony.Vegas, Version=8.0.0.217, Culture=neutral, PublicKeyToken=3cda94b1926e6fbc'
Full error message
***********************
Any help will be appreciated.
Gilles
This script seems to work fine with WinXP.
But, an user reports the following error with Vista:
********************************
"An error occurred during execution of the script C:\Program Files\Sony\Vegas Pro 8.0\Script Menu\Batch Replace script\Batch_Replace.dll.
The located assembly's manifest definition does not match the assembly reference."
System.IO.FileLoadException: Could not load file or assembly 'Sony.Vegas, Version=8.0.0.179, Culture=neutral, PublicKeyToken=3cda94b1926e6fbc' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'Sony.Vegas, Version=8.0.0.179, Culture=neutral, PublicKeyToken=3cda94b1926e6fbc' ---> System.IO.FileLoadException: Could not load file or assembly 'Sony.Vegas, Version=8.0.0.217, Culture=neutral, PublicKeyToken=3cda94b1926e6fbc' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'Sony.Vegas, Version=8.0.0.217, Culture=neutral, PublicKeyToken=3cda94b1926e6fbc'
Full error message
***********************
Any help will be appreciated.
Gilles