1- <?xml version =" 1.0" encoding =" utf-8" ?>
2- <Project ToolsVersion =" 15.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3- <Import Project =" $(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition =" Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4- <Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory),Microsoft.AspNet.TelemetryCorrelation.sln))\tools\Microsoft.AspNet.TelemetryCorrelation.settings.targets" />
1+ <Project ToolsVersion =" 15.0" Sdk =" Microsoft.NET.Sdk" >
2+ <Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory),Microsoft.AspNet.TelemetryCorrelation.sln))\tools\Microsoft.AspNet.TelemetryCorrelation.settings.props" />
53 <PropertyGroup >
6- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
7- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
84 <ProjectGuid >{4C8E592C-C532-4CF2-80EF-3BDD0D788D12}</ProjectGuid >
95 <OutputType >Library</OutputType >
106 <AppDesignerFolder >Properties</AppDesignerFolder >
117 <RootNamespace >Microsoft.AspNet.TelemetryCorrelation</RootNamespace >
128 <AssemblyName >Microsoft.AspNet.TelemetryCorrelation</AssemblyName >
13- <TargetFrameworkVersion >v4.5</ TargetFrameworkVersion >
9+ <TargetFrameworks >net45</ TargetFrameworks >
1410 <FileAlignment >512</FileAlignment >
1511 <SignAssembly >true</SignAssembly >
16- <DelaySign >true</DelaySign >
17- <AssemblyOriginatorKeyFile >$(RepositoryRoot)tools\35MSSharedLib1024.snk</AssemblyOriginatorKeyFile >
18- <SccProjectName >SAK</SccProjectName >
19- <SccLocalPath >SAK</SccLocalPath >
20- <SccAuxPath >SAK</SccAuxPath >
21- <SccProvider >SAK</SccProvider >
2212 <DocumentationFile >$(OutputPath)$(AssemblyName).xml</DocumentationFile >
2313 <SolutionDir Condition =" $(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'" >..\..\</SolutionDir >
24- <RestorePackages >true</RestorePackages >
25- <TargetFrameworkProfile />
26- <NuGetPackageImportStamp >
27- </NuGetPackageImportStamp >
28- </PropertyGroup >
29- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
14+ <CodeAnalysisRuleSet >Microsoft.AspNet.TelemetryCorrelation.ruleset</CodeAnalysisRuleSet >
15+ <RunCodeAnalysis >true</RunCodeAnalysis >
16+ <ErrorReport >prompt</ErrorReport >
17+ <WarningLevel >4</WarningLevel >
3018 <DebugSymbols >true</DebugSymbols >
19+ </PropertyGroup >
20+ <PropertyGroup Condition =" '$(PublicRelease)' == 'True' " >
21+ <DelaySign >true</DelaySign >
22+ <AssemblyOriginatorKeyFile >$(RepositoryRoot)tools\35MSSharedLib1024.snk</AssemblyOriginatorKeyFile >
23+ <DefineConstants >$(DefineConstants);PUBLIC_RELEASE</DefineConstants >
24+ </PropertyGroup >
25+ <PropertyGroup Condition =" '$(PublicRelease)' != 'True' " >
26+ <DelaySign >false</DelaySign >
27+ <AssemblyOriginatorKeyFile >$(RepositoryRoot)tools\Debug.snk</AssemblyOriginatorKeyFile >
28+ </PropertyGroup >
29+ <PropertyGroup Condition =" '$(Configuration)' == 'Debug' " >
3130 <DebugType >full</DebugType >
3231 <Optimize >false</Optimize >
33- <DefineConstants >DEBUG;TRACE</DefineConstants >
34- <ErrorReport >prompt</ErrorReport >
35- <WarningLevel >4</WarningLevel >
36- <CodeAnalysisRuleSet >Microsoft.AspNet.TelemetryCorrelation.ruleset</CodeAnalysisRuleSet >
37- <RunCodeAnalysis >true</RunCodeAnalysis >
32+ <DefineConstants >$(DefineConstants);DEBUG;TRACE</DefineConstants >
3833 </PropertyGroup >
39- <PropertyGroup Condition =" '$(Configuration)|$(Platform) ' == 'Release|AnyCPU ' " >
34+ <PropertyGroup Condition =" '$(Configuration)' == 'Release' " >
4035 <DebugType >pdbonly</DebugType >
4136 <Optimize >true</Optimize >
42- <DefineConstants >TRACE</DefineConstants >
43- <ErrorReport >prompt</ErrorReport >
44- <WarningLevel >4</WarningLevel >
45- <CodeAnalysisRuleSet >Microsoft.AspNet.TelemetryCorrelation.ruleset</CodeAnalysisRuleSet >
46- <RunCodeAnalysis >true</RunCodeAnalysis >
37+ <DefineConstants >$(DefineConstants);TRACE</DefineConstants >
4738 </PropertyGroup >
4839 <PropertyGroup >
49- <DebugSymbols >true</DebugSymbols >
40+ <Company >Microsoft Corporation</Company >
41+ <!-- https://docs.microsoft.com/en-us/nuget/schema/msbuild-targets-->
42+ <GeneratePackageOnBuild >True</GeneratePackageOnBuild >
43+ <IncludeSymbols >True</IncludeSymbols >
44+ <!-- PackageOutputPath>Defined in Directory.Build.props</PackageOutputPath-->
45+ <PackageId >Microsoft.AspNet.TelemetryCorrelation</PackageId >
46+ <!-- PackageVersion is defined in from VersionPrefix and VersionSuffix -->
47+ <!-- PackageVersion></PackageVersion-->
48+ <Authors >Microsoft,aspnet</Authors >
49+ <Title >Microsoft Asp.Net telemetry correlation</Title >
50+ <Description >A module that instruments incoming request with System.Diagnostics.Activity and notifies listeners with DiagnosticsSource.</Description >
51+ <Copyright >© Microsoft Corporation. All rights reserved.</Copyright >
52+ <PackageRequireLicenseAcceptance >true</PackageRequireLicenseAcceptance >
53+ <PackageLicenseUrl >http://www.microsoft.com/web/webpi/eula/net_library_eula_ENU.htm</PackageLicenseUrl >
54+ <PackageProjectUrl >http://www.asp.net/</PackageProjectUrl >
55+ <PackageIconUrl >http://go.microsoft.com/fwlink/?LinkID=288859</PackageIconUrl >
56+ <PackageTags >Diagnostics DiagnosticSource Correlation Activity ASP.NET</PackageTags >
57+ <RepositoryUrl >https://github.com/aspnet/Microsoft.AspNet.TelemetryCorrelation/</RepositoryUrl >
58+ <RepositoryType >Git</RepositoryType >
59+ <PackageType >Dependency</PackageType >
60+ <ContentTargetFolders >content</ContentTargetFolders >
5061 </PropertyGroup >
5162 <ItemGroup >
5263 <Reference Include =" System" />
53- <Reference Include =" System.Diagnostics.DiagnosticSource, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" >
54- <HintPath >..\..\packages\System.Diagnostics.DiagnosticSource.4.5.0\lib\net45\System.Diagnostics.DiagnosticSource.dll</HintPath >
55- </Reference >
5664 <Reference Include =" System.Web" />
5765 <Reference Include =" System.Xml.Linq" />
5866 <Reference Include =" System.Data.DataSetExtensions" />
5967 <Reference Include =" Microsoft.CSharp" />
6068 <Reference Include =" System.Net.Http" />
6169 <Reference Include =" System.Xml" />
62- </ItemGroup >
63- <ItemGroup >
64- <Compile Include =" ActivityExtensions.cs" />
65- <Compile Include =" ActivityHelper.cs" />
66- <Compile Include =" TelemetryCorrelationHttpModule.cs" />
67- <Compile Include =" AspNetTelemetryCorrelationEventSource.cs" />
68- <Compile Include =" Properties\AssemblyInfo.cs" />
70+ <!--
71+ <PackageReference Include="Desktop.Analyzers" Version="1.1.0">
72+ <PrivateAssets>All</PrivateAssets>
73+ </PackageReference>
74+ -->
75+ <PackageReference Include =" StyleCop.Analyzers" Version =" 1.0.2" >
76+ <PrivateAssets >All</PrivateAssets >
77+ </PackageReference >
78+ <PackageReference Include =" MicroBuild.Core" Version =" 0.3.0" >
79+ <PrivateAssets >All</PrivateAssets >
80+ </PackageReference >
81+ <PackageReference Include =" Microsoft.Diagnostics.Tracing.EventRegister" Version =" 1.1.28" Condition =" $(OS) == 'Windows_NT'" >
82+ <PrivateAssets >All</PrivateAssets >
83+ </PackageReference >
84+ <PackageReference Include =" System.Diagnostics.DiagnosticSource" Version =" 4.5.0" />
6985 </ItemGroup >
7086 <ItemGroup >
7187 <None Include =" Microsoft.AspNet.TelemetryCorrelation.ruleset" />
72- <None Include =" packages.config" />
73- </ItemGroup >
74- <ItemGroup >
7588 <None Include =" 35MSSharedLib1024.snk" />
7689 </ItemGroup >
7790 <ItemGroup >
78- <Analyzer Include =" ..\..\packages\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\Newtonsoft.Json.dll" />
79- <Analyzer Include =" ..\..\packages\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll" />
80- <Analyzer Include =" ..\..\packages\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\StyleCop.Analyzers.dll" />
91+ <Content Include =" web.config.install.xdt" />
92+ <Content Include =" web.config.uninstall.xdt" />
8193 </ItemGroup >
82- <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
83- <Import Project =" ..\..\packages\Microsoft.Diagnostics.Tracing.EventRegister.1.1.28\build\Microsoft.Diagnostics.Tracing.EventRegister.targets" Condition =" Exists('..\..\packages\Microsoft.Diagnostics.Tracing.EventRegister.1.1.28\build\Microsoft.Diagnostics.Tracing.EventRegister.targets')" />
84-
85-
86- <Target Name =" EnsureNuGetPackageBuildImports" BeforeTargets =" PrepareForBuild" >
87- <PropertyGroup >
88- <ErrorText >This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText >
89- </PropertyGroup >
90- <Error Condition =" !Exists('..\..\packages\Microsoft.Diagnostics.Tracing.EventRegister.1.1.28\build\Microsoft.Diagnostics.Tracing.EventRegister.targets')" Text =" $([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Diagnostics.Tracing.EventRegister.1.1.28\build\Microsoft.Diagnostics.Tracing.EventRegister.targets'))" />
91- <Error Condition =" !Exists('..\..\packages\MicroBuild.Core.0.3.0\build\MicroBuild.Core.props')" Text =" $([System.String]::Format('$(ErrorText)', '..\..\packages\MicroBuild.Core.0.3.0\build\MicroBuild.Core.props'))" />
92- <Error Condition =" !Exists('..\..\packages\MicroBuild.Core.0.3.0\build\MicroBuild.Core.targets')" Text =" $([System.String]::Format('$(ErrorText)', '..\..\packages\MicroBuild.Core.0.3.0\build\MicroBuild.Core.targets'))" />
93- </Target >
94- <Import Project =" ..\..\packages\MicroBuild.Core.0.3.0\build\MicroBuild.Core.targets" Condition =" Exists('..\..\packages\MicroBuild.Core.0.3.0\build\MicroBuild.Core.targets')" />
95- <Target Name =" AddToSign" AfterTargets =" AfterBuild" >
96- <ItemGroup >
97- <FilesToSign Include =" $(TargetPath)" Condition =" '$(SignAssembly)' == 'true'" >
98- <Authenticode >Microsoft</Authenticode >
99- <StrongName >MsSharedLib72</StrongName >
100- </FilesToSign >
101- </ItemGroup >
102-
103- <Message Text =" FilesToSign: %(FilesToSign.Identity); %(FilesToSign.Authenticode); %(FilesToSign.StrongName)" Importance =" high" />
104- </Target >
10594</Project >
0 commit comments