When I build my .NET Core (NETStandard v2.0) project I am getting the following warning:
ViewModels: [FodyPackageReference] Fody: The package reference for PropertyChanged.Fody does not contain PrivateAssets='All'
The warning is in reference to the PropertyChanged.Fody NuGet package.
While the warning does not stop the build, I would like to resolve the warning. However, I don't understand what it is trying to communicate.
PrivateAssets
is a metadata tag used to control dependency assets.In your case, unless you want to expose
PropertyChanged.Fody
to a consumer (i.e. you are releasing a library), settingPrivateAssets
toAll
in your .csproj file will remove the warning.