After Microsoft Update When I run a Visual Studio Class Library I am now getting This file does not have an app associated with it for performing this action. Please install an app or...

Paul Zielske 0 Reputation points
2024-02-23T14:56:10.9933333+00:00

After a recent microsoft update KB5034763 when I am running Visual Studio, class library type project, I am now getting this error. Any suggestions? It seems if I close that error, my project still is running. In the past an edge or chrome window would open when I ran the project and say https://localhost:#### So I am assuming somehow that isn't associated to edge or chrome any more but honestly no clue and don't know how to create this association. Thanks in advance for any assistance. This seems to have affected 2 of my developers. The other ones haven't had this issue. I am running VS2022 my other guy is running VS2019.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,448 questions
{count} votes

7 answers

Sort by: Most helpful
  1. Michael Taylor 57,231 Reputation points
    2024-02-23T16:11:26.25+00:00

    Please provide us more information. A class library isn't an executable and therefore should never run in VS directly. To run a class library you need a host project such as a console or winforms app.

    What it sounds like to me is that you have a web app (that happens to produce a DLL but isn't a class library). The web app, when run in the debugger, is run depending upon your launch.settings file. By default it'll auto-start IIS Express and then open the browser, also configured in VS, and connect to the site. The version of the browser used by VS is generally an isolated instance that is independent of your actual browser (eg. Chrome).

    Please provide more information such as the exact project type you're trying to run, what behavior you're seeing, any errors or output from the output window and ideally some screenshots or something to help us understand your issue.

    0 comments No comments

  2. Paul Zielske 0 Reputation points
    2024-02-23T16:29:14.3466667+00:00

    My apologies. Not sure what to call it. It is an API Library that we publish that our UI calls to get data. Here is a picture of the project properties in VS, which is why I called it a "Class Library". When I run this VS Project, it immediately pops up with the This File does not have an app associated ... warning. I can say ok and the library still runs, but yesterday before this windows update, it did not do this and it is annoying. Project

    0 comments No comments

  3. Paul Zielske 0 Reputation points
    2024-02-23T16:31:30.61+00:00

    When I say run this project, in visual studio, I am just trying to run it. It seems to have something to do with this windows update. If we uninstall the windows update, it doesn't pop the error. RunProject


  4. Paul Zielske 0 Reputation points
    2024-02-23T16:34:07.47+00:00

    Here is the error that pops up... NoAppAssociated

    I can click ok and the project is still running but before an edge or chrome window would display like this. Before

    0 comments No comments

  5. Paul Zielske 0 Reputation points
    2024-02-23T16:37:17.7+00:00

    Prior to this windows update an edge or chrome window would open like this. It no longer does this. Just kicks that there is no app associated. Before

    0 comments No comments

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.