'System.Net.WebClient.AllowReadStreamBuffering

2019-08-09 18:18发布

This is the full error

Error 1 'System.Net.WebClient.AllowReadStreamBuffering' is obsolete: 'This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.' C:\Users\Dan\Documents\Visual Studio 2013\Projects\C#\AutoClicker\AutoClicker\Form1.Designer.cs 128 13 AutoClicker

http://i.imgur.com/iqzI1fu.png

enter image description here

Everytime I make any change to my designer form, I get this error. Any ideas on how to fix this?

1条回答
我命由我不由天
2楼-- · 2019-08-09 18:53

Three things I would try:

1) Delete the webclient and add it back in to see if that fixes it. 2) Define the webclient in code instead of through the designer. 3) Check your References to see what version of System.net you are using. i.e. if it is any older .net version

查看更多
登录 后发表回答