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

Assembly Could not be loaded cause of Path. IsPathRooted #1

Closed
jogibear9988 opened this issue Nov 22, 2020 · 3 comments · Fixed by #3
Closed

Assembly Could not be loaded cause of Path. IsPathRooted #1

jogibear9988 opened this issue Nov 22, 2020 · 3 comments · Fixed by #3

Comments

@jogibear9988
Copy link

i've switch now to your nuget from ms TextTemplateing, but my code does not work.
It fails to load my reference cause of this line:

if (Path.IsPathRooted(referencePath) && File.Exists(referencePath)) {

Path.IsPathRooted(referencePath)
returns false, but why is it needed?

@jogibear9988
Copy link
Author

seee mono#86

@jogibear9988
Copy link
Author

path rooted location is defined as the c:***.dll location on a physical drive and anything else is is essential not resolved.

i know that, but with microsoft's dll's the loading works without that the path is a root path.
why should this be necessary? if File.exists returns true (wich it does) then we could load it, or not?

@kccarter76
Copy link

thank you for your contribution.

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 a pull request may close this issue.

2 participants