Skip to content
This repository was archived by the owner on May 22, 2024. It is now read-only.

Commit 7ae2aeb

Browse files
authored
Reintroduce build folder for NuGet package (#43)
The build folder was mistakenly removed from the NuGet package in v0.6.0. Especially the .targets file needs to be included in order for the Plugin to be included during builds.
1 parent 601ce7b commit 7ae2aeb

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

SpecFlow.DependencyInjection/SpecFlow.DependencyInjection.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>netstandard2.0</TargetFrameworks>
3+
<TargetFramework>netstandard2.0</TargetFramework>
44
<Product>SpecFlow.DependencyInjection</Product>
55
<PackageId>SolidToken.SpecFlow.DependencyInjection</PackageId>
66
<RootNamespace>SolidToken.SpecFlow.DependencyInjection</RootNamespace>
@@ -10,8 +10,7 @@
1010
<Authors>Solid Token</Authors>
1111
<Company>Solid Token</Company>
1212
<Copyright>Copyright © Solid Token</Copyright>
13-
<PackageIcon>icon.png</PackageIcon>
14-
<PackageIconUrl>https://avatars0.githubusercontent.com/u/413381</PackageIconUrl>
13+
<PackageIcon>assets/icon.png</PackageIcon>
1514
<PackageLicenseExpression>BSD-3-Clause</PackageLicenseExpression>
1615
<PackageProjectUrl>https://github.com/solidtoken/SpecFlow.DependencyInjection</PackageProjectUrl>
1716
<PackageTags>microsoft;dependencyinjection;di;specflow;plugin</PackageTags>
@@ -25,8 +24,9 @@
2524
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
2625
</PropertyGroup>
2726
<ItemGroup>
28-
<None Include="icon.png" Pack="true" Visible="false" PackagePath="" />
2927
<None Include="../LICENSE" Pack="true" Visible="false" PackagePath="" />
28+
<None Include="assets/icon.png" Pack="true" Visible="true" PackagePath="assets/" />
29+
<None Include="build/*" Pack="true" Visible="true" PackagePath="build/" />
3030
</ItemGroup>
3131
<ItemGroup>
3232
<PackageReference Include="GitVersion.MsBuild" Version="5.6.6">
File renamed without changes.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" TreatAsLocalProperty="TaskFolder;TaskAssembly">
2+
<ItemGroup>
3+
<None Include="$(_SpecFlow_DependencyInjectionPluginPath)" >
4+
<Link>%(Filename)%(Extension)</Link>
5+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
6+
<Visible>False</Visible>
7+
</None>
8+
</ItemGroup>
9+
</Project>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<PropertyGroup>
3+
<_SpecFlow_DependencyInjectionPluginPath>$(MSBuildThisFileDirectory)\..\lib\netstandard2.0\SolidToken.SpecFlow.DependencyInjection.SpecFlowPlugin.dll</_SpecFlow_DependencyInjectionPluginPath>
4+
</PropertyGroup>
5+
</Project>

0 commit comments

Comments
 (0)