You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, I need the NuGetSourceType metadata in my build process.
Is there please any reason why this this metadata disappeared ? Is there a way to set it back ?
I currently use this custom target to set back NuGetSourceType :
Steps to reproduce
I encounter some missing metadata to
ReferenceCopyLocalPaths
item since migrating toMicrosoft.NET.Sdk
format in project files.Lets consider the following project file :
I use the following code to print metadata from
ReferenceCopyLocalPaths
items :Expected behavior
When using old project files format, I had the following metadata :
Actual behavior
Now I get the following :
The difference being the absence of :
However, I need the
NuGetSourceType
metadata in my build process.Is there please any reason why this this metadata disappeared ? Is there a way to set it back ?
I currently use this custom target to set back
NuGetSourceType
:Environment data
msbuild /version
output: 15.9.21.664.NET Core SDK version : 2.2.108
Visual Studio : Professional 2017, v 15.9.16
The text was updated successfully, but these errors were encountered: