1
- <?xml version =" 1.0" encoding =" utf-8" ?>
2
- <Project ToolsVersion =" 4.0" DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3
- <PropertyGroup >
4
- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
5
- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
6
- <ProductVersion >10.0.20723</ProductVersion >
7
- <SchemaVersion >2.0</SchemaVersion >
8
- <ProjectGuid >{58A100CE-CC7E-43BF-A054-D28648F092AC}</ProjectGuid >
9
- <OutputType >Library</OutputType >
10
- <AppDesignerFolder >Properties</AppDesignerFolder >
11
- <RootNamespace >Loggly.Config</RootNamespace >
12
- <AssemblyName >Loggly.Config</AssemblyName >
13
- <TargetFrameworkVersion >v4.5</TargetFrameworkVersion >
14
- <FileAlignment >512</FileAlignment >
15
- <TargetFrameworkProfile />
16
- </PropertyGroup >
17
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
18
- <DebugSymbols >true</DebugSymbols >
19
- <DebugType >full</DebugType >
20
- <Optimize >false</Optimize >
21
- <OutputPath >bin\Debug\</OutputPath >
22
- <DefineConstants >TRACE;DEBUG;FEATURE_SYSTEM_CONFIGURATION FEATURE_SYSTEM_ENVIRONMENT_OSVERSION</DefineConstants >
23
- <ErrorReport >prompt</ErrorReport >
24
- <WarningLevel >4</WarningLevel >
25
- <Prefer32Bit >false</Prefer32Bit >
26
- </PropertyGroup >
27
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
28
- <DebugType >pdbonly</DebugType >
29
- <Optimize >true</Optimize >
30
- <OutputPath >bin\Release\</OutputPath >
31
- <DefineConstants >TRACE;FEATURE_SYSTEM_CONFIGURATION FEATURE_SYSTEM_ENVIRONMENT_OSVERSION</DefineConstants >
32
- <ErrorReport >prompt</ErrorReport >
33
- <WarningLevel >4</WarningLevel >
34
- <Prefer32Bit >false</Prefer32Bit >
35
- </PropertyGroup >
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
2
+
36
3
<PropertyGroup >
4
+ <TargetFrameworks >netstandard1.5;netstandard2.0;net45</TargetFrameworks >
5
+ <VersionPrefix >4.6.0</VersionPrefix >
6
+
7
+ <Title >loggly-csharp-config</Title >
8
+ <Company >neutmute</Company >
9
+ <Authors >neutmute</Authors >
10
+ <Description >Configuration classes for loggly clients. Settings are read from app.config or can be programmatically injected at runtime. See readme.md for documentation</Description >
11
+ <PackageTags >loggly;syslog;logging</PackageTags >
12
+ <PackageIcon >loggly-config.png</PackageIcon >
13
+ <PackageProjectUrl >https://github.com/neutmute/loggly-csharp</PackageProjectUrl >
14
+ <PackageLicenseExpression >MIT</PackageLicenseExpression >
15
+ <RepositoryType >git</RepositoryType >
16
+ <RepositoryUrl >https://github.com/neutmute/loggly-csharp.git</RepositoryUrl >
17
+
18
+ <AssemblyOriginatorKeyFile >../../LogglyCsharp.snk</AssemblyOriginatorKeyFile >
37
19
<SignAssembly >true</SignAssembly >
38
- <GenerateAssemblyInfo >false</GenerateAssemblyInfo >
39
- </PropertyGroup >
40
- <PropertyGroup >
41
- <AssemblyOriginatorKeyFile >..\..\LogglyCsharp.snk</AssemblyOriginatorKeyFile >
20
+ <PublicSign Condition =" '$(OS)' != 'Windows_NT' " >true</PublicSign >
21
+
22
+ <ProjectGuid >{58A100CE-CC7E-43BF-A054-D28648F092AC}</ProjectGuid >
23
+ <DisableImplicitFrameworkReferences Condition =" '$(TargetFramework)' == 'net45'" >true</DisableImplicitFrameworkReferences >
24
+ <TreatWarningsAsErrors >true</TreatWarningsAsErrors >
42
25
</PropertyGroup >
26
+
27
+ <ItemGroup >
28
+ <None Include =" ../../SolutionItems/loggly-config.png" Link =" loggly-config.png" Pack =" true" PackagePath =" " Visible =" false" />
29
+ </ItemGroup >
30
+
43
31
<ItemGroup >
32
+ <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.0.0" PrivateAssets =" All" />
33
+ </ItemGroup >
34
+
35
+ <ItemGroup Condition =" '$(TargetFramework)' == 'net45' " >
44
36
<Reference Include =" System" />
45
37
<Reference Include =" System.Configuration" />
46
- <Reference Include =" System.Data" />
47
- <Reference Include =" System.Xml" />
38
+ <Reference Include =" System.Core" />
48
39
</ItemGroup >
49
- <ItemGroup >
50
- <Compile Include =" ..\..\SolutionItems\Properties\AssemblyInfo.cs" >
51
- <Link >Properties\AssemblyInfo.cs</Link >
52
- </Compile >
53
- <Compile Include =" AppConfigPartials\TransportAppConfig.cs" />
54
- <Compile Include =" ExtensionMethods\TagExtensions.cs" />
55
- <Compile Include =" ExtensionMethods\TransportAppConfig.cs" />
56
- <Compile Include =" AppConfigPartials\TagAppConfig.cs" />
57
- <Compile Include =" ApplicationNameProvider.cs" />
58
- <Compile Include =" Tags\ITag.cs" />
59
- <Compile Include =" SearchConfiguration.cs" />
60
- <Compile Include =" Tags\SimpleTag.cs" />
61
- <Compile Include =" Tags\ComplexTags\ApplicationNameTag.cs" />
62
- <Compile Include =" Tags\ComplexTags\ComplexTag.cs" />
63
- <Compile Include =" Tags\ComplexTags\OperatingSystemPlatformTag.cs" />
64
- <Compile Include =" Tags\ComplexTags\OperatingSystemVersionTag.cs" />
65
- <Compile Include =" ConfigurationSection.csd.cs" >
66
- <DependentUpon >ConfigurationSection.csd.xsd</DependentUpon >
67
- </Compile >
40
+
41
+ <ItemGroup Condition =" '$(TargetFramework)' != 'net45'" >
42
+ <Compile Remove =" ConfigurationSection*.*;AppConfigPartials\*.cs" />
43
+ </ItemGroup >
44
+
45
+ <ItemGroup Condition =" '$(TargetFramework)' == 'net45'" >
46
+ <Compile Remove =" ConfigurationSection1.csd.cs" />
68
47
<Compile Include =" ConfigurationSection1.csd.cs" >
69
48
<AutoGen >True</AutoGen >
70
49
<DesignTime >True</DesignTime >
71
50
<DependentUpon >ConfigurationSection.csd</DependentUpon >
72
51
</Compile >
73
- <Compile Include =" Tags\ComplexTags\HostnameTag.cs" />
74
- <Compile Include =" ILogglyConfig.cs" />
75
- <Compile Include =" LogglyConfig.cs" />
76
- <Compile Include =" AppConfigPartials\LogglyConfig.cs" />
77
- <Compile Include =" AppConfigPartials\SearchAppConfig.cs" />
78
- <Compile Include =" AppConfigPartials\SimpleTagAppConfig.cs" />
79
- <Compile Include =" Properties\AssemblyInfoUnique.cs" />
80
- <Compile Include =" TagConfiguration.cs" />
81
- <Compile Include =" TransportConfiguration.cs" />
82
- </ItemGroup >
83
- <ItemGroup >
84
- <None Include =" ..\..\LogglyCsharp.snk" >
85
- <Link >LogglyCsharp.snk</Link >
86
- </None >
87
52
<None Include =" ConfigurationSection.csd" >
88
53
<Generator >CsdFileGenerator</Generator >
89
54
<LastGenOutput >ConfigurationSection1.csd.cs</LastGenOutput >
101
66
<DependentUpon >ConfigurationSection.csd</DependentUpon >
102
67
<SubType >Designer</SubType >
103
68
</None >
104
- <None Include =" Loggly.Config.nuspec" />
105
69
</ItemGroup >
70
+
106
71
<ItemGroup >
107
72
<Service Include =" {508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
108
73
<Service Include =" {B4F97281-0DBD-4835-9ED8-7DFB966E87FF}" />
109
74
</ItemGroup >
110
- <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
111
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
112
- Other similar extension points exist, see Microsoft.Common.targets.
113
- <Target Name="BeforeBuild">
114
- </Target>
115
- <Target Name="AfterBuild">
116
- </Target>
117
- -->
118
- </Project >
75
+ </Project >
0 commit comments