Open cdonnellytx opened 3 years ago
I could confirm that it is reproducible (Windows, Rider 2021.2, Plugin 1.2.0). And also I could confirm that when initializing secrets from the plugin using "Initialize User Secrets" it opens the correct file, but incorrect with "Open Project User Secrets" in this case
I can confirm that is reproducible on macOS too, with the same steps.
It appears that the plugin will create a new file in the UserSecrets base directory (
%APPDATA%\Microsoft\UserSecrets\secrets.json
on Windows) instead of the expected ID directory underneath.Steps to reproduce
dotnet
to create a new project and init user secrets:TargetFramework
toTargetFrameworks
with two values:Expected: Open file is C:\Users\cdonnelly\AppData\Roaming\Microsoft\UserSecrets\some-uuid\secrets.json Actual: Open file is C:\Users\cdonnelly\AppData\Roaming\Microsoft\UserSecrets\secrets.json
Versions affected