forked from sshnet/SSH.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use new csproj format introduced in VS 2017.
Added support for .NET Standard 2.0.
- Loading branch information
Showing
3 changed files
with
42 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,113 +1,37 @@ | ||
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0"> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<AssemblyTitle>SSH.NET</AssemblyTitle> | ||
<TargetFramework>netstandard1.3</TargetFramework> | ||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> | ||
<TargetFrameworks>netstandard1.3;netstandard2.0</TargetFrameworks> | ||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> | ||
<AssemblyName>Renci.SshNet</AssemblyName> | ||
<AssemblyOriginatorKeyFile>../Renci.SshNet.snk</AssemblyOriginatorKeyFile> | ||
<LangVersion>5</LangVersion> | ||
<SignAssembly>true</SignAssembly> | ||
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign> | ||
<GenerateAssemblyTitleAttribute>false</GenerateAssemblyTitleAttribute> | ||
<GenerateAssemblyDescriptionAttribute>false</GenerateAssemblyDescriptionAttribute> | ||
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute> | ||
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute> | ||
<GenerateAssemblyCopyrightAttribute>false</GenerateAssemblyCopyrightAttribute> | ||
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute> | ||
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute> | ||
<GenerateAssemblyInformationalVersionAttribute>false</GenerateAssemblyInformationalVersionAttribute> | ||
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Compile Include="..\Renci.SshNet\**\*.cs" Exclude="..\Renci.SshNet\Properties\AssemblyInfo.cs"> | ||
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link> | ||
</Compile> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="NETStandard.Library"> | ||
<Version>1.6.0</Version> | ||
</PackageReference> | ||
</ItemGroup> | ||
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' "> | ||
<PackageReference Include="Microsoft.CSharp"> | ||
<Version>4.0.1</Version> | ||
</PackageReference> | ||
<PackageReference Include="SshNet.Security.Cryptography"> | ||
<Version>[1.2.0]</Version> | ||
</PackageReference> | ||
<PackageReference Include="System.Diagnostics.Debug"> | ||
<Version>4.0.11</Version> | ||
</PackageReference> | ||
<PackageReference Include="System.Diagnostics.Tools"> | ||
<Version>4.0.1</Version> | ||
</PackageReference> | ||
<PackageReference Include="System.Diagnostics.TraceSource"> | ||
<Version>4.0.0</Version> | ||
</PackageReference> | ||
<PackageReference Include="System.Globalization"> | ||
<Version>4.0.11</Version> | ||
</PackageReference> | ||
<PackageReference Include="System.IO"> | ||
<Version>4.1.0</Version> | ||
</PackageReference> | ||
<PackageReference Include="System.IO.FileSystem"> | ||
<Version>4.0.1</Version> | ||
</PackageReference> | ||
<PackageReference Include="System.IO.FileSystem.Primitives"> | ||
<Version>4.0.1</Version> | ||
</PackageReference> | ||
<PackageReference Include="System.Linq"> | ||
<Version>4.1.0</Version> | ||
</PackageReference> | ||
<PackageReference Include="System.Net.NameResolution"> | ||
<Version>4.0.0</Version> | ||
</PackageReference> | ||
<PackageReference Include="System.Net.Sockets"> | ||
<Version>4.1.0</Version> | ||
</PackageReference> | ||
<PackageReference Include="System.Reflection.Extensions"> | ||
<Version>4.0.1</Version> | ||
</PackageReference> | ||
<PackageReference Include="System.Runtime.Extensions"> | ||
<Version>4.1.0</Version> | ||
</PackageReference> | ||
<PackageReference Include="System.Security.Cryptography.Algorithms"> | ||
<Version>4.2.0</Version> | ||
</PackageReference> | ||
<PackageReference Include="System.Text.RegularExpressions"> | ||
<Version>4.1.0</Version> | ||
</PackageReference> | ||
<PackageReference Include="System.Threading"> | ||
<Version>4.0.11</Version> | ||
</PackageReference> | ||
<PackageReference Include="System.Threading.Thread"> | ||
<Version>4.0.0</Version> | ||
</PackageReference> | ||
<PackageReference Include="System.Threading.ThreadPool"> | ||
<Version>4.0.10</Version> | ||
</PackageReference> | ||
<PackageReference Include="System.Threading.Timer"> | ||
<Version>4.0.1</Version> | ||
</PackageReference> | ||
<PackageReference Include="System.Xml.XmlDocument"> | ||
<Version>4.0.1</Version> | ||
</PackageReference> | ||
<PackageReference Include="System.Xml.XPath.XmlDocument"> | ||
<Version>4.0.1</Version> | ||
</PackageReference> | ||
<PackageReference Include="SshNet.Security.Cryptography" Version="[1.3.0]" /> | ||
<PackageReference Include="System.Diagnostics.TraceSource" Version="4.3.0" /> | ||
<PackageReference Include="System.Net.NameResolution" Version="4.3.0" /> | ||
<PackageReference Include="System.Net.Sockets" Version="4.3.0" /> | ||
<PackageReference Include="System.Threading.Thread" Version="4.3.0" /> | ||
<PackageReference Include="System.Threading.ThreadPool" Version="4.3.0" /> | ||
<PackageReference Include="System.Threading.Timer" Version="4.3.0" /> | ||
<PackageReference Include="System.Xml.XmlDocument" Version="4.3.0" /> | ||
<PackageReference Include="System.Xml.XPath.XmlDocument" Version="4.3.0" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Update="..\Renci.SshNet\Sftp\ISftpMessageFactory.cs" Link="Sftp\ISftpResponseFactory.cs" /> | ||
<Compile Update="..\Renci.SshNet\Sftp\SftpMessageFactory.cs" Link="Sftp\SftpResponseFactory.cs" /> | ||
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' "> | ||
<PackageReference Include="SshNet.Security.Cryptography" Version="[1.3.0]" /> | ||
</ItemGroup> | ||
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' "> | ||
<DefineConstants>FEATURE_ENCODING_ASCII;FEATURE_DIAGNOSTICS_TRACESOURCE;FEATURE_DIRECTORYINFO_ENUMERATEFILES;FEATURE_MEMORYSTREAM_TRYGETBUFFER;FEATURE_REFLECTION_TYPEINFO;FEATURE_RNG_CREATE;FEATURE_SOCKET_TAP;FEATURE_SOCKET_EAP;FEATURE_SOCKET_SYNC;FEATURE_SOCKET_SETSOCKETOPTION;FEATURE_SOCKET_SELECT;FEATURE_SOCKET_POLL;FEATURE_SOCKET_DISPOSE;FEATURE_DNS_TAP;FEATURE_STREAM_TAP;FEATURE_THREAD_COUNTDOWNEVENT;FEATURE_THREAD_THREADPOOL;FEATURE_THREAD_SLEEP;FEATURE_WAITHANDLE_DISPOSE;FEATURE_HASH_MD5;FEATURE_HASH_SHA1_CREATE;FEATURE_HASH_SHA256_CREATE;FEATURE_HASH_SHA384_CREATE;FEATURE_HASH_SHA512_CREATE;FEATURE_HMAC_MD5;FEATURE_HMAC_SHA1;FEATURE_HMAC_SHA256;FEATURE_HMAC_SHA384;FEATURE_HMAC_SHA512</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> | ||
<DebugType>portable</DebugType> | ||
<DefineConstants>FEATURE_ENCODING_ASCII;FEATURE_DIAGNOSTICS_TRACESOURCE;FEATURE_DIRECTORYINFO_ENUMERATEFILES;FEATURE_MEMORYSTREAM_TRYGETBUFFER;FEATURE_REFLECTION_TYPEINFO;FEATURE_RNG_CREATE;FEATURE_SOCKET_TAP;FEATURE_SOCKET_EAP;FEATURE_SOCKET_SYNC;FEATURE_SOCKET_SETSOCKETOPTION;FEATURE_SOCKET_SELECT;FEATURE_SOCKET_POLL;FEATURE_SOCKET_DISPOSE;FEATURE_DNS_TAP;FEATURE_STREAM_TAP;FEATURE_THREAD_COUNTDOWNEVENT;FEATURE_THREAD_TAP;FEATURE_THREAD_THREADPOOL;FEATURE_THREAD_SLEEP;FEATURE_WAITHANDLE_DISPOSE;FEATURE_HASH_MD5;FEATURE_HASH_SHA1_CREATE;FEATURE_HASH_SHA256_CREATE;FEATURE_HASH_SHA384_CREATE;FEATURE_HASH_SHA512_CREATE;FEATURE_HMAC_MD5;FEATURE_HMAC_SHA1;FEATURE_HMAC_SHA256;FEATURE_HMAC_SHA384;FEATURE_HMAC_SHA512</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> | ||
<DebugType>none</DebugType> | ||
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' "> | ||
<DefineConstants>FEATURE_ENCODING_ASCII;FEATURE_DIAGNOSTICS_TRACESOURCE;FEATURE_DIRECTORYINFO_ENUMERATEFILES;FEATURE_MEMORYSTREAM_GETBUFFER;FEATURE_MEMORYSTREAM_TRYGETBUFFER;FEATURE_RNG_CREATE;FEATURE_SOCKET_TAP;FEATURE_SOCKET_APM;FEATURE_SOCKET_EAP;FEATURE_SOCKET_SYNC;FEATURE_SOCKET_SETSOCKETOPTION;FEATURE_SOCKET_SELECT;FEATURE_SOCKET_POLL;FEATURE_SOCKET_DISPOSE;FEATURE_DNS_SYNC;FEATURE_DNS_APM;FEATURE_DNS_TAP;FEATURE_STREAM_APM;FEATURE_STREAM_TAP;FEATURE_THREAD_COUNTDOWNEVENT;FEATURE_THREAD_TAP;FEATURE_THREAD_THREADPOOL;FEATURE_THREAD_SLEEP;FEATURE_WAITHANDLE_DISPOSE;FEATURE_HASH_MD5;FEATURE_HASH_SHA1_CREATE;FEATURE_HASH_SHA256_CREATE;FEATURE_HASH_SHA384_CREATE;FEATURE_HASH_SHA512_CREATE;FEATURE_HMAC_MD5;FEATURE_HMAC_SHA1;FEATURE_HMAC_SHA256;FEATURE_HMAC_SHA384;FEATURE_HMAC_SHA512</DefineConstants> | ||
</PropertyGroup> | ||
</Project> |