Create snukpg & use sourcelink

This commit is contained in:
Christoph Wille 2019-05-14 09:53:03 +02:00
Родитель c0c8744a9d
Коммит 69f9c8c4b2
1 изменённых файлов: 34 добавлений и 16 удалений

Просмотреть файл

@ -2,20 +2,34 @@
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFrameworks>netcoreapp3.0;net40;net45;net35</TargetFrameworks>
<UseWPF>true</UseWPF>
<UseWindowsForms>true</UseWindowsForms>
<DefineConstants>TRACE;DOTNET4</DefineConstants>
<UseWPF>true</UseWPF>
<UseWindowsForms>true</UseWindowsForms>
<DefineConstants>TRACE;DOTNET4</DefineConstants>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>ICSharpCode.AvalonEdit.snk</AssemblyOriginatorKeyFile>
<OutputPath>..\packages\lib</OutputPath>
<OutputPath>..\packages\lib</OutputPath>
<DocumentationFile>..\packages\lib\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
<Company>ic#code</Company>
<Copyright>2000-2019 AlphaSierraPapa for the SharpDevelop Team</Copyright>
<Description>WPF-based extensible text editor</Description>
<Description>AvalonEdit is the WPF-based text editor used in SharpDevelop. There are four builds of AvalonEdit included in this package. .NET 3.5, 4.0, 4.5 and .NET Core 3.0.</Description>
<Version>6.0</Version>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<FileVersion>6.0.0.0</FileVersion>
</PropertyGroup>
<PropertyGroup>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<RepositoryUrl>https://github.com/icsharpcode/AvalonEdit.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<Authors>AvalonEdit Contributors</Authors>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>http://www.avalonedit.net</PackageProjectUrl>
<PackageIconUrl>http://community.sharpdevelop.net/blogs/mattward/SharpDevelop.png</PackageIconUrl>
<PackageTags>WPF Text Editor SharpDevelop AvalonEdit</PackageTags>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.0' ">
<DefineConstants>TRACE;DOTNET4</DefineConstants>
</PropertyGroup>
@ -29,27 +43,31 @@
<DefineConstants>TRACE</DefineConstants>
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net40' ">
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Windows.Forms" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Windows.Forms" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net35' ">
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Web" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Web" />
</ItemGroup>
<ItemGroup>
<None Remove="Search\next.png" />
<None Remove="Search\prev.png" />
<None Remove="themes\RightArrow.cur" />
<Resource Include="Search\next.png" />
<ItemGroup>
<None Remove="Search\next.png" />
<None Remove="Search\prev.png" />
<None Remove="themes\RightArrow.cur" />
<Resource Include="Search\next.png" />
<Resource Include="Search\prev.png" />
<Resource Include="themes\RightArrow.cur" />
<Resource Include="themes\RightArrow.cur" />
</ItemGroup>
<ItemGroup>
<None Remove="Highlighting\Resources\*" />
<EmbeddedResource Include="Highlighting\Resources\*" />
<EmbeddedResource Remove="Highlighting\Resources\Resources.cs" />
<Resource Include="Highlighting\Resources\Resources.cs" />
<Resource Include="Highlighting\Resources\Resources.cs" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-18618-05">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>