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

Create platform and permissions neutral path for blog #3298

Merged
merged 3 commits into from
Jun 23, 2021

Conversation

JeremyLikness
Copy link
Member

Used local folder for consistency.

@JeremyLikness
Copy link
Member Author

Fixes #3285

{
var folder = System.Environment.SpecialFolder.LocalApplicationData;
var path = System.Environment.GetFolderPath(folder);
DbPath = $"{path}\\blogging.db";
Copy link
Contributor

Choose a reason for hiding this comment

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

Should it not be forward slash (or Env.Pathseparatir) ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Great catch! Submitted fix.

@ErikEJ
Copy link
Contributor

ErikEJ commented Jun 22, 2021

Should the comment in line 21 change now?

@ErikEJ
Copy link
Contributor

ErikEJ commented Jun 22, 2021

LGTM 😁

@JeremyLikness JeremyLikness linked an issue Jun 22, 2021 that may be closed by this pull request
@JeremyLikness
Copy link
Member Author

LGTM 😁

Whew!

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.

Error in EF Tutorial
3 participants