|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 2 | +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 3 | + <Import Project="..\packages\NuGet.Build.Packaging.0.2.2\build\NuGet.Build.Packaging.props" Condition="Exists('..\packages\NuGet.Build.Packaging.0.2.2\build\NuGet.Build.Packaging.props')" /> |
3 | 4 | <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
4 | 5 | <PropertyGroup> |
5 | 6 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
|
12 | 13 | <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> |
13 | 14 | <FileAlignment>512</FileAlignment> |
14 | 15 | <TargetFrameworkProfile /> |
| 16 | + <PackOnBuild>true</PackOnBuild> |
| 17 | + <Authors>Javier Rosas</Authors> |
| 18 | + <PackageIconUrl>https://github.com/FacturAPI/facturapi-net/raw/master/facturapi-net/facturapi.png</PackageIconUrl> |
| 19 | + <NeutralLanguage>es-MX</NeutralLanguage> |
| 20 | + <PackageLicenseUrl>https://raw.githubusercontent.com/FacturAPI/facturapi-net/master/LICENSE</PackageLicenseUrl> |
| 21 | + <Owners>Facturapi</Owners> |
| 22 | + <PackageProjectUrl>https://www.facturapi.io</PackageProjectUrl> |
| 23 | + <Summary>Genera facturas electrónicas válidas en México (CFDI) lo más fácil posible. Obtén tus API Keys creando una cuenta gratuita en https://www.facturapi.io</Summary> |
| 24 | + <PackageTags>factura factura-electronica cfdi facturapi mexico conekta</PackageTags> |
| 25 | + <Title>Facturapi</Title> |
| 26 | + <Description>Genera facturas electrónicas válidas en México (CFDI) lo más fácil posible. Obtén tus API Keys creando una cuenta gratuita en https://www.facturapi.io</Description> |
| 27 | + <PackageId>Facturapi</PackageId> |
| 28 | + <ReleaseVersion>0.3.0</ReleaseVersion> |
| 29 | + <SynchReleaseVersion>false</SynchReleaseVersion> |
| 30 | + <PackageVersion>0.3.1</PackageVersion> |
| 31 | + <NuGetPackageImportStamp> |
| 32 | + </NuGetPackageImportStamp> |
15 | 33 | </PropertyGroup> |
16 | 34 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
17 | 35 | <DebugSymbols>true</DebugSymbols> |
|
22 | 40 | <ErrorReport>prompt</ErrorReport> |
23 | 41 | <WarningLevel>4</WarningLevel> |
24 | 42 | <Prefer32Bit>false</Prefer32Bit> |
| 43 | + <CustomCommands> |
| 44 | + <CustomCommands> |
| 45 | + <Command> |
| 46 | + <type>Build</type> |
| 47 | + </Command> |
| 48 | + </CustomCommands> |
| 49 | + </CustomCommands> |
25 | 50 | </PropertyGroup> |
26 | 51 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
27 | | - <DebugType>pdbonly</DebugType> |
| 52 | + <DebugType> |
| 53 | + </DebugType> |
28 | 54 | <Optimize>true</Optimize> |
29 | 55 | <OutputPath>bin\Release\</OutputPath> |
30 | 56 | <DefineConstants>TRACE</DefineConstants> |
|
57 | 83 | <Compile Include="Constants\InvoiceUse.cs" /> |
58 | 84 | <Compile Include="Constants\PaymentMethod.cs" /> |
59 | 85 | <Compile Include="Constants\PaymentForm.cs" /> |
| 86 | + <Compile Include="Constants\TaxSystem.cs" /> |
60 | 87 | <Compile Include="FacturapiException.cs" /> |
61 | 88 | <Compile Include="Models\Address.cs" /> |
| 89 | + <Compile Include="Models\ApiKeys.cs" /> |
| 90 | + <Compile Include="Models\Certificate.cs" /> |
| 91 | + <Compile Include="Models\CompletionStep.cs" /> |
62 | 92 | <Compile Include="Models\Customer.cs" /> |
| 93 | + <Compile Include="Models\Customization.cs" /> |
63 | 94 | <Compile Include="Models\Invoice.cs" /> |
64 | 95 | <Compile Include="Models\InvoiceItem.cs" /> |
| 96 | + <Compile Include="Models\Legal.cs" /> |
| 97 | + <Compile Include="Models\Organization.cs" /> |
| 98 | + <Compile Include="Models\PdfExtra.cs" /> |
65 | 99 | <Compile Include="Models\Product.cs" /> |
66 | 100 | <Compile Include="Constants\TaxType.cs" /> |
67 | 101 | <Compile Include="Models\SearchResult.cs" /> |
68 | 102 | <Compile Include="Properties\AssemblyInfo.cs" /> |
69 | 103 | <Compile Include="Models\Tax.cs" /> |
70 | 104 | <Compile Include="Router\InvoiceRouter.cs" /> |
| 105 | + <Compile Include="Router\OrganizationRouter.cs" /> |
71 | 106 | <Compile Include="Settings.cs" /> |
72 | 107 | <Compile Include="Util\SnakeCasePropertyNamesContractResolver.cs" /> |
73 | 108 | <Compile Include="Router\CustomerRouter.cs" /> |
|
76 | 111 | <Compile Include="Router\ProductRouter.cs" /> |
77 | 112 | <Compile Include="Router\Router.cs" /> |
78 | 113 | <Compile Include="Wrapper\InvoiceWrapper.cs" /> |
| 114 | + <Compile Include="Wrapper\OrganizationWrapper.cs" /> |
79 | 115 | <Compile Include="Wrapper\ProductWrapper.cs" /> |
80 | 116 | <Compile Include="Wrapper\BaseWrapper.cs" /> |
81 | 117 | </ItemGroup> |
|
88 | 124 | <Content Include="facturapi.ico" /> |
89 | 125 | </ItemGroup> |
90 | 126 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
| 127 | + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
| 128 | + <PropertyGroup> |
| 129 | + <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> |
| 130 | + </PropertyGroup> |
| 131 | + <Error Condition="!Exists('..\packages\NuGet.Build.Packaging.0.2.2\build\NuGet.Build.Packaging.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\NuGet.Build.Packaging.0.2.2\build\NuGet.Build.Packaging.props'))" /> |
| 132 | + <Error Condition="!Exists('..\packages\NuGet.Build.Packaging.0.2.2\build\NuGet.Build.Packaging.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\NuGet.Build.Packaging.0.2.2\build\NuGet.Build.Packaging.targets'))" /> |
| 133 | + </Target> |
| 134 | + <Import Project="..\packages\NuGet.Build.Packaging.0.2.2\build\NuGet.Build.Packaging.targets" Condition="Exists('..\packages\NuGet.Build.Packaging.0.2.2\build\NuGet.Build.Packaging.targets')" /> |
91 | 135 | </Project> |