using Twitterizer.Framework;
...
private void button1_Click(object sender, EventArgs e)
{
if (textBox1.Text != "" && textBox2.Text != "")
{
twit = new Twitter(textBox1.Text, textBox2.Text);
if (remember == true)
{
user = textBox1.Text;
pass = textBox2.Text;
}
else
{
}
login(false);
}
else
{
label3.Text = "User/Pass is empty! :O";
}
}
A non-existant existant reference
So, I am making a program for Twitter by using the Twitterizer library. I have the DLL referenced but, when it calls from it, the program crashes and says it can't find it.
I checked the debug and release folder, it is in there, it is referenced. (I am using C# by the way.)
Here is the code that it crashes on:
Simply referencing the DLL in your project is not enough. When you start the debugger or the release executable you have to make sure the DLL file is located in the same folder as the executable. (Most likely bin/debug while debugging.)
Is that the case?
Is that the case?
Quote:Original post by tyfius
Simply referencing the DLL in your project is not enough. When you start the debugger or the release executable you have to make sure the DLL file is located in the same folder as the executable. (Most likely bin/debug while debugging.)
Is that the case?
Yes, it is. I checked. It is quite odd, I have never had this problem with other things I have done. (Even though, that is very few.)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement