rodneyviana / ODSyncService

OneDrive service/DLL for Sync State
MIT License
93 stars 26 forks source link

Windows 7 doesn't work #7

Closed ghost closed 4 years ago

ghost commented 4 years ago

hello,

i can import the module on Windows 7, could you tell me what was the dependency missed

rodneyviana commented 4 years ago

If you have .NET 4.5 it should work.

ghost commented 4 years ago

thks rodney, my win7 have .NET 4.7 and it doesn't work :(

dzhuang commented 4 years ago

Same here (Windows 7)!

The translated error log (because it displays Chinese) :

Import-Module : Unabled to load file or module “file:///C:\Users\dzhuang\Downloads\tmp\OneDriveLib.dll” or one of its dependencies. The module should include a list of modules.

Location Line:1 Character: 14

With the following stacks:

+ Import-Module <<<<  C:\Users\dzhuang\Downloads\tmp\OneDriveLib.dll
    + CategoryInfo          : NotSpecified: (:) [Import-Module], BadImageFormatException
    + FullyQualifiedErrorId : System.BadImageFormatException,Microsoft.PowerShell.Commands.ImportModuleCommand
ghost commented 4 years ago

fixed, the onedrivelib was block, I unblock it with Properties options on File Explorer thks