- Version: 0.5.2
- Target: all
Running dotnet clean on the project without a restore performed earlier will trigger the NETSDK1004 error.
This is due to the ElectronBeforeClean and ElectronClean. They depend on ElectronResolvePaths itself depending on ResolveProjectReferences which implies they have restored the project once.
Switching to ElectronSetPaths instead of ElectronResolvePaths might be the solution
Steps to Reproduce:
- Clean using
git clean -ffdx
- Run
dotnet clean on one of the examples
Running
dotnet cleanon the project without a restore performed earlier will trigger the NETSDK1004 error.This is due to the
ElectronBeforeCleanandElectronClean. They depend onElectronResolvePathsitself depending onResolveProjectReferenceswhich implies they have restored the project once.Switching to
ElectronSetPathsinstead ofElectronResolvePathsmight be the solutionSteps to Reproduce:
git clean -ffdxdotnet cleanon one of the examples