I have some "heavy" files (.csv of 50 MB) and I would like get a stream from them knowing that I would like to avoid building them as "embedded resource" (one of my requirements). These files are accessed only by one class, so it is not a complicated situation. In the end, my solution will end up as a .dll.
I would like to know what is the best way to do so:
1) What is the best Build action, content or (linked) resource?
2) how do I get a stream from my resource?
I have been searching a lot on the internet and none of the solutions I have found work on my case:
I have tried to access them by the resourceManager but if I understand well, it is just for embedded resources
Another solution is to use Application.GetResourceStream but I can't access to the Application namespace, I don't really know why (I added using System.Windows but it does not solve the problem)
So far I have been trying these solution by using a testMethod, I don't know if it has an impact on the problem.
Thanks! :)