question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dotnet clean at the sln level should clean all

See original GitHub issue

Steps to reproduce

dotnet clean

Expected behavior

All bin and obj folders for all referenced projects should be cleaned.

Actual behavior

Nothing seems to happen.

Environment data

dotnet --info output:

Product Information:
 Version:            2.0.0-preview3-006770
 Commit SHA-1 hash:  78e7163819

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.15063
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.0.0-preview3-006770\

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.0-preview3-25514-02
  Build    : 1b047a04057cec973cfb890fd21f7a639cfcd118

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:21
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

5reactions
Petermarcucommented, Feb 28, 2018

Yes, builds should give you runnable apps and not half baked apps. Cleans should clean builds and publishes. 😃

4reactions
livarcocccommented, Feb 28, 2018

Another argument towards ending the build/publish separation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

dotnet clean command - .NET CLI
The dotnet clean command cleans the current directory.
Read more >
10 commands you don't want to be without in .Net Core
To manage the solution you have the following commands at your disposal: add, this will add a project to your solution. remove, this...
Read more >
Clean and Build a solution without using Visual Studio
The Solution may be using .NET Standard and/or .NET Core. Note: I want to create a batch file in (Windows cmd or PowerShell)...
Read more >
DotnetCleanup
NET Core Global Tool for cleaning up solution, project or folder. The tool will list the files and folders which will be deleted,...
Read more >
Dotnet clean build command. Have a . The tool supports ...
The dotnet clean command cleans the output of the previous build. csproj) referenced to the main web project ( VinXP. 0 have same...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found