-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set build action of a file in solution explorer #1535
Comments
@HobDev : Thanks for sharing your feedback. Just to clarify, could you please share a little more about your scenario and the kind of build actions you need? |
To read app configuration one can add appsettings.json file to the project as EmbeddedResource build action. The build action of Images is set to Maui Image by default. But if I add the image in a different folder I need to set the build action. |
@AbhitejJohn Can we have an option to set the build action of a file in C# Dev kit? Similar as Visual Studio |
Is there any other way to set build action on the file in the solution explorer. I am getting run time error because the json file is null and as far as I know it is due to proper build action is not set. My development of the app is stopped due to this bug. |
@AbhitejJohn, the 'needs-more-info' label has been removed upon receiving further response from the original bug filer. |
Type: Feature Request
In visual studio for Windows I can set build action of any file from the properties window. I didn't find a way to set the build action in Visual Studio code.
Extension version: 1.11.14
VS Code version: Code 1.94.2 (384ff7382de624fb94dbaf6da11977bba1ecd427, 2024-10-09T16:08:44.566Z)
OS version: Windows_NT x64 10.0.22631
Modes:
The text was updated successfully, but these errors were encountered: