Jump to content

Dll Yolu Değiştirme


Extended
 Share

Recommended Posts

İyi akşamlar.

System.Data.SQLite.dll yi Referans olarak ekledim. Dll ana dizinde olunca program çalışıyor. Ben bunu programın bulunduğu yerde bi klasör açıp içine atmak istiyorum. Dll yi tanıtamadım klasöre koyunca. Adını değiştirince de çalışmıyor sadece SQLite.dll yazsam çalışacak şekilde yapamıyor muyuz? App.config den privatedir yaptım olmadı. Yardımlarınız için teşekkür ederim.

Link to comment
Share on other sites

ayrıca App.config dosyasına probing privatepath eklerseniz de oluyor:

screenshot_199.png

örnekteki gibi yaparsanız Exe'nin olduğu klasörün içine bin\DLLs klasörünü açın ve DLL dosyalarınızı oraya koyun. Bunu bende kullanayım ya, her şeyi içine gömmemize gerek kalmaz :D

  • Like 1
Link to comment
Share on other sites

  • Editor
3 saat önce, Extended yazdı:

İyi akşamlar.

System.Data.SQLite.dll yi Referans olarak ekledim. Dll ana dizinde olunca program çalışıyor. Ben bunu programın bulunduğu yerde bi klasör açıp içine atmak istiyorum. Dll yi tanıtamadım klasöre koyunca. Adını değiştirince de çalışmıyor sadece SQLite.dll yazsam çalışacak şekilde yapamıyor muyuz? App.config den privatedir yaptım olmadı. Yardımlarınız için teşekkür ederim.

İstersen şu posttaki yolu dene:

Ben genelde hep bu yöntemi kulanıyorum, gayet güzel çalışıyor

Alıntı

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...