Set hardware in visual studio

Hi, fiernds.
When compiling in visual studio, how do I indicate that it generates the .uf2 files for the raspberry pi pico?.
When compiling the examples from the “Master…” book, I have seen that .obj files are generated.

Thanks,

Please reach out to raspberry pi folks to find out if they support Visual Studio.

Ok, but I assume that when I compile, I do it for a specific microcontroller or hardware. If I wanted to change it, where I modify it?.
Thanks

Mostly it is a compiler option. For example, you use -march for ARM GNU GCC - ARM Options (Using the GNU Compiler Collection (GCC)).