dotnet / dotnet/source-build

Enable nullable on the tasks projects

Open
#3,780 1 comment 0 reactions 0 assignees View on GitHub
area-infra
Dominant language
No language data
Stars
287
Forks
145
Avg merge
1d 22h
Merged PRs (30d)
10

Description

Tasks projects `vmr/eng/tools/tasks/Microsoft.DotNet.SourceBuild.Tasks.LeakDetection`, `vmr/eng/tools/tasks/Microsoft.DotNet.SourceBuild.Tasks.XPlat`, and `vmr/eng/tools/tasks/SourceBuild.MSBuildSdkResolver` should have nullable enabled.

This can be fixed by adding `enable` to each `.csproj` file and resolving all related warnings/errors.

https://github.com/dotnet/installer/blob/1d674abffe7ecd734b49f7b5fd838900ab1c5ac5/src/SourceBuild/content/eng/tools/tasks/Microsoft.DotNet.SourceBuild.Tasks.LeakDetection/DummyAttributeTypeProvider.cs#L10 should also be removed.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.