Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PM Install-Package error #32

Closed
jpeltonen opened this issue Apr 28, 2017 · 3 comments
Closed

PM Install-Package error #32

jpeltonen opened this issue Apr 28, 2017 · 3 comments
Labels
Milestone

Comments

@jpeltonen
Copy link

Tried to install in Visual Studio 2013 and got Import-Module error.

dllexport_install_error

@3F
Copy link
Owner

3F commented Apr 28, 2017

Can you check with v1.5.1 / v1.4.0 ?

Install-Package DllExport -Version 1.5.1

@3F 3F added the bug label Apr 28, 2017
@3F
Copy link
Owner

3F commented Apr 28, 2017

also I see that v1.5.2 now gives other error for VS2015 (I remember exactly that it was OK before o_o) when Install -> Remove -> Install (Cecil & Direct-Mod):

binmod: lpos(1425); ident(32)
binmod: buffer(500); fullseq(536)
Executing script file 'D:\tmp\2015\DllExportTSLib2\packages\DllExport.1.5.2\tools\init.ps1'...
The names of some imported commands from the module 'DllExportCmdLets' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
Executing script file 'D:\tmp\2015\DllExportTSLib2\packages\DllExport.1.5.2\tools\install.ps1'...
set new namespace(Cecil: True): (DllExportTSLib2) - (D:\tmp\2015\DllExportTSLib2\packages\DllExport.1.5.2\lib\net20\DllExport.dll)
cecil: NS property has been updated for DllExportAttribute.

The DllExport Library has been modified !

namespace: 'DllExportTSLib2' :: D:\tmp\2015\DllExportTSLib2\packages\DllExport.1.5.2\lib\net20\DllExport.dll
Details here: https://github.com/3F/DllExport/issues/2
The Export has been configured for platform: x86
The Base for ordinals: 1
Generate .exp + .lib via MS Library Manager: False
Use our IL Assembler: True
Successfully installed 'DllExport 1.5.2' to DllExportTSLib2

v

Executing script file 'D:\tmp\2015\DllExportTSLib2\packages\DllExport.1.5.2\tools\uninstall.ps1'...
Removed package 'DllExport.1.5.2' from 'packages.config'
Successfully uninstalled 'DllExport.1.5.2' from DllExportTSLib2
Removing package 'DllExport.1.5.2' from folder 'D:\tmp\2015\DllExportTSLib2\packages'
Skipping 'D:\tmp\2015\DllExportTSLib2\packages\DllExport.1.5.2\lib/net20/DllExport.dll' because it was modified.
Removed package 'DllExport.1.5.2' from folder 'D:\tmp\2015\DllExportTSLib2\packages'

v

Executing script file 'D:\tmp\2015\DllExportTSLib2\packages\DllExport.1.5.2\tools\install.ps1'...
Set-Configuration : Cannot bind parameter 'MetaLib' to the target. Exception setting "MetaLib": "[A]net.r_eg.DllExport.
Configurator.SetConfigurationCmdlet cannot be cast to [B]net.r_eg.DllExport.Configurator.SetConfigurationCmdlet. Type A
 originates from 'net.r_eg.DllExport.Configurator, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e25d2e78e2441842' i
n the context 'LoadNeither' in a byte array. Type B originates from 'net.r_eg.DllExport.Configurator, Version=1.0.0.0, 
Culture=neutral, PublicKeyToken=e25d2e78e2441842' in the context 'LoadNeither' in a byte array."
At D:\tmp\2015\DllExportTSLib2\packages\DllExport.1.5.2\tools\install.ps1:22 char:28
+ Set-Configuration -MetaLib "$metaLib" -InstallPath "$installPath" -To ...
+                            ~~~~~~~~~~
    + CategoryInfo          : WriteError: (:) [Set-Configuration], ParameterBindingException
    + FullyQualifiedErrorId : ParameterBindingFailed,net.r_eg.DllExport.Configurator.SetConfigurationCmdlet

@3F 3F added this to the v1.5.3 milestone Jun 3, 2017
@3F
Copy link
Owner

3F commented Aug 20, 2017

I closed this issue because of new Wizard for v1.6+ versions. You already can test it via our beta releases:

If you still have a some related problems, please create new issue for new planned Wizard.

@3F 3F closed this as completed Aug 20, 2017
@3F 3F modified the milestones: v1.6, v1.5.3 Aug 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants