How do I get SharePoint to run on my Visual Studio 2022 WebBrowser?

Andrew Pettit 0 Reputation points
2023-06-18T15:45:14.1033333+00:00

SharePoint is refusing to open in my Forms App because it sees my Visual Studio 2022 application as an older web browser. I'm trying to access an Excel file from SharePoint. I've tried loading it in WebBrowser; I've tried scraping the html file with WebClient; and I've tried adding it as a reference with WebService. However, all of these methods have been met with an "It's time to upgrade your browser" error.

Is there another work around I should try?

I'm using a Windows 10 PC.

Developer technologies | Windows Forms
Microsoft 365 and Office | SharePoint | For business | Windows
Developer technologies | Visual Studio | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 40,471 Reputation points Microsoft External Staff
    2023-06-19T06:05:24.8066667+00:00

    Hi @Andrew Pettit

    Web Forms templates exist in Visual Studio 2022. Select ASP.NET Web Application (.NET Framework). You can create application like following

    169611-capture.png

    Here is a similar issue with yours, please make a reference

    https://learn.microsoft.com/en-us/answers/questions/714917/no-more-support-for-web-forms-in-visual-studio-202


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.