DLL change path

Here you can find everything you need to know about Dll-Files. You can also share your knowledge regarding the topic.

Moderators: DllAdmin, DLLADMIN ONLY

bezjosh99
Posts: 2
Joined: 27 Oct 2021, 13:54

Re: DLL change path

Post by bezjosh99 »

your relative path there (relative to vcproj folder) i.e. ..\some-framework\lib by appending PATH=%PATH%;$(ProjectDir)\some-framework\lib or prepending to the path PATH=C:\some-framework\lib;%PATH%

spiceagent11
Posts: 1
Joined: 28 Oct 2021, 15:52

Re: DLL change path

Post by spiceagent11 »

I did exactly what you said:
string filename = Path.Combine("Environment.CurrentDirectory", "settings.xml");

Are there any other options or am I still doing something wrong?

chaksur
Posts: 1
Joined: 22 Dec 2021, 14:03

Re: DLL change path

Post by chaksur »

Try this in

string filename = Path.Combine(Environment.CurrentDirectory, "settings.xml");

Post Reply