Giter Club home page Giter Club logo

Comments (5)

MovGP0 avatar MovGP0 commented on September 2, 2024 1

I did and it's working. using it in this way now:

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>netcoreapp2.0</TargetFramework>
    <IsPackable>false</IsPackable>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
    <LangVersion>latest</LangVersion>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
    <PackageReference Include="NUnit" Version="3.9.0" />
    <PackageReference Include="NUnit3TestAdapter" Version="3.9.0" />
    <PackageReference Include="SpecFlow.NUnit.Runners" Version="2.2.1" />
    <PackageReference Include="System.Configuration.ConfigurationManager" Version="4.5.0-preview1-25914-04" />
  </ItemGroup>
  <ItemGroup>
    <DotNetCliToolReference Include="SpecFlow.NetCore" Version="1.0.0" />
  </ItemGroup>
  <Target Name="PrecompileScript" BeforeTargets="BeforeBuild">
    <Exec Command="dotnet SpecFlow.NetCore --specflow-path SpecFlow\2.2.1\tools\specflow.exe" />
  </Target>
</Project>

I guess the documentation should be updated.

from specflow.netcore.

stajs avatar stajs commented on September 2, 2024 1

Auto-detection of SpecFlow version from the .csproj was merged yesterday thanks to @oakio (not yet released to nuget.org).

I'll take a PR to improve the README, but at least the output already hints at the solution:

Try specifying the path with --specflow-path.

from specflow.netcore.

smudge202 avatar smudge202 commented on September 2, 2024

You can specify the path yourself as an arg

https://github.com/stajs/SpecFlow.NetCore/blob/master/src/SpecFlow.NetCore/Args.cs#L10

from specflow.netcore.

smudge202 avatar smudge202 commented on September 2, 2024

Agreed, we should update the readme

from specflow.netcore.

stajs avatar stajs commented on September 2, 2024

https://www.nuget.org/packages/SpecFlow.NetCore/1.1.0

from specflow.netcore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.