diff options
author | Tommy Parnell <tparnell8@gmail.com> | 2017-05-28 13:11:25 -0700 |
---|---|---|
committer | Tommy Parnell <tparnell8@gmail.com> | 2017-05-28 13:11:25 -0700 |
commit | 2cf90883f7a6d49928dc87296384f8fcdf7e89a4 (patch) | |
tree | 54c9b498a58673331148d976cc8e85be7b49eb50 /src | |
parent | 691b73e6212f1e98a973e3eb3e9582101ba2c200 (diff) | |
download | Otp.NET-2cf90883f7a6d49928dc87296384f8fcdf7e89a4.zip Otp.NET-2cf90883f7a6d49928dc87296384f8fcdf7e89a4.tar.gz Otp.NET-2cf90883f7a6d49928dc87296384f8fcdf7e89a4.tar.bz2 |
update to new csproj
Diffstat (limited to 'src')
-rwxr-xr-x | src/Otp.NET.UnitTests/Otp.NET.UnitTests.csproj | 17 | ||||
-rwxr-xr-x | src/Otp.NET.UnitTests/UnitTest1.cs | 14 | ||||
-rwxr-xr-x | src/Otp.NET/Otp.NET.csproj | 21 | ||||
-rw-r--r-- | src/Otp.NET/Otp.NET.xproj | 19 | ||||
-rw-r--r-- | src/Otp.NET/Properties/AssemblyInfo.cs | 3 | ||||
-rw-r--r-- | src/Otp.NET/project.json | 14 |
6 files changed, 52 insertions, 36 deletions
diff --git a/src/Otp.NET.UnitTests/Otp.NET.UnitTests.csproj b/src/Otp.NET.UnitTests/Otp.NET.UnitTests.csproj new file mode 100755 index 0000000..27ec6e6 --- /dev/null +++ b/src/Otp.NET.UnitTests/Otp.NET.UnitTests.csproj @@ -0,0 +1,17 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>netcoreapp1.1</TargetFramework> + </PropertyGroup> + + <ItemGroup> + <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" /> + <PackageReference Include="xunit" Version="2.2.0" /> + <PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" /> + </ItemGroup> + + <ItemGroup> + <ProjectReference Include="..\Otp.NET\Otp.NET.csproj" /> + </ItemGroup> + +</Project> diff --git a/src/Otp.NET.UnitTests/UnitTest1.cs b/src/Otp.NET.UnitTests/UnitTest1.cs new file mode 100755 index 0000000..7f2737c --- /dev/null +++ b/src/Otp.NET.UnitTests/UnitTest1.cs @@ -0,0 +1,14 @@ +using System;
+using Xunit;
+
+namespace Otp.NET.UnitTests
+{
+ public class UnitTest1
+ {
+ [Fact]
+ public void Test1()
+ {
+
+ }
+ }
+}
diff --git a/src/Otp.NET/Otp.NET.csproj b/src/Otp.NET/Otp.NET.csproj new file mode 100755 index 0000000..c9de44e --- /dev/null +++ b/src/Otp.NET/Otp.NET.csproj @@ -0,0 +1,21 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFrameworks>netstandard1.3;net45</TargetFrameworks> + <PackageId>Otp.NET</PackageId> + <Authors>Kyle Spearrin</Authors> + <PackageProjectUrl>https://github.com/kspearrin/Otp.NET</PackageProjectUrl> + <PackageLicenseUrl>https://raw.githubusercontent.com/kspearrin/Otp.NET/master/LICENSE.txt</PackageLicenseUrl> + <Title>Otp.NET</Title> + <Description>An implementation of TOTP which is commonly used for multi factor authentication by using a shared key between the client and the server to generate and verify one time use codes. For documentation, visit https://github.com/kspearrin/Otp.NET</Description> + <Summary>An implementation of TOTP which is commonly used for multi factor authentication.</Summary> + <PackageTags>otp,totp,2fa,two factor</PackageTags> + <PackageIconUrl>http://i.imgur.com/XFfC64v.png</PackageIconUrl> + </PropertyGroup> + + <ItemGroup Condition=" '$(TargetFramework)' == 'net45' "> + <Reference Include="System" /> + <Reference Include="Microsoft.CSharp" /> + </ItemGroup> + +</Project> diff --git a/src/Otp.NET/Otp.NET.xproj b/src/Otp.NET/Otp.NET.xproj deleted file mode 100644 index 5197c3e..0000000 --- a/src/Otp.NET/Otp.NET.xproj +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <PropertyGroup> - <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion> - <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> - </PropertyGroup> - <Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" /> - <PropertyGroup Label="Globals"> - <ProjectGuid>e630b67f-150a-4978-a2dd-51b8d8e783ef</ProjectGuid> - <RootNamespace>OtpNet</RootNamespace> - <BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath> - <OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath> - <TargetFrameworkVersion>v4.6</TargetFrameworkVersion> - </PropertyGroup> - <PropertyGroup> - <SchemaVersion>2.0</SchemaVersion> - </PropertyGroup> - <Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" /> -</Project>
\ No newline at end of file diff --git a/src/Otp.NET/Properties/AssemblyInfo.cs b/src/Otp.NET/Properties/AssemblyInfo.cs index d6dbf19..6a7ee22 100644 --- a/src/Otp.NET/Properties/AssemblyInfo.cs +++ b/src/Otp.NET/Properties/AssemblyInfo.cs @@ -5,9 +5,6 @@ using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Otp.NET")] [assembly: AssemblyTrademark("")] // Setting ComVisible to false makes the types in this assembly not visible diff --git a/src/Otp.NET/project.json b/src/Otp.NET/project.json deleted file mode 100644 index 6657334..0000000 --- a/src/Otp.NET/project.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version": "1.0.1-*", - - "dependencies": { - "NETStandard.Library": "1.6.1" - }, - - "frameworks": { - "netstandard1.3": { - "imports": "dnxcore50" - }, - "net45": {} - } -}
\ No newline at end of file |