matheburg
matheburg

Reputation: 2180

How to (only!) use the own build script in Visual Studio

How can I use my own build script in MS Visual Studio and nothing else (linked to F7)?

I have added my script as pre build step and it works fine, but afterwards visual studio always tries to run its own compilation (which fails). How can I prevent VS from doing this?

Upvotes: 2

Views: 228

Answers (1)

MSalters
MSalters

Reputation: 179799

Use a "utility" project type. Currently the linker is trying to create an EXE, DLL or LIB, depending on your project type. But those 3 types all require object files, and a "utlitity" project does not.

Upvotes: 2

Related Questions