1
- <?xml version =" 1.0" encoding =" utf-8" ?>
2
- <Project ToolsVersion =" 12.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" >
2
+
4
3
<PropertyGroup >
5
- <MinimumVisualStudioVersion >11.0</MinimumVisualStudioVersion >
6
- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
7
- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
8
- <ProjectGuid >{A79F906E-0298-49DC-93EC-CE4F1F5D13E2}</ProjectGuid >
9
- <OutputType >Library</OutputType >
10
- <AppDesignerFolder >Properties</AppDesignerFolder >
4
+ <TargetFrameworks >net452;netcoreapp1.1;netstandard2.0</TargetFrameworks >
11
5
<RootNamespace >Destructurama</RootNamespace >
12
- <AssemblyName >Destructurama.JsonNet</AssemblyName >
13
- <DefaultLanguage >en-US</DefaultLanguage >
14
- <FileAlignment >512</FileAlignment >
15
- <ProjectTypeGuids >{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids >
16
- <TargetFrameworkProfile >Profile78</TargetFrameworkProfile >
17
- <TargetFrameworkVersion >v4.5</TargetFrameworkVersion >
6
+ <SignAssembly >True</SignAssembly >
7
+ <AssemblyOriginatorKeyFile >..\..\assets\Destructurama.snk</AssemblyOriginatorKeyFile >
8
+ <DelaySign >False</DelaySign >
9
+ <Authors >Destructurama Contributors</Authors >
10
+ <Description >Adds support for logging JSON.NET dynamic types as structured data with Serilog.</Description >
11
+ <PackageTags >serilog json</PackageTags >
12
+ <PackageProjectUrl >https://github.com/destructurama</PackageProjectUrl >
13
+ <PackageLicenseUrl >http://www.apache.org/licenses/LICENSE-2.0</PackageLicenseUrl >
14
+ <PackageIconUrl >http://destructurama.github.io/pages/images/destructurama.png</PackageIconUrl >
15
+ <Product />
16
+ <Company />
17
+ <GeneratePackageOnBuild >False</GeneratePackageOnBuild >
18
+ <VersionPrefix >1.2.0</VersionPrefix >
18
19
</PropertyGroup >
19
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
20
- <DebugSymbols >true</DebugSymbols >
21
- <DebugType >full</DebugType >
22
- <Optimize >false</Optimize >
23
- <OutputPath >bin\Debug\</OutputPath >
24
- <DefineConstants >DEBUG;TRACE</DefineConstants >
25
- <ErrorReport >prompt</ErrorReport >
26
- <WarningLevel >4</WarningLevel >
27
- <TreatWarningsAsErrors >true</TreatWarningsAsErrors >
20
+
21
+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|AnyCPU'" >
28
22
<DocumentationFile >bin\Debug\Destructurama.JsonNet.xml</DocumentationFile >
23
+ <OutputPath >bin\Debug\</OutputPath >
29
24
</PropertyGroup >
30
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
31
- <DebugType >pdbonly</DebugType >
32
- <Optimize >true</Optimize >
33
- <OutputPath >bin\Release\</OutputPath >
34
- <DefineConstants >TRACE</DefineConstants >
35
- <ErrorReport >prompt</ErrorReport >
36
- <WarningLevel >4</WarningLevel >
37
- <TreatWarningsAsErrors >true</TreatWarningsAsErrors >
38
- <DocumentationFile >bin\Release\Destructurama.JsonNet.xml</DocumentationFile >
39
- </PropertyGroup >
40
- <PropertyGroup >
41
- <SignAssembly >true</SignAssembly >
42
- </PropertyGroup >
43
- <PropertyGroup >
44
- <AssemblyOriginatorKeyFile >..\..\assets\Destructurama.snk</AssemblyOriginatorKeyFile >
45
- </PropertyGroup >
46
- <ItemGroup >
47
- <Compile Include =" JsonNet\JsonNetDestructuringPolicy.cs" />
48
- <Compile Include =" LoggerConfigurationJsonNetExtensions.cs" />
49
- <Compile Include =" Properties\AssemblyInfo.cs" />
50
- <Compile Include =" ..\..\assets\CommonAssemblyInfo.cs" >
51
- <Link >Properties\CommonAssemblyInfo.cs</Link >
52
- </Compile >
53
- </ItemGroup >
25
+
54
26
<ItemGroup >
55
- <None Include =" ..\..\assets\Destructurama.snk" >
56
- <Link >Destructurama.snk</Link >
57
- </None >
58
- <None Include =" Destructurama.JsonNet.nuspec" />
59
- <None Include =" packages.config" />
27
+ <None Include =" ..\assets\Destructurama.snk" Link =" Destructurama.snk" />
60
28
</ItemGroup >
29
+
61
30
<ItemGroup >
62
- <Reference Include =" Newtonsoft.Json" >
63
- <HintPath >..\..\packages\Newtonsoft.Json.6.0.8\lib\portable-net45+wp80+win8+wpa81+aspnetcore50\Newtonsoft.Json.dll</HintPath >
64
- </Reference >
65
- <Reference Include =" Serilog" >
66
- <HintPath >..\..\packages\Serilog.1.4.204\lib\portable-net45+win+wpa81+wp80+MonoAndroid10+MonoTouch10\Serilog.dll</HintPath >
67
- </Reference >
31
+ <PackageReference Include =" Newtonsoft.Json" Version =" 10.0.3" />
32
+ <PackageReference Include =" Serilog" Version =" 2.5.0" />
68
33
</ItemGroup >
69
- <Import Project =" $(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
70
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
71
- Other similar extension points exist, see Microsoft.Common.targets.
72
- <Target Name="BeforeBuild">
73
- </Target>
74
- <Target Name="AfterBuild">
75
- </Target>
76
- -->
77
- </Project >
34
+
35
+ </Project >
0 commit comments