Skip to content

Commit

Permalink
Public release of the .NET DllExport v1.6.1
Browse files Browse the repository at this point in the history
* FIXED: Fixed bug when some methods cannot be exported. Issue #59.
* FIXED: Bug 'The node is not parented by this object' when Configuring projects. Issue: #77.
* FIXED: Fixed GDI objects leak in Wizard.
* FIXED: `-msb` key cannot affect for GetNuTool section. Issue #74.
* FIXED: Bug when automatic restoring still uses default keys from manager after configuring with custom `-server`.
* FIXED: Problem with double quotes for `-packages` key.
* FIXED: Possible incorrect repetition of the relative path for `-packages` key.
* FIXED: Possible problem 'The request was aborted: Could not create SSL/TLS secure channel.'. Issue: #77.
* FIXED: Possible problem with path when `-msb` key contains round brackets,
         e.g.: `D:\C\Program Files (x86)\Microsoft Visual Studio\`...

* NEW: Implemented features for additional automation. Issue #76.
        New actions:
            * `-action Export`
            * `-action Recover`
            * `-action Unset`

        Documentation: https://github.com/3F/DllExport/wiki/DllExport-Manager#automation

* NEW: Added proxy support for manager.
        The common format: `[usr[:pwd]@]host[:port]`

        Documentation: https://github.com/3F/DllExport/wiki/DllExport-Manager#proxy

* NEW: Wizard. Added sorting an projects in main window by its installing status and by availability.
* NEW: Wizard. Added filter for list of projects in main wizard window.
* NEW: New 'Offline' versions from our packages. See GitHub Releases page.
* NEW: Added key to force update `Reference` without PublicKeyToken. Issue #65.
* NEW: Added `-force` key for manager to use aggressive behavior, e.g. like removing pkg when updating.
       Wiki: https://github.com/3F/DllExport/wiki/DllExport-Manager#receiving-new-package-version

* NEW: New action `-action Upgrade`.
       Aggregates an Update action with additions for upgrading.

            Today's an Upgrade action:
            ```
            DllExport -action Upgrade ...
            ```

            is equal to:
            ```
            DllExport -action Update -mgr-up -force ...
            ```

            Wiki: https://github.com/3F/DllExport/wiki/DllExport-Manager#updating

* CHANGED: Case sensitivity for the Action names.
* CHANGED: `-action Default` for nothing.
* CHANGED: UI layout fixes for -Info form (Thanks @Genteure, Issue #61).
* CHANGED: Allows absolute path for `-packages` key.
* CHANGED: `-sln-file` key now can affect to `-action Configure`
* CHANGED: hMSBuild tool now is also distributed inside root directory of the packages zip & nupkg.
           Use this for EXP0014 problem: "RunIlAsm. The library manager still cannot be found."
           Example: https://www.youtube.com/watch?v=zUejJ4vUPGw

* CHANGED: Updated GetNuTool v1.6.2
* CHANGED: Updated MvsSln v2.1.0
* OTHER: Some other fixes and changes with manager and wizard.
* NOTE: To upgrade configured version: `DllExport -action Upgrade ...`
* NOTE: Configuring projects: `DllExport -action Configure ...`
* NOTE: Screencasts:
            * Quick start: https://www.youtube.com/watch?v=sBWt-KdQtoc
            * Basic examples for C++ and C#: https://www.youtube.com/watch?v=9Hyg3_WE9Ks
            * Complex types and Strings: https://www.youtube.com/watch?v=QXMj9-8XJnY

* NOTE: Our actual wiki - https://github.com/3F/DllExport/wiki
        * Documentation for manager: https://github.com/3F/DllExport/wiki/DllExport-Manager
  • Loading branch information
3F committed Aug 5, 2018
1 parent 8e69221 commit e6c3d30
Show file tree
Hide file tree
Showing 12 changed files with 121 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .version
@@ -1 +1 @@
1.6.0
1.6.1
31 changes: 31 additions & 0 deletions .vssbe
Expand Up @@ -169,6 +169,37 @@
]
}
},
{
"Enabled": true,
"Name": "CBuild",
"Caption": "Custom build for dependencies ...",
"SupportMSBuild": false,
"SupportSBEScripts": false,
"IgnoreIfBuildFailed": false,
"BuildType": "Common",
"Confirmation": false,
"ToConfiguration": [
"PublicRelease|Any CPU"
],
"ExecutionOrder": {
"$type": "net.r_eg.vsSBE.Events.ExecutionOrder[], vsSolutionBuildEvent",
"$values": []
},
"Process": {
"$type": "net.r_eg.vsSBE.Events.EventProcess, vsSolutionBuildEvent",
"Waiting": true,
"Hidden": true,
"TimeLimit": 300
},
"Mode": {
"$type": "net.r_eg.vsSBE.Events.ModeFile, vsSolutionBuildEvent",
"Type": "File",
"Command": "cd MvsSln & build PublicRelease",
"Command__": [
"cd MvsSln & build PublicRelease"
]
}
},
{
"Enabled": true,
"Name": "ActUpdVersions",
Expand Down
4 changes: 2 additions & 2 deletions Configurator/ConfVersion.cs
Expand Up @@ -8,8 +8,8 @@ internal struct ConfVersion
{
public static readonly Version number = new Version(S_NUM_REV);

public const string S_NUM = "1.6.0";
public const string S_REV = "9361";
public const string S_NUM = "1.6.1";
public const string S_REV = "51809";
public const string S_REL = "";

public const string S_NUM_REV = S_NUM + "." + S_REV;
Expand Down
2 changes: 1 addition & 1 deletion GetNuTool
Submodule GetNuTool updated 3 files
+1 −1 .version
+2 −2 README.md
+10 −0 changelog.txt
2 changes: 1 addition & 1 deletion Metadata/AssemblyInfo.cs
Expand Up @@ -12,4 +12,4 @@
[assembly: Guid("E0E525D9-49F8-4641-910F-E9D01821AB15")]

//[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.6.0.*")]
[assembly: AssemblyVersion("1.6.1.*")]
2 changes: 1 addition & 1 deletion MvsSln
Submodule MvsSln updated 4 files
+1 −1 .version
+1 −1 Readme.md
+20 −0 changelog.txt
+8 −7 tools/gnt.bat
2 changes: 1 addition & 1 deletion RGiesecke.DllExport.MSBuild/DllExportVersion.cs
Expand Up @@ -10,6 +10,6 @@ namespace RGiesecke.DllExport
// but currently I don't want to change this, because it will be automatically changed if plugin exists (use .version)
internal struct DllExportVersion
{
internal const string Version = "1.6.0";
internal const string Version = "1.6.1";
}
}
2 changes: 1 addition & 1 deletion RGiesecke.DllExport/DllExportVersion.cs
Expand Up @@ -10,6 +10,6 @@ namespace RGiesecke.DllExport
// but currently I don't want to change this, because it will be automatically changed if plugin exists (use .version)
internal struct DllExportVersion
{
internal const string Version = "1.6.0";
internal const string Version = "1.6.1";
}
}
4 changes: 2 additions & 2 deletions Readme.md
Expand Up @@ -12,8 +12,8 @@ Copyright (c) 2016-2018 Denis Kuzmin <entry.reg@gmail.com> :: github.com/3F
[![License](https://img.shields.io/badge/License-MIT-74A5C2.svg)](https://github.com/3F/DllExport/blob/master/LICENSE)
[![NuGet package](https://img.shields.io/nuget/v/DllExport.svg)](https://www.nuget.org/packages/DllExport/)
[![coreclr_ILAsm](https://img.shields.io/badge/coreclr_ILAsm-v4.5.1-C8597A.svg)](https://www.nuget.org/packages/ILAsm/)
[![GetNuTool core](https://img.shields.io/badge/GetNuTool-v1.6.1-93C10B.svg)](https://github.com/3F/GetNuTool)
[![MvsSln](https://img.shields.io/badge/MvsSln-v2.0.0-865FC5.svg)](https://github.com/3F/MvsSln)
[![GetNuTool core](https://img.shields.io/badge/GetNuTool-v1.6.2-93C10B.svg)](https://github.com/3F/GetNuTool)
[![MvsSln](https://img.shields.io/badge/MvsSln-v2.1.0-865FC5.svg)](https://github.com/3F/MvsSln)
[![Conari](https://img.shields.io/badge/Conari-v1.3.0-8AA875.svg)](https://github.com/3F/Conari)

[`DllExport`](https://3f.github.io/DllExport/releases/latest/manager/)` -action Configure` [[?](#how-to-get-dllexport)]
Expand Down
4 changes: 2 additions & 2 deletions Wizard/WizardVersion.cs
Expand Up @@ -8,8 +8,8 @@ internal struct WizardVersion
{
public static readonly Version number = new Version(S_NUM_REV);

public const string S_NUM = "1.6.0";
public const string S_REV = "9361";
public const string S_NUM = "1.6.1";
public const string S_REV = "51809";
public const string S_REL = "";

public const string S_NUM_REV = S_NUM + "." + S_REV;
Expand Down
70 changes: 70 additions & 0 deletions changelog.txt
@@ -1,6 +1,76 @@
DllExport - https://github.com/3F/DllExport
- - - - - - - - - - - - - - - - - - - - - -

[v1.6.1] 2018.08.05

* FIXED: Fixed bug when some methods cannot be exported. Issue #59.
* FIXED: Bug 'The node is not parented by this object' when Configuring projects. Issue: #77.
* FIXED: Fixed GDI objects leak in Wizard.
* FIXED: `-msb` key cannot affect for GetNuTool section. Issue #74.
* FIXED: Bug when automatic restoring still uses default keys from manager after configuring with custom `-server`.
* FIXED: Problem with double quotes for `-packages` key.
* FIXED: Possible incorrect repetition of the relative path for `-packages` key.
* FIXED: Possible problem 'The request was aborted: Could not create SSL/TLS secure channel.'. Issue: #77.
* FIXED: Possible problem with path when `-msb` key contains round brackets,
e.g.: `D:\C\Program Files (x86)\Microsoft Visual Studio\`...

* NEW: Implemented features for additional automation. Issue #76.
New actions:
* `-action Export`
* `-action Recover`
* `-action Unset`

Documentation: https://github.com/3F/DllExport/wiki/DllExport-Manager#automation

* NEW: Added proxy support for manager.
The common format: `[usr[:pwd]@]host[:port]`

Documentation: https://github.com/3F/DllExport/wiki/DllExport-Manager#proxy

* NEW: Wizard. Added sorting an projects in main window by its installing status and by availability.
* NEW: Wizard. Added filter for list of projects in main wizard window.
* NEW: New 'Offline' versions from our packages. See GitHub Releases page.
* NEW: Added key to force update `Reference` without PublicKeyToken. Issue #65.
* NEW: Added `-force` key for manager to use aggressive behavior, e.g. like removing pkg when updating.
Wiki: https://github.com/3F/DllExport/wiki/DllExport-Manager#receiving-new-package-version

* NEW: New action `-action Upgrade`.
Aggregates an Update action with additions for upgrading.

Today's an Upgrade action:
```
DllExport -action Upgrade ...
```

is equal to:
```
DllExport -action Update -mgr-up -force ...
```

Wiki: https://github.com/3F/DllExport/wiki/DllExport-Manager#updating

* CHANGED: Case sensitivity for the Action names.
* CHANGED: `-action Default` for nothing.
* CHANGED: UI layout fixes for -Info form (Thanks @Genteure, Issue #61).
* CHANGED: Allows absolute path for `-packages` key.
* CHANGED: `-sln-file` key now can affect to `-action Configure`
* CHANGED: hMSBuild tool now is also distributed inside root directory of the packages zip & nupkg.
Use this for EXP0014 problem: "RunIlAsm. The library manager still cannot be found."
Example: https://www.youtube.com/watch?v=zUejJ4vUPGw

* CHANGED: Updated GetNuTool v1.6.2
* CHANGED: Updated MvsSln v2.1.0
* OTHER: Some other fixes and changes with manager and wizard.
* NOTE: To upgrade configured version: `DllExport -action Upgrade ...`
* NOTE: Configuring projects: `DllExport -action Configure ...`
* NOTE: Screencasts:
* Quick start: https://www.youtube.com/watch?v=sBWt-KdQtoc
* Basic examples for C++ and C#: https://www.youtube.com/watch?v=9Hyg3_WE9Ks
* Complex types and Strings: https://www.youtube.com/watch?v=QXMj9-8XJnY

* NOTE: Our actual wiki - https://github.com/3F/DllExport/wiki
* Documentation for manager: https://github.com/3F/DllExport/wiki/DllExport-Manager

[v1.6] 2017.12.29

* NEW: The new embeddable lightweight manager for distribution via MvsSln & GetNuTool projects. Issue #38.
Expand Down

9 comments on commit e6c3d30

@haller9816
Copy link

@haller9816 haller9816 commented on e6c3d30 Aug 25, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi all,

sorry, but I don't know how to do this.
I do programming a vb.net routine and I need a DLL from this with an unmanaged interface.
Everywhere it is written, it's not possible. Then I read about github DllExport and I hoped, that is a possibelity. But I don't know what I need and how I do that.
Can someone help me?
Thank you

Olaf

ps: I work with Visual Studio 2017

@3F
Copy link
Owner Author

@3F 3F commented on e6c3d30 Aug 25, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@haller9816 Did you try to read our documentation?

We also have our detailed screencasts even for complex types or strings!

@haller9816
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Denis,

such a guide I looked for. Many thanks.

Olaf

@haller9816
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Denis,

such a guide I looked for. Many thanks.

Olaf

@haller9816
Copy link

@haller9816 haller9816 commented on e6c3d30 Aug 26, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Denis,

is there an example in vb.net?
For C#.net I used the example from quickstart (like you said) and that worked. Now I tried the same in VB.net
In C# there is the command:

using System.Runtime.InteropServices;

but I don't know how to do that in VB.
Can you help me again.

Greetings from Vienna/Austria

Olaf

@3F
Copy link
Owner Author

@3F 3F commented on e6c3d30 Aug 26, 2018 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@haller9816
Copy link

@haller9816 haller9816 commented on e6c3d30 Aug 26, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much

@haller9816
Copy link

@haller9816 haller9816 commented on e6c3d30 Aug 26, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Denis,

such a big ... pity. I tried a lot of different possibilities, even namespaces and of course "DllExport -action Configure".
But I was not able to build an interface to use vb.net in an unmanaged language.
Do not you know an example usage? Maybe you know someone who have done this.

Olaf

@3F
Copy link
Owner Author

@3F 3F commented on e6c3d30 Aug 26, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@haller9816

to build an interface

I hope we're talking not about COM Interface and so on. As result you will have an exported functions (see related PInvoke docs) in your modified pe-module (lib or exe) for your favorite unmanaged language.

What language is planned to use in unmanaged side? We also have screencasts for C++ & Java.

Mainly, please specify error or some details. And please note, we still have no support of .net core.

Maybe you know someone who have done this.

exactly on vb.net:

#30
#25


For everyone

Please create new issue for any questions or problems instead of non-related discussions for specific commits:

Click here:

Otherwise, I will delete or lock non-related streams. Just for our convenience, please understand.

Please sign in to comment.