Visual studio 2022 web site app_code folder shows no property option for .cs files ?

iqworks Information Quality Works 296 Reputation points
2023-08-19T20:25:40.68+00:00

I saw this about build actions in visual studio for vs2022 web site .cs build actions:
https://learn.microsoft.com/en-us/visualstudio/ide/build-actions?view=vs-2022

Set a build action

To set the build action for a file, open the file's properties in the Properties window by selecting the file in Solution Explorer and pressing Alt+Enter. Or, right-click on the file in Solution Explorer and choose Properties. In the Properties window, under the Advanced section, use the drop-down list next to Build Action to set a build action for the file.

User's image

 I also wanted to change the build action for the .cs pgms in my App_Code folders, but there are no
property option in vs2022?

User's image

 Thanks for any help or suggestions

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

Accepted answer
  1. Tianyu Sun-MSFT 31,611 Reputation points Microsoft Vendor
    2023-08-21T05:52:02.7966667+00:00

    Hello @iqworks Information Quality Works ,

    Welcome to Microsoft Q&A forum.

    If the Properties Window isn’t shown in Visual Studio, you can manually open it by clicking selecting the .cs file => clicking View(VS menu bar) => Properties Window/Other Windows(sometimes the Properties Window option is hidden in Other Windows option) => Properties Window.

    User's image

    Sincerely,

    Tianyu


    If the answer is the right solution, 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.


0 additional answers

Sort by: Most helpful

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.