Skip to content

Commit

Permalink
Updated .csproj to use SDK format
Browse files Browse the repository at this point in the history
  • Loading branch information
abjerner committed Oct 2, 2021
1 parent 5cbbd2d commit 5c68ece
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 131 deletions.
36 changes: 0 additions & 36 deletions src/Skybrud.WebApi.Json/Properties/AssemblyInfo.cs

This file was deleted.

98 changes: 25 additions & 73 deletions src/Skybrud.WebApi.Json/Skybrud.WebApi.Json.csproj
Original file line number Diff line number Diff line change
@@ -1,82 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.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)' == '' ">Release</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{FE006D24-1F40-4AED-9D85-000212A79B61}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Skybrud.WebApi.Json</RootNamespace>
<AssemblyName>Skybrud.WebApi.Json</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworks>net45</TargetFrameworks>
</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>
<Version>1.0.4</Version>
<Authors>Anders Bjerner, René Pjengaard, Jesper Mayntzhusen</Authors>
<Company>Skybrud.dk</Company>
<Description>Skybrud.WebApi.Json lets you add an attribute to your WebApi controllers forcing the server to always output the response as JSON.</Description>
<Copyright>Copyright © 2021</Copyright>
</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>
<PackageId>Skybrud.WebApi.Json</PackageId>
<PackageTags>WebApi, JSON, Umbraco, Skybrud</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/abjerner/Skybrud.WebApi.Json</PackageProjectUrl>
<PackageIconUrl>http://www.skybrud.dk/img/5431sk/icon/favicon.ico</PackageIconUrl>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/abjerner/Skybrud.WebApi.Json</RepositoryUrl>
</PropertyGroup>

<ItemGroup>
<Reference Include="Newtonsoft.Json">
<HintPath>..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Net.Http.Formatting, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNet.WebApi.Client.5.2.7\lib\net45\System.Net.Http.Formatting.dll</HintPath>
</Reference>
<Reference Include="System.Web" />
<Reference Include="System.Web.Http, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.AspNet.WebApi.Core.5.2.7\lib\net45\System.Web.Http.dll</HintPath>
</Reference>
<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="JsonOnlyConfigurationAttribute.cs" />
<Compile Include="Meta\HttpRequestMessageExtensionMethods.cs" />
<Compile Include="Meta\IJsonPagination.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Meta\JsonMetaData.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Meta\JsonMetaResponse.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Meta\JsonPagination.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SkybrudJsonMediaTypeFormatter.cs" />
</ItemGroup>
<ItemGroup>
<None Include="Skybrud.WebApi.Json.nuspec" />
<None Include="packages.config" />
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.7" />
<PackageReference Include="Microsoft.AspNet.WebApi.Core" Version="5.2.7" />
<PackageReference Include="Newtonsoft.Json" Version="6.0.4" />
</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>
16 changes: 0 additions & 16 deletions src/Skybrud.WebApi.Json/Skybrud.WebApi.Json.nuspec

This file was deleted.

6 changes: 0 additions & 6 deletions src/Skybrud.WebApi.Json/packages.config

This file was deleted.

0 comments on commit 5c68ece

Please sign in to comment.