today I want to document one simple trick. Recently I've configured docker container and faced following issue with nuget.
For nuget I've used following command from powershell:
nuget install MSBuildTasks -Version 22.214.171.124
Nuget installed MSBuildTasks, and I didn't know where exactly nuget placed file MSBuild.Community.Tasks.Targets. So, I needed to find it. With help of following command:
Get-ChildItem -Path C:\ -Filter MSBuild.Community.Tasks.Targets -Recurse
I was able to execute search on the whole drive C for the file MSBuild.Community.Tasks.Targets and successfully find where Nuget placed that file.