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

Path one place setup #193

Merged
merged 1 commit into from
Dec 5, 2022
Merged

Path one place setup #193

merged 1 commit into from
Dec 5, 2022

Conversation

SDPMrem71
Copy link
Contributor

First Time runner might always run to exception since C:\tusfiles is not found or accessible. changing path also requires changing multiple hard-coded path.

If it is acceptable, i made it one place only and in current path.


First Time runner might always run to exception since C:\tusfiles is not found or accessible. changing path also requires changing multiple hard-coded path.

If it is acceptable, i made it one place only and in current path.
@SDPMrem71 SDPMrem71 closed this by deleting the head repository Nov 30, 2022
@SDPMrem71 SDPMrem71 reopened this Nov 30, 2022
@smatsson
Copy link
Collaborator

smatsson commented Dec 5, 2022

Hi,

Thanks for your PR! This is a good catch for newcomers. Not 100% sure I like the use of CurrentDomain.SetData but it's probably good enough for now until we figure something "better".

@smatsson smatsson merged commit fbc38d4 into tusdotnet:master Dec 5, 2022
@SDPMrem71
Copy link
Contributor Author

Thanks, I hope i learn "better" and be helpful.

@smatsson
Copy link
Collaborator

Sorry if I came across as smug. I was under a bit of time pressure. I like the concept of what you did here but not a fan of the magic string put into the app domain. A simple static property on the program class would probably have been easier to reason about. :) Anyhow, good catch on the getting started with tusdotnet part, so thanks you for that. 👍

@SDPMrem71
Copy link
Contributor Author

No problem, appreciated. Thanks that would be way better. 😍

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.

None yet

2 participants