When I try to add coverlet.msbuild
to my test project I get this error:
The expression "[System.Version]::Parse('')" cannot be evaluated. Version string portion was too short or too long. C:\my_repo\packages\coverlet.msbuild.3.1.2\build\coverlet.msbuild.targets
I do see changes to my csproj:
<Import Project="..\packages\coverlet.msbuild.3.1.2\build\coverlet.msbuild.props" Condition="Exists('..\packages\coverlet.msbuild.3.1.2\build\coverlet.msbuild.props')" />
<Error Condition="!Exists('..\packages\coverlet.msbuild.3.1.2\build\coverlet.msbuild.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\coverlet.msbuild.3.1.2\build\coverlet.msbuild.props'))" />
<Error Condition="!Exists('..\packages\coverlet.msbuild.3.1.2\build\coverlet.msbuild.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\coverlet.msbuild.3.1.2\build\coverlet.msbuild.targets'))" />
<Import Project="..\packages\coverlet.msbuild.3.1.2\build\coverlet.msbuild.targets" Condition="Exists('..\packages\coverlet.msbuild.3.1.2\build\coverlet.msbuild.targets')" />
But no changes to packages.config
, so it looks like the nuget isn't actually installed.
I'm trying to add this to a .net 4.8 test project.
Any ideas to what may cause this?