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

Fails when exist setup project #114

Closed
terranas opened this issue Aug 6, 2019 · 8 comments
Closed

Fails when exist setup project #114

terranas opened this issue Aug 6, 2019 · 8 comments
Labels

Comments

@terranas
Copy link

terranas commented Aug 6, 2019

Problem

I am using Visual Studio Professional 2019 on Windows 10.
In case of exist MSI Setup Project (*.vdproj) in Solution,
DllExport.bat -action Configure , or DllExport.bat -action Restore fails.

I got the message below:

[17:36:52.9237] [Fatal] ERROR-Wizard: The format `Debug` of configuration is not supported.
...
[17:36:52.9297] [Warn] MsgGuiLevel: '-1'

How to reproduce

  1. Add *.vdproj to Solution by "Microsoft Visual Studio Installer Projects" extension.
    https://marketplace.visualstudio.com/items?itemName=visualstudioclient.MicrosoftVisualStudio2017InstallerProjects

  2. run DllExport.bat -action Configure

@3F
Copy link
Owner

3F commented Aug 6, 2019

@terranas, Thanks for the report. The problem was found in MvsSln:

You can patch temporarily your sln file before our fixes. Find this:

{GUID of your .vdproj}.Debug|solution_platform.ActiveCfg = Debug

Then just add something to the end, for example "|Any CPU":

{C44BFE7A-DBED-411A-8073-C88663B18ADC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
......................................................................^^^^^^^^^ just add this

@3F
Copy link
Owner

3F commented Aug 6, 2019

An old unclear issue #91 looks like contains the same problem. But the author did not provide any information for that.

I remind everyone that simple steps to reproduce the problem are very important to solve this ASAP!

@terranas
Copy link
Author

terranas commented Aug 7, 2019

@3F Thank you!
It worked well by your temporarily solution with v1.6.4.15293.

@terranas terranas closed this as completed Aug 7, 2019
@3F
Copy link
Owner

3F commented Aug 7, 2019

@terranas, Please keep open this issue until it's resolved. Fixes depends on MvsSln. Follow the news.

@3F 3F reopened this Aug 7, 2019
@3F 3F closed this as completed in 02c668c Aug 7, 2019
@3F
Copy link
Owner

3F commented Aug 7, 2019

@terranas, Please check fixes before public release:

DllExport -force -pkg-link https://github.com/3F/DllExport/releases/download/CI-build-121/DllExport.1.6.4.nupkg

or manually: https://github.com/3F/DllExport/releases/tag/CI-build-121

@terranas
Copy link
Author

terranas commented Aug 8, 2019

@3F I tried CI-build-121,
but both DllExport.bat -action Configure and DllExport.bat -action Restore fails yet.

@3F
Copy link
Owner

3F commented Aug 8, 2019

Please use -force and -pkg-link keys like I mentioned above. Or manually replace binaries from CI-build-121

Because:

manager from any nightly builds will point to stable public package
[?]

upd: I always forget to tell about an offline packages :) You can prefer this but -pkg-link to CI-build-121 is most easy way.

@3F
Copy link
Owner

3F commented Aug 10, 2019

MvsSln 2.4 is just released. changelog:

* FIXED: "The format ... of configuration is not supported". Issue #19.
...

@terranas

I don't see any confirmation from you but this was reproducible also for me. Thus, you have a few hours (or less) before today's release (means if you still have something). Thanks.

3F added a commit that referenced this issue Aug 10, 2019
* FIXED: Possible "The format ... of configuration is not supported."
         Issue #114.

* FIXED: XML meta comments for DllExport Metadata.

* CHANGED: Updated MvsSln 2.4
           Release notes:
           https://github.com/3F/MvsSln/releases/tag/v2.4

* NOTE: To upgrade configured version to v1.6.5:
        ```
            DllExport -action Upgrade -dxp-version 1.6.5
        ```
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