|
52 | 52 | <Compile Remove="UseSingularNouns.cs" /> |
53 | 53 | </ItemGroup> |
54 | 54 |
|
55 | | - <PropertyGroup Condition=" '$(Configuration)' == 'PSV3Release' "> |
| 55 | + <PropertyGroup Condition=" '$(Configuration)' == 'PSV3Release' OR '$(Configuration)' == 'PSV3Debug'"> |
56 | 56 | <DefineConstants>$(DefineConstants);PSV3</DefineConstants> |
57 | 57 | </PropertyGroup> |
58 | 58 |
|
59 | | - <PropertyGroup Condition=" '$(Configuration)' == 'PSV4Release' "> |
| 59 | + <PropertyGroup Condition=" '$(Configuration)' == 'PSV4Debug' OR '$(Configuration)' == 'PSV4Release'"> |
60 | 60 | <DefineConstants>$(DefineConstants);PSV3;PSV4</DefineConstants> |
61 | 61 | </PropertyGroup> |
62 | 62 |
|
63 | | - <PropertyGroup Condition=" '$(Configuration)' == 'PSV3Debug' "> |
64 | | - <DefineConstants>$(DefineConstants);PSV3</DefineConstants> |
65 | | - </PropertyGroup> |
66 | | - |
67 | | - <PropertyGroup Condition=" '$(Configuration)' == 'PSV4Debug' "> |
68 | | - <DefineConstants>$(DefineConstants);PSV3;PSV4</DefineConstants> |
69 | | - </PropertyGroup> |
70 | | - |
71 | | - <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1' AND '$(Configuration)' == 'PSV7Release'"> |
72 | | - <DefineConstants>$(DefineConstants);PSV7;CORECLR</DefineConstants> |
73 | | - </PropertyGroup> |
74 | | - |
75 | | - <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1' AND '$(Configuration)' == 'PSV7Release'"> |
76 | | - <PackageReference Include="Microsoft.PowerShell.SDK" Version="7.0.0" /> |
77 | | - </ItemGroup> |
78 | | - |
79 | | - <PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0' AND '$(Configuration)' == 'PSV6Release'"> |
80 | | - <DefineConstants>$(DefineConstants);PSV6;CORECLR</DefineConstants> |
81 | | - </PropertyGroup> |
82 | | - |
83 | | - <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' AND '$(Configuration)' == 'PSV6Release'"> |
84 | | - <PackageReference Include="System.Management.Automation" Version="6.1.0" /> |
85 | | - </ItemGroup> |
86 | | - |
87 | | - <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1' AND '$(Configuration)' == 'PSV7Debug'"> |
| 63 | + <PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'"> |
88 | 64 | <DefineConstants>$(DefineConstants);PSV7;CORECLR</DefineConstants> |
89 | 65 | </PropertyGroup> |
90 | 66 |
|
91 | | - <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1' AND '$(Configuration)' == 'PSV7Debug'"> |
92 | | - <PackageReference Include="Microsoft.PowerShell.SDK" Version="7.0.0" /> |
93 | | - </ItemGroup> |
94 | | - |
95 | | - <PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0' AND '$(Configuration)' == 'PSV6Debug'"> |
| 67 | + <PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> |
96 | 68 | <DefineConstants>$(DefineConstants);PSV6;CORECLR</DefineConstants> |
97 | 69 | </PropertyGroup> |
98 | 70 |
|
99 | | - <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' AND '$(Configuration)' == 'PSV6Debug'"> |
100 | | - <PackageReference Include="System.Management.Automation" Version="6.1.0" /> |
101 | | - </ItemGroup> |
102 | | - |
103 | 71 | </Project> |
0 commit comments