I have a Visual Studio C# solution which I have added a new solution configuration to.
When I create new projects in the solution they have Debug and Release configurations only.
Why do they not have the additional configurations?
You can properly include . C or . CPP files into other source files.
The Microsoft C/C++ for Visual Studio Code extension supports IntelliSense, debugging, code formatting, auto-completion. Visual Studio for Mac doesn't support Microsoft C++, but does support . NET languages and cross-platform development.
You can add C and C++ code to your Android project by placing the code into a cpp directory in your project module. When you build your project, this code is compiled into a native library that Gradle can package with your app.
Understanding Build Configurations says:
By default, projects created with Visual Studio include Debug and Release configurations. Debug configurations are automatically configured for debugging an application, and Release configurations are configured for the final release of an application.
So, basically, every time you add a new project to the solution, you choose the type of your new Visual Studio project from a set of preexisting project templates, which only have the Debug and Release configurations.
Visual Studio allows you to export your own project templates and use them subsequently for creating new projects.
What you can do is:
You will have the Test available as a custom project configuration.
[UPDATE]
Alternatively, you should know that it's also possible to create your own Visual Studio Add-ins which could give you more freedom for creating projects based on templates and for automating builds. Check out the following examples:
How to: Programmatically Create Projects
How to: Create Solution and Project Build Configurations
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With