Reputation: 155
I have got file.xml in my class library solution and in a class I access to it like this:
var xmlFile = "file.xml"
Is possible to put there any path to build-embedded file.xml so if I use dll later I don't need to load that file.xml as a resource?
Upvotes: 0
Views: 77
Reputation: 292535
No, embedded resources are not accessible directly through a path; you need to load them manuallty.
Upvotes: 1