-
Notifications
You must be signed in to change notification settings - Fork 40
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
setup for .net47 #81
setup for .net47 #81
Changes from 1 commit
a87e964
351f795
d9fa9fb
e742433
2c0ff79
81348e6
06fe7ab
a5e2bda
e4c7d72
40b838c
1398bd9
d9a15bc
05379b7
0d65029
ba079ca
cb37c89
c59c7f0
f0d3574
b57badb
354e0ce
0e4cb2f
ebdba10
c30f212
90adfdb
d837496
0707fdd
fe87892
de30819
7580b8d
16601b7
4142385
39b6dca
1c9f12e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
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: AssemblyTitle("Razorpay")] | ||
[assembly: AssemblyDescription("Razorpay SDK for .Net")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("Razorpay Software Private Limited")] | ||
[assembly: AssemblyProduct("Razorpay.API")] | ||
[assembly: AssemblyCopyright("Copyright © 2015")] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CopyRight should have current year also right? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. changed to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should it be 2015-2023? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also added in |
||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
|
||
// Setting ComVisible to false makes the types in this assembly not visible | ||
// to COM components. If you need to access a type in this assembly from | ||
// COM, set the ComVisible attribute to true on that type. | ||
[assembly: ComVisible(false)] | ||
|
||
// The following GUID is for the ID of the typelib if this project is exposed to COM | ||
[assembly: Guid("96121FFA-261D-4B93-95C8-A7A19FD49FAF")] | ||
// Version information for an assembly consists of the following four values: | ||
// | ||
// Major Version | ||
// Minor Version | ||
// Build Number | ||
// Revision | ||
// | ||
[assembly: AssemblyVersion("1.0.0.0")] | ||
[assembly: AssemblyFileVersion("1.0.0.0")] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,142 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{062285FD-C192-4AE4-82E9-B9E907B66D01}</ProjectGuid> | ||
<OutputType>Exe</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>Razorpay.Api</RootNamespace> | ||
<AssemblyName>Razorpay</AssemblyName> | ||
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<StartupObject /> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> | ||
<HintPath>packages\Newtonsoft.Json.13.0.3\lib\net47\Newtonsoft.Json.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Net" /> | ||
<Reference Include="System.Net.Http" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="..\src\Entity.cs"> | ||
<Link>Entity.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\Errors\BadRequestError.cs"> | ||
<Link>Errors\BadRequestError.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\Errors\BaseError.cs"> | ||
<Link>Errors\BaseError.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\Errors\ErrorCodes.cs"> | ||
<Link>Errors\ErrorCodes.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\Errors\GatewayError.cs"> | ||
<Link>Errors\GatewayError.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\Errors\ServerError.cs"> | ||
<Link>Errors\ServerError.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\Errors\SignatureVerificationError.cs"> | ||
<Link>Errors\SignatureVerificationError.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\Order.cs"> | ||
<Link>Order.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\Payment.cs"> | ||
<Link>Payment.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\RazorpayClient.cs"> | ||
<Link>RazorpayClient.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\Refund.cs"> | ||
<Link>Refund.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\Token.cs"> | ||
<Link>Token.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\Card.cs"> | ||
<Link>Card.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\Invoice.cs"> | ||
<Link>Invoice.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\Customer.cs"> | ||
<Link>Customer.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\Transfer.cs"> | ||
<Link>Transfer.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\Reversal.cs"> | ||
<Link>Reversal.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\RestClient.cs"> | ||
<Link>RestClient.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\Utils.cs"> | ||
<Link>Utils.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\Plan.cs"> | ||
<Link>Plan.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\Subscription.cs"> | ||
<Link>Subscription.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\Addon.cs"> | ||
<Link>Addon.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\VirtualAccount.cs"> | ||
<Link>VirtualAccount.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\FundAccount.cs"> | ||
<Link>FundAccount.cs</Link> | ||
</Compile> | ||
<Compile Include="..\src\Item.cs"> | ||
<Link>Item.cs</Link> | ||
</Compile> | ||
<Compile Include="Class.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="..\src\HttpMethod.cs"> | ||
<Link>HttpMethod.cs</Link> | ||
</Compile> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="packages.config" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add Empty line There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Newtonsoft.Json" version="13.0.3" targetFramework="net47" /> | ||
</packages> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add Empty line There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix the Indentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe there is a better way for handling multiple versions of the same assembly.
Refer this - https://learn.microsoft.com/en-us/dotnet/framework/configure-apps/redirect-assembly-versions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added