43 lines
1.7 KiB
Text
43 lines
1.7 KiB
Text
![]() |
<Project>
|
||
|
|
||
|
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
|
||
|
|
||
|
<PropertyGroup>
|
||
|
<GlobalJsonFile>$(ProjectDirectory)global.json</GlobalJsonFile>
|
||
|
<NuGetConfigFile>$(ProjectDirectory)NuGet.config</NuGetConfigFile>
|
||
|
<RepoApiImplemented>false</RepoApiImplemented>
|
||
|
<DeterministicBuildOptOut>true</DeterministicBuildOptOut>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
<ItemGroup>
|
||
|
<UseSourceBuiltSdkOverride Include="@(ArcadeSdkOverride)" />
|
||
|
</ItemGroup>
|
||
|
|
||
|
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
|
||
|
|
||
|
<Target Name="RepoBuild">
|
||
|
<PropertyGroup>
|
||
|
<BuildCommandArgs>$(ProjectDirectory)/src/Microsoft.Diagnostics.NETCore.Client/Microsoft.Diagnostics.NETCore.Client.csproj</BuildCommandArgs>
|
||
|
<BuildCommandArgs>$(BuildCommandArgs) /p:Configuration=$(Configuration)</BuildCommandArgs>
|
||
|
<BuildCommandArgs>$(BuildCommandArgs) /v:$(LogVerbosity)</BuildCommandArgs>
|
||
|
<BuildCommandArgs>$(BuildCommandArgs) $(RedirectRepoOutputToLog)</BuildCommandArgs>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
<Exec Command="$(DotnetToolCommand) restore /bl:restore.binlog $(BuildCommandArgs) "
|
||
|
EnvironmentVariables="@(EnvironmentVariables)"
|
||
|
WorkingDirectory="$(ProjectDirectory)"
|
||
|
IgnoreStandardErrorWarningFormat="true" />
|
||
|
|
||
|
<Exec Command="$(DotnetToolCommand) build /bl:build.binlog $(BuildCommandArgs)"
|
||
|
EnvironmentVariables="@(EnvironmentVariables)"
|
||
|
WorkingDirectory="$(ProjectDirectory)"
|
||
|
IgnoreStandardErrorWarningFormat="true" />
|
||
|
|
||
|
<Exec Command="$(DotnetToolCommand) pack /bl:pack.binlog $(BuildCommandArgs)"
|
||
|
EnvironmentVariables="@(EnvironmentVariables)"
|
||
|
WorkingDirectory="$(ProjectDirectory)"
|
||
|
IgnoreStandardErrorWarningFormat="true" />
|
||
|
</Target>
|
||
|
|
||
|
</Project>
|