Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 39eb2a3

Browse files
committed
Fix .NET Core build
1 parent 44f274b commit 39eb2a3

File tree

2 files changed

+14
-56
lines changed

2 files changed

+14
-56
lines changed
Lines changed: 14 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,17 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
1+
<Project Sdk="Microsoft.NET.Sdk">
42
<PropertyGroup>
5-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7-
<ProjectGuid>{DD3BEB33-2509-423A-8545-CE1A83684530}</ProjectGuid>
83
<OutputType>Exe</OutputType>
9-
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>ServiceStack.Text.TestsConsole</RootNamespace>
11-
<AssemblyName>ServiceStack.Text.TestsConsole</AssemblyName>
12-
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13-
<FileAlignment>512</FileAlignment>
14-
</PropertyGroup>
15-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16-
<PlatformTarget>AnyCPU</PlatformTarget>
17-
<DebugSymbols>true</DebugSymbols>
18-
<DebugType>full</DebugType>
19-
<Optimize>false</Optimize>
20-
<OutputPath>bin\Debug\</OutputPath>
21-
<DefineConstants>DEBUG;TRACE</DefineConstants>
22-
<ErrorReport>prompt</ErrorReport>
23-
<WarningLevel>4</WarningLevel>
24-
</PropertyGroup>
25-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26-
<PlatformTarget>AnyCPU</PlatformTarget>
27-
<DebugType>pdbonly</DebugType>
28-
<Optimize>true</Optimize>
29-
<OutputPath>bin\Release\</OutputPath>
30-
<DefineConstants>TRACE</DefineConstants>
31-
<ErrorReport>prompt</ErrorReport>
32-
<WarningLevel>4</WarningLevel>
4+
<TargetFramework>net45</TargetFramework>
5+
<GenerateAssemblyTitleAttribute>false</GenerateAssemblyTitleAttribute>
6+
<GenerateAssemblyDescriptionAttribute>false</GenerateAssemblyDescriptionAttribute>
7+
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
8+
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
9+
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
10+
<GenerateAssemblyCopyrightAttribute>false</GenerateAssemblyCopyrightAttribute>
11+
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
12+
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute>
3313
</PropertyGroup>
14+
3415
<ItemGroup>
3516
<Reference Include="ServiceStack.Client">
3617
<HintPath>..\..\lib\net45\ServiceStack.Client.dll</HintPath>
@@ -42,38 +23,19 @@
4223
<SpecificVersion>False</SpecificVersion>
4324
<HintPath>..\..\lib\pcl\ServiceStack.Interfaces.dll</HintPath>
4425
</Reference>
26+
<ProjectReference Include="..\..\src\ServiceStack.Text\ServiceStack.Text.csproj" />
27+
<PackageReference Include="System.ValueTuple" Version="4.3.1" />
4528
<Reference Include="System" />
4629
<Reference Include="System.Core" />
47-
<Reference Include="System.ValueTuple, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
48-
<HintPath>..\..\src\packages\System.ValueTuple.4.4.0-preview1-25305-02\lib\netstandard1.0\System.ValueTuple.dll</HintPath>
49-
</Reference>
5030
<Reference Include="System.Xml.Linq" />
5131
<Reference Include="System.Data.DataSetExtensions" />
5232
<Reference Include="Microsoft.CSharp" />
5333
<Reference Include="System.Data" />
5434
<Reference Include="System.Net.Http" />
5535
<Reference Include="System.Xml" />
5636
</ItemGroup>
57-
<ItemGroup>
58-
<Compile Include="Program.cs" />
59-
<Compile Include="Properties\AssemblyInfo.cs" />
60-
</ItemGroup>
37+
6138
<ItemGroup>
6239
<None Include="App.config" />
63-
<None Include="packages.config" />
64-
</ItemGroup>
65-
<ItemGroup>
66-
<ProjectReference Include="..\..\src\ServiceStack.Text\ServiceStack.Text.csproj">
67-
<Project>{579b3fdb-cdad-44e1-8417-885c38e49a0e}</Project>
68-
<Name>ServiceStack.Text</Name>
69-
</ProjectReference>
7040
</ItemGroup>
71-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
72-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
73-
Other similar extension points exist, see Microsoft.Common.targets.
74-
<Target Name="BeforeBuild">
75-
</Target>
76-
<Target Name="AfterBuild">
77-
</Target>
78-
-->
7941
</Project>

tests/ServiceStack.Text.TestsConsole/packages.config

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)