I have created a build package that sets the Version property based on the current time. When I pack a project with TargetFramework .netcoreapp3.0, which reference this build package, the package version is applied correctly. When I pack the project with multiple TargetFrameworks (e.g. netcoreapp3.0;netcoreapp2.2;netcoreapp2.1) the build package is not loaded. The version of the package becomes 1.0.0 instead.
Edit:
Even if I use
<TargetFrameworks>netcoreapp3.0</TargetFrameworks>
The build package is not loaded
if I use
<TargetFramework>netcoreapp3.0</TargetFramework>
instead, everything works as expected.
Edit:
The build package targets netstandard1.1
I have created a build package that sets the Version property based on the current time. When I pack a project with TargetFramework .netcoreapp3.0, which reference this build package, the package version is applied correctly. When I pack the project with multiple TargetFrameworks (e.g. netcoreapp3.0;netcoreapp2.2;netcoreapp2.1) the build package is not loaded. The version of the package becomes 1.0.0 instead.
Edit:
Even if I use
The build package is not loaded
if I use
instead, everything works as expected.
Edit:
The build package targets netstandard1.1