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

Error after reload #5

Open
tdsrhh opened this issue Jan 13, 2024 · 1 comment
Open

Error after reload #5

tdsrhh opened this issue Jan 13, 2024 · 1 comment

Comments

@tdsrhh
Copy link

tdsrhh commented Jan 13, 2024

Hi

Editing an old style csproj file I receive attached image after project is reloaded ...

I am using vs2022

Skjermbilde 2024-01-13 142653

Regards

@heku
Copy link
Owner

heku commented Jan 14, 2024

Hi @tdsrhh, this is a known behavior (or expected behavior). Because VS doesn't allow openning an old style csproj file in editor, the workaound EditProject used is, creating a temp file (which is printed in your screenshot) for it and use VS edit the temp file, and watching the temp file, once it's changed, replace the csproj file with it. For the whole process to work, the extension needs to maintain a few mapping status and events in memory, if VS reboot, all these data are lost.

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