dotnet / dotnet/aspnetcore

Microsoft.Build.Tasks.Core is causing issue in default packages of a new .NET 10 rc2 Project

Open
#64,153 1 comment 0 reactions 0 assignees View on GitHub
area-mvc
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Describe the bug

1. Create a new project in .NET 10 MVC using .NET Identity
2. Add package manager and run command update-database
3. You will see the error
Build started...
Build succeeded.
The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: C:\Users\bhrug\OneDrive\Desktop\API\WebApplication1\WebApplication1\WebApplication1.csproj : warning NU1903: Package 'Microsoft.Build.Tasks.Core' 17.14.8 has a known high severity vulnerability, https://github.com/advisories/GHSA-w3q9-fxm7-j8fq

### Expected Behavior

Project should be able to update database

### Steps To Reproduce

1. Create a new project in .NET 10 MVC using .NET Identity
2. Add package manager and run command update-database
3. You will see the error
Build started...
Build succeeded.
The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: C:\Users\bhrug\OneDrive\Desktop\API\WebApplication1\WebApplication1\WebApplication1.csproj : warning NU1903: Package 'Microsoft.Build.Tasks.Core' 17.14.8 has a known high severity vulnerability, https://github.com/advisories/GHSA-w3q9-fxm7-j8fq

### Exceptions (if any)

_No response_

### .NET Version

_No response_

### Anything else?

_No response_

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.