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

The .csproj alwasy unable to write at first attempt on Reverse Engineer #2389

Closed
doggy8088 opened this issue Jun 11, 2024 · 4 comments
Closed
Labels
bug Something isn't working reveng

Comments

@doggy8088
Copy link
Contributor

doggy8088 commented Jun 11, 2024

Provide steps to reproduce a bug

I'm always get the following error when I do Reverse Engineer in the new project.

image

One or more projects ('WebApplicationl.csproj') have been changed outside of the project system, and conflict with unsaved changes. The external changes have been discarded but have been saved in a backup file if you need t0 manually restore them.

I recorded a short video clip for reproduce this issue. It's always happened on my machine.

2024-06-11_15-52-30.mp4

When I close the solution, re-open again. Then, I do it again. It will work.

Provide technical details

  • EF Core Power Tools version: 2.6.287

  • Exact Visual Studio version: 17.10.1

  • Database engine: SQL Server

  • EF Core version in use: EF Core 8

  • Is Handlebars templates used: no

  • Is T4 templates used: no

  • Is a SQL Server .dacpac used: no

@ErikEJ
Copy link
Owner

ErikEJ commented Jun 11, 2024

Could it be the entry for the .user file, never seen it before?

I will try to repro, thanks for the video

@ErikEJ ErikEJ closed this as completed in bfd082d Jun 11, 2024
@ErikEJ
Copy link
Owner

ErikEJ commented Jun 11, 2024

I implemented a fix for this in the latest daily build, would be grateful if you could try it out.

@ErikEJ ErikEJ added bug Something isn't working reveng labels Jun 11, 2024
@doggy8088
Copy link
Contributor Author

What's the efpt.config.json.user file for? Is that necessary add to the .csproj?

@ErikEJ
Copy link
Owner

ErikEJ commented Jun 11, 2024

No, I do not add it, the project system does (for Web projects only) - looks like a project system issue to me.

It stores the UI hint for the last used database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working reveng
Projects
None yet
Development

No branches or pull requests

2 participants