Migrate to Directory.Build.props

This commit is contained in:
jmalek
2019-07-15 13:10:27 +02:00
parent 4e2f5d6e3f
commit 5a681754f8
6 changed files with 154 additions and 9 deletions
+60
View File
@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2002-2019 iterate GmbH. All rights reserved.
~ https://cyberduck.io/
~
~ This program is free software; you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="AssemblyInfo">
<Company>iterate GmbH</Company>
<Copyright>Copyright (c) 2001-2016 David Kocher. Copyright (c) 20112016 Yves Langisch</Copyright>
<Description>Libre FTP, SFTP, WebDAV, S3 and OpenStack Swift browser for Mac and Windows.</Description>
<Version>7.0.2-SNAPSHOT</Version>
</PropertyGroup>
<PropertyGroup>
<CyberduckDir>$(MSBuildThisFileDirectory)</CyberduckDir>
<TargetBuildDir>$(ModulePath)target\</TargetBuildDir>
<BaseIntermediateOutputPath>$(TargetBuildDir)obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
<BaseOutputPath>$(TargetBuildDir)</BaseOutputPath>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)$(Configuration)\</IntermediateOutputPath>
<OutputPath>$(BaseOutputPath)</OutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
<ItemDefinitionGroup>
<CyberduckReference />
</ItemDefinitionGroup>
<ItemGroup>
<IKVM Include="IKVM.OpenJDK.Beans" />
<IKVM Include="IKVM.OpenJDK.Charsets" />
<IKVM Include="IKVM.OpenJDK.Core" />
<IKVM Include="IKVM.OpenJDK.Jdbc" />
<IKVM Include="IKVM.OpenJDK.Localedata" />
<IKVM Include="IKVM.OpenJDK.Security" />
<IKVM Include="IKVM.OpenJDK.Text" />
<IKVM Include="IKVM.OpenJDK.XML.API" />
<IKVM Include="IKVM.OpenJDK.XML.Bind" />
<IKVM Include="IKVM.OpenJDK.XML.Parse" />
<IKVM Include="IKVM.OpenJDK.XML.Transform" />
<IKVM Include="IKVM.OpenJDK.XML.XPath" />
<IKVM Include="IKVM.Runtime" />
<IKVM Include="IKVM.Runtime.JNI" />
<IKVMReferences Include="@(IKVM)" HintPath="$(TargetBuildDir)ikvm\bin\%(Identity).dll" />
</ItemGroup>
</Project>
+31
View File
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2002-2019 iterate GmbH. All rights reserved.
~ https://cyberduck.io/
~
~ This program is free software; you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<CustomAfterCentralPackageVersionsTargets>$(MSBuildThisFileDirectory)MSBuildTasks.targets</CustomAfterCentralPackageVersionsTargets>
</PropertyGroup>
<Sdk Name="Microsoft.Build.CentralPackageVersions" Version="2.0.41" />
<ItemGroup>
<Reference Include="@(CyberduckReference->'Cyberduck.%(Identity)')">
<HintPath>$(TargetBuildDir)%(Identity).dll</HintPath>
</Reference>
</ItemGroup>
</Project>
+25
View File
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2002-2019 iterate GmbH. All rights reserved.
~ https://cyberduck.io/
~
~ This program is free software; you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildCommunityTasksPath>$(PkgMSBuildTasks)\tools\</MSBuildCommunityTasksPath>
</PropertyGroup>
<Import Project="$(MSBuildCommunityTasksPath)MSBuild.Community.Tasks.Targets" />
</Project>
+33
View File
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2002-2019 iterate GmbH. All rights reserved.
~ https://cyberduck.io/
~
~ This program is free software; you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<PackageReference Update="ExceptionReporter " Version="2.4.2" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.2.0" />
<PackageReference Update="Microsoft.Toolkit.Uwp.Notifications" Version="2.0.0" />
<PackageReference Update="Microsoft.Windows.SDK.Contracts" Version="10.0.17763.1000-preview" />
<PackageReference Update="NUnit.Runners" Version="2.7.0" GeneratePathProperty="true" />
<PackageReference Update="nunit" Version="2.7.0" />
<PackageReference Update="NUnitTestAdapter" Version="2.2.0" />
<PackageReference Update="ObjectListView.Official" Version="2.9.1" />
<PackageReference Update="StructureMap" Version="2.6.1" />
<PackageReference Update="WindowsAPICodePack-Core" Version="1.1.2" />
<PackageReference Update="WindowsAPICodePack-Shell" Version="1.1.1" />
<GlobalPackageReference Include="MSBuildTasks" Version="1.5.0.235" GeneratePathProperty="true" />
</ItemGroup>
</Project>
+5
View File
@@ -0,0 +1,5 @@
{
"msbuild-sdks": {
"Microsoft.Build.NoTargets": "1.0.73"
}
}
-9
View File
@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="DotNetZip" version="1.10.1" targetFramework="net45" />
<package id="ExceptionReporter" version="2.2.1" targetFramework="net45" />
<package id="Microsoft.Toolkit.Uwp.Notifications" version="2.0.0" targetFramework="net45" />
<package id="Simple-MAPI.NET" version="1.0.1" targetFramework="net45" />
<package id="WindowsAPICodePack-Core" version="1.1.2" targetFramework="net45" />
<package id="WindowsAPICodePack-Shell" version="1.1.1" targetFramework="net45" />
</packages>