dotnet / dotnet/arcade

VerifyClosure task is failing if target directory does not exist

Open
#6,090 0 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
C#
Stars
729
Forks
397
Avg merge
3d 15m
Merged PRs (30d)
149

Description

VerifyClosure task is failing to write the visualization file (DGML) if destination directory does not exist: https://github.com/dotnet/arcade/blob/e11b8486ad155fab13e788a268755c0ca60d3609/src/Microsoft.DotNet.Build.Tasks.Packaging/src/VerifyClosure.cs#L388

The task should ensure that directory exists before trying to create a file, i.e. `Directory.CreateDirectory(Path.GetDirectoryName(dependencyGraphFilePath))`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.