❔ How can I solve this error "does not exist in current context" in C#?
I am stuck with this error. I have attached images. Will kindly request if someone can guide me where I am going wrong.
4 Replies
If issue is with web.config request guide me with that
sorry but, is it webform?
if it is and you are not forced to use. Switch to ASP.NET Core
Then you might get better help from people
Yes it's webform . Ok will work on that actually hardware and other restrictions at deployment site dictated use of old tech asp.net webform
I found the answer the issue was discontinuation of support for webform in visual studio. For webform to work as intended I had to install .NET Framework project and item templates. Then It worked fine.
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.