Skip to content

Commit

Permalink
Fix V2 connector dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
gasparnagy committed Feb 22, 2021
1 parent e0bfeb3 commit a462481
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,11 @@
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="4.5.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' != 'net5.0'">
<ItemGroup>
<PackageReference Include="SpecFlow" Version="3.0.220" />
<PackageReference Include="SpecFlow.CustomPlugin" Version="3.0.220" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
<PackageReference Include="SpecFlow" Version="3.5.14" />
<PackageReference Include="SpecFlow.CustomPlugin" Version="3.5.14" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Deveroom.VisualStudio.SpecFlowConnector.Models\Deveroom.VisualStudio.SpecFlowConnector.Models.csproj" />
</ItemGroup>
Expand All @@ -48,7 +43,7 @@
<Target Name="GetCopyToOutputDirectoryItems" />
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(IN_PUBLISH)'!='true'">
<Message Importance="High" Text="Publishing manually" />
<Exec Command="(set IN_PUBLISH=true) &amp; dotnet publish -f netcoreapp2.1 -c $(Configuration)" />
<Exec Command="(set IN_PUBLISH=true) &amp; dotnet publish -f netcoreapp2.1 -c $(Configuration)" />
<Exec Command="(set IN_PUBLISH=true) &amp; dotnet publish -f netcoreapp3.1 -c $(Configuration)" />
<Exec Command="(set IN_PUBLISH=true) &amp; dotnet publish -f net5.0 -c $(Configuration)" />
</Target>
Expand Down

0 comments on commit a462481

Please sign in to comment.