mirror of
https://github.com/evopro-ag/Sharp7Reactive.git
synced 2025-12-13 10:32:52 +00:00
Update NuGet package generation to SDK style
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
|
||||
<PackageReference Include="NUnit" Version="3.11.0" />
|
||||
<PackageReference Include="SpecFlow" Version="2.4.0" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -1,11 +1,19 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
|
||||
<Version>1.0.0</Version>
|
||||
<Authors>Federico Barresi</Authors>
|
||||
<Company>evopro AG</Company>
|
||||
<Description>Reactive framework for Sharp7, the Ethernet S7 PLC communication suite</Description>
|
||||
<PackageProjectUrl>https://github.com/evopro-ag/Sharp7Reactive</PackageProjectUrl>
|
||||
<PackageLicenseUrl>https://raw.githubusercontent.com/evopro-ag/Sharp7Reactive/master/LICENSE</PackageLicenseUrl>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Sharp7" Version="1.0.13" />
|
||||
<PackageReference Include="Sharp7" Version="1.0.18" />
|
||||
<PackageReference Include="System.Reactive" Version="4.1.0" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<package>
|
||||
<metadata>
|
||||
<id>Sharp7.Rx</id>
|
||||
<version>$version$</version>
|
||||
<title>Sharp7.Rx</title>
|
||||
<authors>evopro AG</authors>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<description>Reactive framework for Sharp7, the Ethernet S7 PLC communication suite</description>
|
||||
<projectUrl>https://github.com/evopro-ag/Sharp7Reactive</projectUrl>
|
||||
<licenseUrl>https://raw.githubusercontent.com/evopro-ag/Sharp7Reactive/master/LICENSE</licenseUrl>
|
||||
<copyright>Copyright 2018</copyright>
|
||||
<dependencies>
|
||||
<dependency id="System.Reactive" version="4.1"/>
|
||||
<dependency id="Sharp7" version="1.0"/>
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="..\Sharp7.Rx\bin\Release\netstandard2.0\Sharp7.Rx.dll" target="lib\netstandard2.0" />
|
||||
</files>
|
||||
</package>
|
||||
Binary file not shown.
@@ -1,8 +0,0 @@
|
||||
Write-Host "Setting .nuspec version tag to $env:appveyor_build_version"
|
||||
|
||||
$content = (Get-Content _nuspec\Sharp7.Rx.nuspec)
|
||||
$content = $content -replace '\$version\$', $env:appveyor_build_version
|
||||
|
||||
$content | Out-File _nuspec\Sharp7.Rx.compiled.nuspec
|
||||
|
||||
& _nuspec\NuGet.exe pack _nuspec\Sharp7.Rx.compiled.nuspec
|
||||
Reference in New Issue
Block a user