3F / DllExport

.NET DllExport with .NET Core support (aka 3F/DllExport aka DllExport.bat)
MIT License
940 stars 131 forks source link

Visual studio 2017 [Fatal] ERROR-Wizard: The format `Debug` of configuration is not supported when running DllExport.bat #91

Closed justin-romano closed 5 years ago

justin-romano commented 5 years ago
  1. Drop to admin command line
  2. run DllExport.bat -action Configure
  3. Select the solution file Error is
    [2:16:37 PM.9158] [Info] vW: 1.6.2.1044  [ 9fa5bbb ]
    [2:16:37 PM.9246] [Debug] SlnDir: 'F:\src\ExternalExperiment2\ThirdParty\DllExport.1.6.2\.\'
    [2:16:37 PM.9256] [Debug] SlnFile: 'F:\src\ExternalExperiment2\ThirdParty\DllExport.1.6.2\..\..\ExternalExperiment.sln'
    [2:16:37 PM.9312] [Debug] PkgPath: 'F:\src\ExternalExperiment2\ThirdParty\DllExport.1.6.2\packages\\DllExport.1.6.2\'
    [2:16:37 PM.9313] [Debug] MetaLib: 'tools\raw\lib\net20\DllExport.dll'
    [2:16:37 PM.9323] [Debug] MgrArgs: '-sln-file ..\..\ExternalExperiment.sln -action Configure'
    [2:16:37 PM.9323] [Debug] DxpTarget: 'tools\net.r_eg.DllExport.targets'
    [2:16:37 PM.9362] [Debug] RootPath: 'F:\src\ExternalExperiment2\ThirdParty\DllExport.1.6.2\'
    [2:16:37 PM.9382] [Debug] Storage: 'Default'
    [2:16:37 PM.9421] [Debug] StoragePath: '.net.dllexport.targets'
    [2:16:37 PM.9431] [Debug] Action: 'Configure'
    [2:16:37 PM.9431] [Debug] MsgGuiLevel: '-1'
    [2:16:37 PM.9450] [Info] Action: Configure; Storage: Default
    [2:16:37 PM.9815] [Info] Selected .sln 'F:\src\ExternalExperiment2\ExternalExperiment.sln'
    [2:16:37 PM.9884] [Debug] listener has been added into container - 0a15c0aa-5fcf-3de2-b0f5-46d671a6e8f2
    [2:16:37 PM.9894] [Debug] listener has been added into container - 9d0057c0-3ef7-30dc-93d9-ca0981c74950
    [2:16:37 PM.9913] [Debug] listener has been added into container - 1ebaa9c4-92bf-3f55-a6f1-33ba9c617e56
    [2:16:37 PM.9913] [Debug] listener has been added into container - e5fae250-82c5-3268-b3a7-9f3ae873eb72
    [2:16:37 PM.9942] [Debug] listener has been added into container - 4c1e4b99-7d6b-316a-9ec2-012aed05d4e2
    [2:16:37 PM.9942] [Debug] listener has been added into container - 9ca698e6-e459-3d25-9a13-2e53f2637a5c
    [2:16:38 PM.0190] [Trace] ProjectItem ->['{61F187F1-CD33-4C30-85B7-8E0A5554280F}'; 'ClientInstaller'; 'ClientInstaller\ClientInstaller.vdproj'; 'F:\src\ExternalExperiment2\ClientInst
    [2:16:38 PM.0229] [Trace] ProjectItem ->['{907DF8E3-EEE9-429A-AF7B-7A8159D35444}'; 'ClientComponents'; 'Components\Client\ClientComponents.csproj'; 'F:\src\ExternalExperiment2\Compon
    [2:16:38 PM.0229] [Trace] ProjectItem ->['{39438962-8020-4DCC-A104-28AD526998A2}'; 'Components'; 'Components'; 'F:\src\ExternalExperiment2\Components'; '{2150E333-8FDC-42A3-9474-1A39
    [2:16:38 PM.0287] [Debug] Components has been ignored as solution-folder :: 'Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Components", "Components", "{39438962-8020-4DCC-A104
    [2:16:38 PM.0346] [Trace] ProjectItem ->['{F61BD4B7-1E9E-40BB-B040-91B5ABD3B5ED}'; 'ExternalHost'; 'ExternalHost\ExternalHost.csproj'; 'F:\src\ExternalExperiment2\ExternalHost\Extern
    [2:16:38 PM.0365] [Trace] ProjectItem ->['{EBF0653A-D513-41F5-BF6C-E664AB20978C}'; 'ExternalClient'; 'ExternnalClient\ExternalClient.csproj'; 'F:\src\ExternalExperiment2\ExternnalCli
    [2:16:38 PM.0375] [Trace] ProjectItem ->['{441B4DF3-96CC-4140-9125-4D856CBCAB96}'; 'HostApp'; 'HostApp\HostApp.csproj'; 'F:\src\ExternalExperiment2\HostApp\HostApp.csproj'; '{FAE04EC
    [2:16:38 PM.0385] [Trace] ProjectItem ->['{DC2A8378-4B12-4460-8317-129B7DC603CA}'; 'SharedInterfaces'; 'Shared\SharedInterfaces.csproj'; 'F:\src\ExternalExperiment2\Shared\SharedInte
    [2:16:38 PM.0385] [Trace] ProjectItem ->['{4ECBA092-1792-45EB-A8D0-905F00C8D718}'; 'TcpClient'; 'TcpClient\TcpClient.csproj'; 'F:\src\ExternalExperiment2\TcpClient\TcpClient.csproj';
    [2:16:38 PM.0395] [Trace] ProjectItem ->['{6B5D0664-E02E-4577-AC0B-6F32DD92AB67}'; 'TcpHost'; 'TcpHost\TcpHost.csproj'; 'F:\src\ExternalExperiment2\TcpHost\TcpHost.csproj'; '{FAE04EC
    [2:16:38 PM.0395] [Trace] ProjectItem ->['{AB5B9CDA-F91F-4B6F-8E79-C24CCA11D45F}'; 'HostComponent'; 'Components\Host\HostComponent.csproj'; 'F:\src\ExternalExperiment2\Components\Hos
    [2:16:38 PM.0404] [Trace] ProjectItem ->['{E9CEB838-F8CD-4C3E-8A41-ED9C825F1247}'; 'WindowsHostApplication'; 'Hosts\WindowsHostApplication\WindowsHostApplication.vcxproj'; 'F:\src\Ex
    [2:16:38 PM.0404] [Trace] ProjectItem ->['{458521BC-806C-41CB-AA30-92238D99C912}'; 'BuildTools'; 'BuildTools'; 'F:\src\ExternalExperiment2\BuildTools'; '{2150E333-8FDC-42A3-9474-1A39
    [2:16:38 PM.0414] [Debug] BuildTools has been ignored as solution-folder :: 'Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "BuildTools", "BuildTools", "{458521BC-806C-41CB-AA30
    [2:16:38 PM.0414] [Trace] ProjectItem ->['{59928650-2463-4714-A786-33F59E9222EF}'; 'MakeNativeExports'; 'MakeNativeExports\MakeNativeExports.csproj'; 'F:\src\ExternalExperiment2\Make
    [2:16:38 PM.0454] [Info] Solution Configuration ->['Debug' ; 'Any CPU']
    [2:16:38 PM.0502] [Info] Solution Configuration ->['Debug' ; 'x64']
    [2:16:38 PM.0512] [Info] Solution Configuration ->['Debug' ; 'x86']
    [2:16:38 PM.0522] [Info] Solution Configuration ->['Release' ; 'Any CPU']
    [2:16:38 PM.0522] [Info] Solution Configuration ->['Release' ; 'x64']
    [2:16:38 PM.0531] [Info] Solution Configuration ->['Release' ; 'x86']
    [2:16:38 PM.0561] [Info] New Project Configuration `{61F187F1-CD33-4C30-85B7-8E0A5554280F}`, `Debug|Any CPU` = `Debug` /ActiveCfg

    [2:16:38 PM.0580] [Fatal] ERROR-Wizard: The format Debug of configuration is not supported.

    [2:16:38 PM.0619] [Warn] SlnDir: 'F:\src\ExternalExperiment2\ThirdParty\DllExport.1.6.2\.\'
    [2:16:38 PM.0629] [Warn] SlnFile: 'F:\src\ExternalExperiment2\ThirdParty\DllExport.1.6.2\..\..\ExternalExperiment.sln'
    [2:16:38 PM.0629] [Warn] PkgPath: 'F:\src\ExternalExperiment2\ThirdParty\DllExport.1.6.2\packages\\DllExport.1.6.2\'
    [2:16:38 PM.0639] [Warn] MetaLib: 'tools\raw\lib\net20\DllExport.dll'
    [2:16:38 PM.0648] [Warn] MgrArgs: '-sln-file ..\..\ExternalExperiment.sln -action Configure'
    [2:16:38 PM.0648] [Warn] DxpTarget: 'tools\net.r_eg.DllExport.targets'
    [2:16:38 PM.0707] [Warn] RootPath: 'F:\src\ExternalExperiment2\ThirdParty\DllExport.1.6.2\'
    [2:16:38 PM.0746] [Warn] Storage: 'Default'
    [2:16:38 PM.0756] [Warn] StoragePath: '.net.dllexport.targets'
    [2:16:38 PM.0756] [Warn] Action: 'Configure'
    [2:16:38 PM.0766] [Warn] MsgGuiLevel: '-1'
3F commented 5 years ago

Thanks for the report,

You definitely have some problem from your sln and/or csproj file:

 `Debug|Any CPU` = `Debug` /ActiveCfg
-------------------------^

usually it looks like $(Configuration)|$(Platform):

 `Debug|Any CPU` = `Debug|Any CPU` /ActiveCfg 
---------------------------^

The format Debug of configuration is not supported.

The error should point to incorrect or corrupted records from your project files.

The normal records looks like:

sln:

GlobalSection(SolutionConfigurationPlatforms) = preSolution
    Debug|Any CPU = Debug|Any CPU

...
GlobalSection(ProjectConfigurationPlatforms) = postSolution
    {27152FD4-7B94-4AF0-A7ED-BE7E7A196D57}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
        {27152FD4-7B94-4AF0-A7ED-BE7E7A196D57}.Debug|Any CPU.Build.0 = Debug|Any CPU
...

csproj, vcxproj, ...

any way of checking and using of this, for example:
 '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' etc.

Well, you can attach the following files for our debug, or please inspect this by yourself:

I'm not sure yet about bug from our side.

3F commented 5 years ago

@justin-romano

Please specify additional information like above. Or this will not be considered after coming 1.6.3 release.

Thanks.

3F commented 5 years ago

Closed due inactivity.