Skip to content

Commit

Permalink
update to netstandard2
Browse files Browse the repository at this point in the history
  • Loading branch information
maikebing committed Feb 27, 2019
1 parent 7c29c1f commit e003fc1
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 116 deletions.
7 changes: 5 additions & 2 deletions Gitea.API.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
# Visual Studio 15
VisualStudioVersion = 15.0.28307.421
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Gitea.API.Sandbox", "Gitea.API.Sandbox\Gitea.API.Sandbox.csproj", "{E5F73971-C14B-46C1-A397-0EFA92062FFC}"
EndProject
Expand All @@ -25,4 +25,7 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D8B93BC5-D3D5-4403-A023-BC7E07119140}
EndGlobalSection
EndGlobal
94 changes: 21 additions & 73 deletions Gitea.API/Gitea.API.csproj
Original file line number Diff line number Diff line change
@@ -1,81 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.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')" />
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{C092A1FA-C2E2-4E18-A3CB-F4381A15280D}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Gitea.API</RootNamespace>
<AssemblyName>Gitea.API</AssemblyName>
<TargetFrameworkVersion>v4.5</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>
<TargetFrameworks>netstandard2.0;net45</TargetFrameworks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageId>Gitea.API</PackageId>
<Description>CLR Library for the Gitea API.</Description>
<Copyright>Copyright © 2017, Marcel Joachim Kloubert</Copyright>
<Authors>mkloubert, troygeiger, maikebing</Authors>
<Company>mkloubert</Company>
<PackageProjectUrl>https://github.com/mkloubert/gitea.net</PackageProjectUrl>
<RepositoryUrl>https://github.com/mkloubert/gitea.net</RepositoryUrl>
<PackageTags>itea</PackageTags>
<PackageLicenseUrl>https://raw.githubusercontent.com/maikebing/gitea.net/master/LICENSE</PackageLicenseUrl>
</PropertyGroup>

<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Net.Http.WebRequest" />
<Reference Include="System.Runtime.Serialization" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<Reference Include="System.Web" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="JsonEntityBase.cs" />
<Compile Include="v1\ApiError.cs" />
<Compile Include="v1\ApiException.cs" />
<Compile Include="v1\BasicAuth.cs" />
<Compile Include="v1\Client.cs" />
<Compile Include="v1\DummyAuthorizer.cs" />
<Compile Include="v1\EndpointBase.cs" />
<Compile Include="v1\GiteaVersion.cs" />
<Compile Include="v1\IAuthorizer.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="v1\Repositories\RepositoryBuilder.cs" />
<Compile Include="v1\Repositories\Repository.cs" />
<Compile Include="v1\Repositories\RepositoryPermissions.cs" />
<Compile Include="v1\UnexpectedResponseException.cs" />
<Compile Include="v1\Users\MigrationBuilder.cs" />
<Compile Include="v1\Users\RepositoriesEndpoint.cs" />
<Compile Include="v1\Users\User.cs" />
<Compile Include="v1\Users\UserBuilder.cs" />
<Compile Include="v1\Users\UsersEndpoint.cs" />
<Compile Include="v1\Users\UserUpdater.cs" />
</ItemGroup>

<ItemGroup>
<None Include="packages.config" />
<Folder Include="Properties\" />
</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>

</Project>
37 changes: 0 additions & 37 deletions Gitea.API/Properties/AssemblyInfo.cs

This file was deleted.

4 changes: 0 additions & 4 deletions Gitea.API/packages.config

This file was deleted.

0 comments on commit e003fc1

Please sign in to comment.