(GH-2) Migrate old project files to the new 2017 format

This migration is also a preparation for the .Net Core 3.0 Preview usage.
This commit is contained in:
punker76
2019-07-13 00:05:09 +02:00
parent 6e56982ea7
commit 72c8e2a58c
12 changed files with 122 additions and 729 deletions

View File

@@ -0,0 +1,43 @@
<Project>
<PropertyGroup>
<TargetFrameworks>net40;net45;net452;net46;net462;net47;net472</TargetFrameworks>
<LangVersion>7.3</LangVersion>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
<IsSampleProject>$(MSBuildProjectName.Contains('Sample'))</IsSampleProject>
</PropertyGroup>
<Choose>
<When Condition=" '$(IsSampleProject)' != 'true' ">
<PropertyGroup>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2*" PrivateAssets="All" />
</ItemGroup>
<!-- SourceLink -->
<PropertyGroup>
<!-- Optional: Declare that the Repository URL can be published to NuSpec -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<!-- Optional: Embed source files that are not tracked by the source control manager to the PDB -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- https://github.com/dotnet/sourcelink/blob/master/docs/README.md#embedallsources -->
<EmbedAllSources>true</EmbedAllSources>
<!-- Optional: Include PDB in the built .nupkg -->
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>
</When>
</Choose>
<ItemGroup>
<None Remove="**\*.png;**\*.jpg;**\*.ico" />
<Resource Include="**\*.png;**\*.jpg;**\*.ico" />
</ItemGroup>
</Project>