C
C#2y ago
ekalavya

❔ 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
ekalavya
ekalavyaOP2y ago
If issue is with web.config request guide me with that
FroH.LVT
FroH.LVT2y ago
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
ekalavya
ekalavyaOP2y ago
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.
Accord
Accord2y ago
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.
Want results from more Discord servers?
Add your server