-
Notifications
You must be signed in to change notification settings - Fork 4k
/
Copy pathAz.Test.props
47 lines (38 loc) · 1.74 KB
/
Az.Test.props
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
<Project>
<Import Project="$(MSBuildThisFileDirectory)..\Repo.props" />
<Import Project="$(RepoTools)Common.Netcore.Dependencies.Test.targets" />
<Import Project="$(MSBuildThisFileDirectory)Az.Shared.props" />
<!-- Custom -->
<PropertyGroup>
<AzTestAssemblySuffix>.Test</AzTestAssemblySuffix>
</PropertyGroup>
<ItemGroup>
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute">
<_Parameter1>TestProjectPath</_Parameter1>
<_Parameter2>$(MSBuildProjectDirectory)</_Parameter2>
</AssemblyAttribute>
</ItemGroup>
<!-- Build -->
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<AssemblyName>$(AzAssemblyPrefix)$(PsModuleName)$(AzTestAssemblySuffix)</AssemblyName>
<RootNamespace>$(AzAssemblyPrefix)$(PsModuleName)$(AzTestAssemblySuffix)</RootNamespace>
<IsPackable>false</IsPackable>
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
<!-- Use this property to generate [Appname].runtimesettings.dev.json as in .NET 6 this file is no longer generated by default -->
<GenerateRuntimeConfigDevFile>true</GenerateRuntimeConfigDevFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>TRACE;DEBUG;NETSTANDARD</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DefineConstants>TRACE;RELEASE;NETSTANDARD</DefineConstants>
</PropertyGroup>
<ItemGroup Condition="'$(IncludeCommonTestProject)' != 'false'">
<ProjectReference Include="$(RepoTools)TestFx\TestFx.csproj" />
</ItemGroup>
<!-- Assets -->
<ItemGroup>
<None Update="ScenarioTests\*.ps1" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
</Project>