Exclude specific project from build

Fred's Avatar

Fred

15 Oct, 2015 11:09 AM

Hi!

Is there a way to exclude one or more projects in a VS solution from the build process via the appveyor.yml

I have a project for integration tests that I wish to exclude but I can't find a way how.

Regards
Fred

  1. Support Staff 1 Posted by Feodor Fitsner on 15 Oct, 2015 05:17 PM

    Feodor Fitsner's Avatar

    Hi Fred,

    Open solution configuration in Visual Studio IDE and just disable selected projects from configurations.

  2. 2 Posted by Christopher Sch... on 13 Jul, 2017 07:27 PM

    Christopher Schoeder's Avatar

    I've tried this for a project with a Website project and Appveyor doesn't seem to honor that Configuration. Despite turning off build for all configurations it still will try and build the project.

  3. Support Staff 3 Posted by Ilya Finkelshte... on 13 Jul, 2017 08:09 PM

    Ilya Finkelshteyn's Avatar

    Please send us the following:

    • .sln file
    • build configuration in YAML format (use Export YAML if you use UI)
    • link to the build which supposed to not build specific project, but did that.
    • name of specific project which was built, but should not

    Please feel free to delete all secrets when needed.

    Ilya.

  4. 4 Posted by Christopher Sch... on 17 Jul, 2017 04:19 PM

    Christopher Schoeder's Avatar

    Hi Llya,

    to whom should I send this to?

  5. Support Staff 5 Posted by Ilya Finkelshte... on 17 Jul, 2017 05:19 PM

    Ilya Finkelshteyn's Avatar

    You can post them right here in the forum, and make thread private if you are not comfortable for it to be public. Or mail to team at appveyor dot com.

  6. 6 Posted by Christopher Sch... on 17 Jul, 2017 05:47 PM

    Christopher Schoeder's Avatar

    Hi Llya,

    I've resolved this through discovering that I was targeting 'Mixed Platforms' when handling the build configuration. Instead I need to look at the 'Any CPU' build configuration and turned it off there. Once I did this issue was resolved.

  7. Support Staff 7 Posted by Ilya Finkelshte... on 17 Jul, 2017 05:58 PM

    Ilya Finkelshteyn's Avatar

    Thank you for update!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

24 Jul, 2017 09:09 PM
24 Jul, 2017 12:39 PM
23 Jul, 2017 12:53 AM
22 Jul, 2017 08:14 PM
22 Jul, 2017 07:59 PM