Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for .Net core 2.2 for RazorpayClient. #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions RazorpayCore2.2.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29306.81
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RazorpayClientCore2.2", "netcore2.2\RazorpayClientCore2.2.csproj", "{D99A4CCB-C4B4-4EF8-AC3A-D2F02C44F0CA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D99A4CCB-C4B4-4EF8-AC3A-D2F02C44F0CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D99A4CCB-C4B4-4EF8-AC3A-D2F02C44F0CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D99A4CCB-C4B4-4EF8-AC3A-D2F02C44F0CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D99A4CCB-C4B4-4EF8-AC3A-D2F02C44F0CA}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {CB9DB15B-F68E-41A8-8001-857731581168}
EndGlobalSection
EndGlobal
40 changes: 40 additions & 0 deletions netcore2.2/RazorpayClientCore2.2.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<RootNamespace>RazorpayClientCore2._2</RootNamespace>
</PropertyGroup>

<ItemGroup>
<Compile Include="..\src\Errors\BadRequestError.cs" Link="Errors\BadRequestError.cs" />
<Compile Include="..\src\Errors\BaseError.cs" Link="Errors\BaseError.cs" />
<Compile Include="..\src\Errors\ErrorCodes.cs" Link="Errors\ErrorCodes.cs" />
<Compile Include="..\src\Errors\GatewayError.cs" Link="Errors\GatewayError.cs" />
<Compile Include="..\src\Errors\ServerError.cs" Link="Errors\ServerError.cs" />
<Compile Include="..\src\Errors\SignatureVerificationError.cs" Link="Errors\SignatureVerificationError.cs" />
<Compile Include="..\src\Addon.cs" Link="Addon.cs" />
<Compile Include="..\src\Card.cs" Link="Card.cs" />
<Compile Include="..\src\Customer.cs" Link="Customer.cs" />
<Compile Include="..\src\Entity.cs" Link="Entity.cs" />
<Compile Include="..\src\HttpMethod.cs" Link="HttpMethod.cs" />
<Compile Include="..\src\Invoice.cs" Link="Invoice.cs" />
<Compile Include="..\src\Order.cs" Link="Order.cs" />
<Compile Include="..\src\Payment.cs" Link="Payment.cs" />
<Compile Include="..\src\Plan.cs" Link="Plan.cs" />
<Compile Include="..\src\RazorpayClient.cs" Link="RazorpayClient.cs" />
<Compile Include="..\src\Refund.cs" Link="Refund.cs" />
<Compile Include="..\src\RestClient.cs" Link="RestClient.cs" />
<Compile Include="..\src\Reversal.cs" Link="Reversal.cs" />
<Compile Include="..\src\Subscription.cs" Link="Subscription.cs" />
<Compile Include="..\src\Token.cs" Link="Token.cs" />
<Compile Include="..\src\Transfer.cs" Link="Transfer.cs" />
<Compile Include="..\src\Utils.cs" Link="Utils.cs" />
<Compile Include="..\src\VirtualAccount.cs" Link="VirtualAccount.cs" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.6.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.Reflection;

[assembly: System.Reflection.AssemblyCompanyAttribute("RazorpayClientCore2.2")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("RazorpayClientCore2.2")]
[assembly: System.Reflection.AssemblyTitleAttribute("RazorpayClientCore2.2")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

// Generated by the MSBuild WriteCodeFragment class.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
04efa4dbc2ea087cda8b3433fe91da715f8df9b6
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6a3146747b496183031e25e13820afa9731d7e03
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
D:\Abhishek\Projects\oss\razorpay-dot-net\netcore2.2\RazorpayClientCore2.2\obj\Debug\netstandard2.0\RazorpayClientCore2.2.csproj.CoreCompileInputs.cache
D:\Abhishek\Projects\oss\razorpay-dot-net\netcore2.2\RazorpayClientCore2.2\obj\Debug\netstandard2.0\RazorpayClientCore2.2.AssemblyInfoInputs.cache
D:\Abhishek\Projects\oss\razorpay-dot-net\netcore2.2\RazorpayClientCore2.2\obj\Debug\netstandard2.0\RazorpayClientCore2.2.AssemblyInfo.cs
D:\Abhishek\Projects\oss\razorpay-dot-net\netcore2.2\RazorpayClientCore2.2\bin\Debug\netstandard2.0\RazorpayClientCore2.2.deps.json
D:\Abhishek\Projects\oss\razorpay-dot-net\netcore2.2\RazorpayClientCore2.2\bin\Debug\netstandard2.0\RazorpayClientCore2.2.dll
D:\Abhishek\Projects\oss\razorpay-dot-net\netcore2.2\RazorpayClientCore2.2\bin\Debug\netstandard2.0\RazorpayClientCore2.2.pdb
D:\Abhishek\Projects\oss\razorpay-dot-net\netcore2.2\RazorpayClientCore2.2\obj\Debug\netstandard2.0\RazorpayClientCore2.2.dll
D:\Abhishek\Projects\oss\razorpay-dot-net\netcore2.2\RazorpayClientCore2.2\obj\Debug\netstandard2.0\RazorpayClientCore2.2.pdb
D:\Abhishek\Projects\oss\razorpay-dot-net\netcore2.2\obj\Debug\netstandard2.0\RazorpayClientCore2.2.csproj.CoreCompileInputs.cache
D:\Abhishek\Projects\oss\razorpay-dot-net\netcore2.2\obj\Debug\netstandard2.0\RazorpayClientCore2.2.AssemblyInfoInputs.cache
D:\Abhishek\Projects\oss\razorpay-dot-net\netcore2.2\obj\Debug\netstandard2.0\RazorpayClientCore2.2.AssemblyInfo.cs
D:\Abhishek\Projects\oss\razorpay-dot-net\netcore2.2\obj\Debug\netstandard2.0\RazorpayClientCore2.2.dll
D:\Abhishek\Projects\oss\razorpay-dot-net\netcore2.2\obj\Debug\netstandard2.0\RazorpayClientCore2.2.pdb
D:\Abhishek\Projects\oss\razorpay-dot-net\netcore2.2\bin\Debug\netstandard2.0\RazorpayClientCore2.2.deps.json
D:\Abhishek\Projects\oss\razorpay-dot-net\netcore2.2\bin\Debug\netstandard2.0\RazorpayClientCore2.2.dll
D:\Abhishek\Projects\oss\razorpay-dot-net\netcore2.2\bin\Debug\netstandard2.0\RazorpayClientCore2.2.pdb
Binary file not shown.
Binary file not shown.
5 changes: 5 additions & 0 deletions netcore2.2/obj/RazorpayClientCore2.2.csproj.nuget.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"version": 1,
"dgSpecHash": "eFXen523m0Dzcal84eRgtWgWwUlhXdMlRg8dXP4KhoCajJQLrrwIC6sQzOMum6EeFBwHAznNh39KZ+PIgTAgSA==",
"success": true
}
68 changes: 68 additions & 0 deletions netcore2.2/obj/RazorpayClientCore2.2.csproj.nuget.dgspec.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"format": 1,
"restore": {
"D:\\Abhishek\\Projects\\oss\\razorpay-dot-net\\netcore2.2\\RazorpayClientCore2.2.csproj": {}
},
"projects": {
"D:\\Abhishek\\Projects\\oss\\razorpay-dot-net\\netcore2.2\\RazorpayClientCore2.2.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\Abhishek\\Projects\\oss\\razorpay-dot-net\\netcore2.2\\RazorpayClientCore2.2.csproj",
"projectName": "RazorpayClientCore2.2",
"projectPath": "D:\\Abhishek\\Projects\\oss\\razorpay-dot-net\\netcore2.2\\RazorpayClientCore2.2.csproj",
"packagesPath": "C:\\Users\\Abhi Joshi\\.nuget\\packages\\",
"outputPath": "D:\\Abhishek\\Projects\\oss\\razorpay-dot-net\\netcore2.2\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
],
"configFilePaths": [
"C:\\Users\\Abhi Joshi\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"netstandard2.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.0": {
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.0": {
"dependencies": {
"Microsoft.CSharp": {
"target": "Package",
"version": "[4.6.0, )"
},
"NETStandard.Library": {
"suppressParent": "All",
"target": "Package",
"version": "[2.0.3, )",
"autoReferenced": true
},
"Newtonsoft.Json": {
"target": "Package",
"version": "[12.0.2, )"
}
},
"imports": [
"net461"
],
"assetTargetFallback": true,
"warn": true
}
}
}
}
}
15 changes: 15 additions & 0 deletions netcore2.2/obj/RazorpayClientCore2.2.csproj.nuget.g.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Abhi Joshi\.nuget\packages\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.2.0</NuGetToolVersion>
</PropertyGroup>
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
</Project>
9 changes: 9 additions & 0 deletions netcore2.2/obj/RazorpayClientCore2.2.csproj.nuget.g.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\netstandard.library\2.0.3\build\netstandard2.0\NETStandard.Library.targets" Condition="Exists('C:\Program Files\dotnet\sdk\NuGetFallbackFolder\netstandard.library\2.0.3\build\netstandard2.0\NETStandard.Library.targets')" />
</ImportGroup>
</Project>
Loading