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

Custom configurations are not available after migration #71

Closed
knoxi opened this issue Mar 20, 2018 · 3 comments
Closed

Custom configurations are not available after migration #71

knoxi opened this issue Mar 20, 2018 · 3 comments

Comments

@knoxi
Copy link

knoxi commented Mar 20, 2018

After migration, our custom configurations are no longer available in the project properties.
The configurations are still in the project files.
After adding the line <Configurations>Debug;Release;Release_CI</Configurations> in the first PropertyGroup in the project file, we got our custom configuration back.

@hvanbakel
Copy link
Owner

Can you share an example?

I think what you mean is that you have this?

  <PropertyGroup>
    <Configuration>Debug;OtherConfiguration</Configuration>
  </PropertyGroup>

Is that correct?

@knoxi
Copy link
Author

knoxi commented Apr 3, 2018

Exactly.

All configurations remains in the project in the PropertyGroups but are not shown after upgrade.
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> ...

Before migration:
project_configurations_before_migrate

After migration:
project_configurations_after_migrate

After inserting manually the config they reappear:
<PropertyGroup> <Configuration**s**>Debug;Release;Release_CI</Configuration**s**> </PropertyGroup>

Here the sample solution:
CsprojToVs2017_sample.zip

@hvanbakel
Copy link
Owner

Your examples were really valuable. Both issues you filed are fixed and should be in:
https://github.com/hvanbakel/CsprojToVs2017/releases/tag/1.5.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants