DLL version of package does not match what msbuild is looking for
In a github repo, I am building the project within and packing it as a nuget package in an action like so:
and then I upload it as an artifact and make a release with it. Another repo downloads this nuget package file to use in its own build process.
The nupkg file produced is named
Finally, in the csproj of the project that uses the package, it shows the following:
It builds fine locally. However, in the msbuild step in the action I see the following error:
and then I upload it as an artifact and make a release with it. Another repo downloads this nuget package file to use in its own build process.
The nupkg file produced is named
TestEntities.1.0.0.nupkg. Inside of the lib\netstandard2.0\ folder is the dll, TestEntities.dll. The version of this dll is 2025.5.19.52. The nuspec file shows <version>1.0.0</version>.Finally, in the csproj of the project that uses the package, it shows the following:
It builds fine locally. However, in the msbuild step in the action I see the following error: