3
Home
Wiesław Šoltés редактировал(а) эту страницу 2020-09-01 12:23:00 +02:00
Project
netDxf.netstandard.csproj
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp2.2;netcoreapp3.0;netcoreapp3.1;net45;net452;net461</TargetFrameworks>
<OutputType>Library</OutputType>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<GenerateAssemblyInfo>True</GenerateAssemblyInfo>
<EnableDefaultCompileItems>False</EnableDefaultCompileItems>
<EnableDefaultItems>False</EnableDefaultItems>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
<NoWarn>$(NoWarn);CS1573;CS1591</NoWarn>
<IsPackable>True</IsPackable>
<Nullable>disable</Nullable>
</PropertyGroup>
<PropertyGroup>
<VersionPrefix>2.4.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
<Authors>Daniel Carvajal</Authors>
<Company>Daniel Carvajal</Company>
<Description>netDxf is a .net library programmed in C# to read and write AutoCAD dxf files. It supports AutoCad2000, AutoCad2004, AutoCad2007, AutoCad2010, AutoCad2013, and AutoCad2018 dxf database versions, in both text and binary format.</Description>
<Copyright>Copyright Daniel Carvajal 2009-2019</Copyright>
<PackageLicenseExpression>LGPL-2.1-only</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/haplokuon/netDxf</PackageProjectUrl>
<PackageReleaseNotes>https://github.com/haplokuon/netDxf/wiki</PackageReleaseNotes>
<PackageTags>DXF;AutoCAD</PackageTags>
</PropertyGroup>
<ItemGroup>
<Compile Include="**\*.cs" Exclude="obj\**" />
<Compile Remove="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.StartsWith('net4'))">
<Reference Include="System" />
<Reference Include="System.Drawing" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.StartsWith('netstandard')) or $(TargetFramework.StartsWith('netcoreapp'))">
<PackageReference Include="System.Drawing.Common" Version="4.5.0"/>
</ItemGroup>
</Project>
Build
dotnet build -c Release netDxf/netDxf.netstandard.csproj
Pack
dotnet pack -c Release netDxf/netDxf.netstandard.csproj