I'm looking for a way to leave the path of a file inside my project dynamically, it's currently like this:
string arquivoImagem = @"D:\Projetos\ProjetoSolution\Projeto.Web\Images\Gerenciador\login\logo.png";
I would like to leave this fixed path as above, how do I make it dynamic?
It is a web application, this path is an image that will be inserted inside a report, it is an image of the application itself so there is no user interference, in case the report uses the path to insert the image in the report that then it becomes a PDF. I would like a way to resolve this because we have problems when another developer opens the project the path does not exist, because the project may be in another location on the machine.