Skip to content

Commit

Permalink
Reduce target framework of generator projects to netstandard2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gasparnagy committed May 15, 2024
1 parent be85072 commit 9ac1ca9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>$(Reqnroll_Generator_TFM)</TargetFrameworks>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<NuspecFile>$(MSBuildThisFileDirectory)Reqnroll.CustomPlugin.nuspec</NuspecFile>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>

Expand Down
13 changes: 0 additions & 13 deletions Installer/Reqnroll.CustomPlugin/Reqnroll.CustomPlugin.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,11 @@
<copyright>$copyright$</copyright>
<dependencies>
<dependency id="Reqnroll" version="[$version$]" />
<dependency id="System.Threading.Tasks.Dataflow" version="4.9.0" />
<dependency id="System.Collections" version="4.3.0" />
<dependency id="System.Diagnostics.Debug" version="4.3.0" />
<dependency id="System.Runtime.Extensions" version="4.3.0" />
<dependency id="System.Security.Principal" version="4.3.0" />
<dependency id="System.Net.Primitives" version="4.3.0" />
<dependency id="System.IO.FileSystem" version="4.3.0" />
<dependency id="System.CodeDom" version="4.4.0" />
</dependencies>
</metadata>

<files>

<file src="bin\$config$\net462\Gherkin.dll" target="lib\$Reqnroll_FullFramework_Generator_TFM$" />
<file src="bin\$config$\net462\Reqnroll.Generator.*" target="lib\$Reqnroll_FullFramework_Generator_TFM$" />
<file src="bin\$config$\net462\Reqnroll.Utils.*" target="lib\$Reqnroll_FullFramework_Generator_TFM$" />
<file src="bin\$config$\net462\Reqnroll.Parser.*" target="lib\$Reqnroll_FullFramework_Generator_TFM$" />

<file src="bin\$config$\netstandard2.0\Gherkin.dll" target="lib\netstandard2.0" />
<file src="bin\$config$\netstandard2.0\Reqnroll.Generator.*" target="lib\netstandard2.0" />
<file src="bin\$config$\netstandard2.0\Reqnroll.Utils.*" target="lib\netstandard2.0" />
Expand Down
3 changes: 1 addition & 2 deletions Reqnroll.Generator/Reqnroll.Generator.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(Reqnroll_Generator_TFM)</TargetFrameworks>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<AssemblyName>Reqnroll.Generator</AssemblyName>
<AssemblyOriginatorKeyFile>$(Reqnroll_KeyFile)</AssemblyOriginatorKeyFile>
<SignAssembly>$(Reqnroll_EnableStrongNameSigning)</SignAssembly>
Expand All @@ -20,7 +20,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Gherkin" Version="19.0.3" />
<PackageReference Include="System.CodeDom" Version="4.4.0" />
</ItemGroup>

Expand Down
5 changes: 2 additions & 3 deletions Reqnroll/Reqnroll.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,22 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

<!-- build time dependencies -->
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>

<PackageReference Include="MSBuild.AdditionalTasks" Version="0.1.36" />
</ItemGroup>

<ItemGroup>
<EmbeddedResource Include=".\BindingSkeletons\DefaultSkeletonTemplates.sftemplate" Exclude="bin\**;obj\**;**\*.xproj;packages\**;@(EmbeddedResource)" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="MSBuild.AdditionalTasks" Version="0.1.36" />
<PackageReference Include="Gherkin" Version="19.0.3" />
<PackageReference Include="Cucumber.CucumberExpressions" Version="16.0.0" />

<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="6.0.0" />
<PackageReference Include="System.Runtime.Loader" Version="4.3.0" />
<PackageReference Include="SpecFlow.Internal.Json" Version="1.0.8" />
Expand Down

0 comments on commit 9ac1ca9

Please sign in to comment.