On Fri, 14 Feb 2014 17:59:44 +0100, Sönke Ludwig wrote:

-snip-
"versions": ["VibeWin32Driver"] should actually work (just tested
successfully on a local project). Do you build on the command line or
within VisualStudio? In the latter case, did you regenerate the project
file?

Hmmm... then there must be something wrong with my setup. I'm building with mono-d, but these tests are done on command line. It shouldnt matter anyways I guess. Maybe my package.json? I haven't yet fully grasped the format.

C:\test_flash\project>cat package.json
{
        "name": "packetexport",
        "description": "A minimal D application.",
        "copyright": "Copyright © 2014, Unknown",
        "authors": ["Unknown"],
        "dependencies": {
                "vibe-d": "~master"
        },
        "excludedSourceFiles" : ["source/lzma.d"],
        "versions": ["VibeWin32Driver", "VibeDefaultMain"]
}

C:\test_flash\project>dub --arch=x86_64
Got application for true
Checking dependencies in 'C:\test_flash\project'
Copying files...
Failed to copy to C:\test_flash\project\libevent.dll
Building configuration "application", build type debug
Compiling...
source\autodata.d(46): Warning: toHash() must be declared as extern (D) size_t toHash() const nothrow @safe, not const ulong()
Linking...
LINK : fatal error LNK1104: Datei "..\..\Users\Unknown\AppData\Roaming\dub\packages\vibe-d-master\lib\win-amd64\event2.lib" kann nicht geöffnet werden.
--- errorlevel 1104
Error executing command run: Link command failed with exit code 1104


C:\test_flash\project>