Skip to content

Commit

Permalink
Opw.PineBlog.Core package nuspec
Browse files Browse the repository at this point in the history
  • Loading branch information
petervandenhout committed Jul 12, 2019
1 parent aa9e53c commit 7fe2f67
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 17 deletions.
20 changes: 3 additions & 17 deletions src/Opw.PineBlog.Core/Opw.PineBlog.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
Expand All @@ -7,7 +7,8 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageId>Opw.PineBlog.Core</PackageId>
<PackageTags>blog core</PackageTags>
<IncludeBuildOutput>false</IncludeBuildOutput>
<NuspecFile>Opw.PineBlog.Core.nuspec</NuspecFile>
<NuspecProperties>version=$(PackageVersion)</NuspecProperties>
</PropertyGroup>

<ItemGroup>
Expand All @@ -24,19 +25,4 @@
<ProjectReference Include="..\Opw.PineBlog.Abstractions\Opw.PineBlog.Abstractions.csproj" />
</ItemGroup>

<PropertyGroup>
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);GetMyPackageFiles</TargetsForTfmSpecificBuildOutput>
</PropertyGroup>

<Target Name="GetMyPackageFiles">
<ItemGroup>
<BuildOutputInPackage Include="$(OutputPath)\*.dll">
<TargetPath></TargetPath>
</BuildOutputInPackage>
<BuildOutputInPackage Include="$(OutputPath)\*.xml">
<TargetPath></TargetPath>
</BuildOutputInPackage>
</ItemGroup>
</Target>

</Project>
32 changes: 32 additions & 0 deletions src/Opw.PineBlog.Core/Opw.PineBlog.Core.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>Opw.PineBlog.Core</id>
<version>0.0.0</version>
<authors>Of Pine Wood</authors>
<owners>Of Pine Wood</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<licenseUrl>https://github.com/ofpinewood/pineblog/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/ofpinewood/pineblog</projectUrl>
<iconUrl>https://github.com/ofpinewood/pineblog/blob/master/pineblog-logo-256x256.gif?raw=true</iconUrl>
<description>PineBlog core package.</description>
<tags>blog core</tags>
<repository type="git" url="https://github.com/ofpinewood/pineblog" />
<dependencies>
<group targetFramework=".NETStandard2.0">
<!--<dependency id="Opw.PineBlog.Abstractions" version="1.0.0" exclude="Build,Analyzers" />-->
<dependency id="FluentValidation" version="8.4.0" exclude="Build,Analyzers" />
<dependency id="MediatR" version="7.0.0" exclude="Build,Analyzers" />
<dependency id="MediatR.Extensions.Microsoft.DependencyInjection" version="7.0.0" exclude="Build,Analyzers" />
<dependency id="Microsoft.AspNetCore.Http.Abstractions" version="2.2.0" exclude="Build,Analyzers" />
<dependency id="Microsoft.EntityFrameworkCore" version="2.2.6" exclude="Build,Analyzers" />
<dependency id="Microsoft.Extensions.Options" version="2.2.0" exclude="Build,Analyzers" />
<dependency id="Microsoft.Extensions.Options.ConfigurationExtensions" version="2.2.0" exclude="Build,Analyzers" />
</group>
</dependencies>
</metadata>
<files>
<file src="bin\Release\netstandard2.0\*.dll" target="lib\netstandard2.0\"/>
<file src="bin\Release\netstandard2.0\*.xml" target="lib\netstandard2.0\"/>
</files>
</package>

0 comments on commit 7fe2f67

Please sign in to comment.