Is that an error, or are you able to fix it by specifying the versions you want it to use? Since you use VS 2019 instead of 2022, maybe it assumed the older framework was appropriate?
I switched over to chatgpt last night, and I have hope it can repair the damage DS caused. If not, I'll restart it with chatgpt, and have high hopes (again) I can finish it quickly.
Yes, the problem was solved by specifying the appropriate versions. Perhaps my mistake from the beginning was that I didn't specify the versions I was using accurately to DS.
But what surprised me wasn't this error, but rather other errors related to small details, such as this one:
DS wrote the code as follows:
private void btnBrowse_Click(object sender, EventArgs e)
{
// Button code here
}
A warning message appeared in Visual Basic:
Naming rule violation: These words must begin with upper case characters: btnBrowse_Click
This warning indicates that the event name
btnBrowse_Click does not follow C# naming rules. According to naming rules, event names must begin with capital letters.
The problem can be easily fixed by using the letter
B instead of
b in the event name:
private void BtnBrowse_Click(object sender, EventArgs e)
{
// The code you want to execute when the button is pressed
}
Small errors can be easily fixed, but I'm surprised at how an advanced AI like DS can handle them, because tracking and fixing errors takes longer.