forked from dotnet/try
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMicrosoft.TryDotNet.IntegrationTests.csproj
More file actions
79 lines (68 loc) · 2.87 KB
/
Microsoft.TryDotNet.IntegrationTests.csproj
File metadata and controls
79 lines (68 loc) · 2.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<Deterministic Condition="'$(NCrunch)' == '1'">false</Deterministic>
<GeneratedFileName>GeneratedLocation.cs</GeneratedFileName>
<PublishLocation>$(MSBuildThisFileDirectory)bin\$(Configuration)\tool</PublishLocation>
<IsPackable>false</IsPackable>
<DebugType>embedded</DebugType>
</PropertyGroup>
<ItemGroup>
<Using Include="Xunit" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Assent" />
<PackageReference Include="AwesomeAssertions" />
<PackageReference Include="Microsoft.Playwright" />
<PackageReference Include="peaky.client" />
<PackageReference Include="peaky.xunit" />
<PackageReference Include="Pocket.Disposable">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="PocketLogger" >
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="PocketLogger.For.Xunit">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="PocketLogger.Subscribe">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="xunit" />
<PackageReference Include="xunit.runner.visualstudio">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup Condition="'$(DisableArcade)' == '1'">
<PackageReference Include="Microsoft.NET.Test.Sdk" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Microsoft.TryDotNet\Microsoft.TryDotNet.csproj" />
</ItemGroup>
<Target Name="DoSomethingElse" BeforeTargets="maybe">
<PropertyGroup>
<GeneratedContent>
<![CDATA[
namespace Microsoft.TryDotNet.IntegrationTests%3b
public static class BuildProperties
{
public const string TryDotNetPublishLocation = @"$(PublishLocation)"%3b
public const string LearnMockSitePath = @"$(MSBuildThisFileDirectory)..\microsoft-learn-mock\site\"%3b
}
]]></GeneratedContent>
</PropertyGroup>
<WriteLinesToFile File="$(IntermediateOutputPath)\$(GeneratedFileName)" Overwrite="true" Lines="$(GeneratedContent)" />
</Target>
<Target Name="maybe" BeforeTargets="PublishTool">
<ItemGroup>
<Compile Include="$(IntermediateOutputPath)\$(GeneratedFileName)" />
</ItemGroup>
</Target>
<Target Name="PublishTool" BeforeTargets="CoreCompile" Condition="'$(DisableArcade)' != '1'">
<Exec Command="dotnet publish -o $(PublishLocation)" WorkingDirectory="$(MSBuildThisFileDirectory)..\Microsoft.TryDotNet" />
</Target>
</Project>