Skip to main content

Error MSB4018 when referencing generator plug-in and building with dotnet build


1 comment

  • Eric Bosch

    Replacing SpecFlow.NUnit by SpecFlow solves the issue, but then it is not possible anymore to run unit tests because SpecFlow.NUnit is required. Is there any dependency between SpecFlow.Tools.MSBuild.Generation and SpecFlow.NUnit which causes the build error?

        <PackageReference Include="nunit" Version="3.13.2" />
        <PackageReference Include="NUnit3TestAdapter" Version="3.14.0" />
        <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.3.0" />
        <PackageReference Include="SpecFlow.NUnit" Version="3.9.58" />

Please sign in to leave a comment.

Powered by Zendesk