ApplicationInsights-dotnet/Directory.Build.props

72 строки
3.4 KiB
Plaintext
Исходник Обычный вид История

<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!-- USE THESE VARIABLES TO CONTROL THE BUILD TASKS.-->
<Internal_Logging>false</Internal_Logging>
<!-- This is used to disable some build properties. -->
<IsExamplesSolution Condition="'$(SolutionName)' == 'Examples' ">true</IsExamplesSolution>
</PropertyGroup>
<Target Name="Info_InternalSettings" BeforeTargets="Build">
<Message Text="Directory.Build.props: Internal_Logging is set to $(Internal_Logging)." Importance="high"/>
</Target>
<Target Name="Info_DirectoryBuildProps" BeforeTargets="Build" Condition=" $(Internal_Logging) == 'true' ">
<Message Text="Info: SolutionName: $(SolutionName)." Importance="high"/>
<Message Text="Info: ProjectName: $(MSBuildProjectName)." Importance="high"/>
<Message Text="Info: TargetFramework: $(TargetFramework)." Importance="high"/>
<Message Text="Info: Directory.Build.props imported by $(MSBuildProjectName)." Importance="high"/>
</Target>
<PropertyGroup>
<!-- EnlistmentRoot identifies the root directory of the repo and is used to dermine all other relative paths. -->
<EnlistmentRoot>$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), 'EnlistmentRoot.marker'))</EnlistmentRoot>
<KeysRoot>$(EnlistmentRoot)\.keys</KeysRoot>
<PropsRoot>$(EnlistmentRoot)\.props</PropsRoot>
<RulesetsRoot>$(EnlistmentRoot)\.rulesets</RulesetsRoot>
<TargetsRoot>$(EnlistmentRoot)\.targets</TargetsRoot>
<PublicApiRoot>$(EnlistmentRoot)\.publicApi</PublicApiRoot>
<BinRoot>$(EnlistmentRoot)\..\bin</BinRoot>
<BinRoot>$([System.IO.Path]::GetFullPath( $(BinRoot) ))</BinRoot>
<ObjRoot>$(EnlistmentRoot)\..\obj</ObjRoot>
<ObjRoot>$([System.IO.Path]::GetFullPath( $(ObjRoot) ))</ObjRoot>
<PackagesDir>$(EnlistmentRoot)\..\packages</PackagesDir>
<PackagesDir>$([System.IO.Path]::GetFullPath( $(PackagesDir) ))</PackagesDir>
<RelativeOutputPathBase>$(MSBuildProjectDirectory.Substring($(EnlistmentRoot.Length)))</RelativeOutputPathBase>
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
<!--This is to disable code analysis while devs are working. Default is true.-->
<RunAnalyzers Condition=" '$(Configuration)' == 'Debug' ">false</RunAnalyzers>
<OutputPath>$(BinRoot)\$(Configuration)\test\$(MSBuildProjectName)</OutputPath>
<OutputPath>$([System.IO.Path]::GetFullPath( $(OutputPath) ))\</OutputPath>
<!-- Collect all NuGet packages in the same folder for convenience during testing -->
<PackageOutputDir>$(BinRoot)\$(Configuration)\NuGet</PackageOutputDir>
<PackageOutputPath>$(PackageOutputDir)</PackageOutputPath>
<IntermediateOutputPath>$(ObjRoot)\$(Configuration)\$(MSBuildProjectName)</IntermediateOutputPath>
<IntermediateOutputPath>$([System.IO.Path]::GetFullPath( $(IntermediateOutputPath) ))\</IntermediateOutputPath>
Tilee/everything (#1275) * everything solution * added base and web tests * update netcore * add logging and netcore tests * update references * fxcop warnings: invariant string * add nuget config * solution update * cleanup packages.config * Remove perf\xdt.tests * fxcop * change script * update script * update script * rename project to reflect actual TargetFramework * rename projects and folders to match their build framework. this matters for pattern matching to discover tests * Change test projects from Net4.5.1 to Net4.5 * rename assembly * testing an update to the Test Adapters * update internalsvisibleto * update internalsvisibleto * update solutions with renamed projects * add Core func tests * update script * remove NetCore3.0 projects from sln * test add extra project to netcore. update script. * restore net core 3.0 projects * removing netcore 3.0 projects. Will solve later * fix for TaskFactory not compatible with NetCore * update all these other task factories * fxcop * testing netcore 3.0 projects * more fxcop * test fix for FallbackDirectory * testing removing feed * update MSTest.TestAdapter 1.4 > 2.0 update MSTest.TestFramework 1.4 > 2.0 update Microsoft.NET.Test.Sdk 16.1 > 16.2 * update test packages * roll back Microsoft.NET.Test.Sdk * change to flaky test * testing fix for linux build * testing fix for linux build. removing private feeds from nuget.config * testing fix for flaky test * test fix for linux build. specify version of nuget.exe * testing fix for linux build. Use Nuget restore instead of DotNet restore * fix quotes * fix quotes * remove commented task * yml * test fix for linux nuget * test fix for linux build. compile sln * fix for linux build * fix for file exception * cleanup * revert changes to linux build. * fix * fix * remove extra file * removing nuget dependency from WEB E2E tests: DependencyCollection * removing nuget dependency from WEB E2E tests: PerformanceCollector * missed one project * removing nuget dependency from WEB E2E tests: FunctionalTests * turn off strongname in docker tests
2019-11-08 00:22:11 +03:00
<!-- Testing fix for https://github.com/dotnet/sdk/issues/2523 -->
<!-- If this works, should move to common and not the directory props -->
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
</PropertyGroup>
<PropertyGroup>
<LangVersion>7.3</LangVersion>
<!-- Enable NuGet package restore during build -->
<RestorePackages>true</RestorePackages>
<RequireRestoreConsent>false</RequireRestoreConsent>
</PropertyGroup>
</Project>