Skip to content

Cleanup happens on every build #369

@Aleksanderis

Description

@Aleksanderis

Describe the Bug

Seems like packages cleanup happens on every build, even if GeneratePackageOnBuild=false (also tried PackOnBuild=false).
Not sure if it's a desired behavior, but I would say it should be cleaning up only during packing. If it's a desired behaviour, then it would be good to have an option to control it like you want.

I can confirm that during such builds packages are not produced. It's just a build and cleanup what happens.

Cleaning up NuGet caches on every build makes my IDE (Rider) scream every time about missing references if consumer project is opened (sometimes only IDE restart helps to fix it).

Version Info

Currently latest version - 1.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions