Skip to content

Tools: Add Get-Migrations and update "migrations list" to show applied or pending - #22109

Merged
bricelam merged 2 commits into
dotnet:release/5.0from
bricelam:list
Aug 18, 2020
Merged

bricelam merged 2 commits into
dotnet:release/5.0from
bricelam:list

Conversation

@bricelam

@bricelam bricelam commented Aug 18, 2020 •

Copy link
Copy Markdown
Contributor

Manually verified that this works as expected and is both forward (3.1 tools on 5.0 projects) and backward (5.0 tools on 3.1 projects) compatible.

Resolves #577

@bricelam
bricelam requested a review from a team August 18, 2020 04:31

<!--
Microsoft ResX Schema

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Delete trailing whitespaces

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

VS adds them

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It's actually ResXResourceWriter.Generate() that puts them in

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

And it's random comments like this that lead to random ideas like #22156 😁

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@bricelam: Could you paste URL for this method? (or repository URL)
Maybe someone could fix this

@bricelam bricelam Aug 20, 2020 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@bricelam bricelam Aug 20, 2020 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

And yes, it really is in System.Windows.Forms.dll 🤦‍♂️ (I tried to get it moved in dotnet/winforms#1342)

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

Successfully merging this pull request may close these issues.

Commands: A way to see current Migrations status

5 participants