Skip to content

Commit 7218b2d

Browse files
authored
Upgrade Microsoft.PowerShell.5.ReferenceAssemblies from 1.0.0 to 1.1.0 and remove redundant/transitive references (#1050)
* Upgrade Microsoft.PowerShell.5.ReferenceAssemblies from 1.0.0 to 1.1.0, which was already published last year * Remove transitive and redundant references.
1 parent 353c2be commit 7218b2d

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

Engine/Engine.csproj

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<VersionPrefix>1.17.1</VersionPrefix>
@@ -10,7 +10,6 @@
1010

1111
<ItemGroup Condition=" '$(TargetFramework)' == 'net451' ">
1212
<Reference Include="System.ComponentModel.Composition" />
13-
<Reference Include="System" />
1413
</ItemGroup>
1514

1615
<PropertyGroup Condition=" '$(TargetFramework)' == 'net451' ">
@@ -61,7 +60,7 @@
6160
</ItemGroup>
6261

6362
<ItemGroup Condition="'$(TargetFramework)' == 'net451' AND '$(Configuration)' != 'PSV3Release'">
64-
<PackageReference Include="Microsoft.PowerShell.5.ReferenceAssemblies" Version="1.0.0" />
63+
<PackageReference Include="Microsoft.PowerShell.5.ReferenceAssemblies" Version="1.1.0" />
6564
</ItemGroup>
6665

6766
<PropertyGroup Condition=" '$(Configuration)' == 'PSV3Release' ">

Rules/Rules.csproj

-15
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
<ItemGroup Condition=" '$(TargetFramework)' == 'net451' ">
1717
<Reference Include="System.ComponentModel.Composition" />
1818
<Reference Include="System.Data.Entity.Design" />
19-
<Reference Include="System" />
20-
<Reference Include="Microsoft.CSharp" />
2119
</ItemGroup>
2220

2321
<PropertyGroup Condition=" '$(TargetFramework)' == 'net451' ">
@@ -46,21 +44,8 @@
4644
<ItemGroup Condition="'$(TargetFramework)' == 'net451' ">
4745
<PackageReference Include="Microsoft.Management.Infrastructure" Version="1.0.0-alpha*" />
4846
</ItemGroup>
49-
50-
<ItemGroup Condition="'$(TargetFramework)' == 'net451' AND '$(Configuration)' != 'PSV3Release'">
51-
<PackageReference Include="Microsoft.PowerShell.5.ReferenceAssemblies" Version="1.0.0" />
52-
</ItemGroup>
53-
54-
<ItemGroup Condition="'$(TargetFramework)' == 'net451' AND '$(Configuration)' == 'PSV4Release'">
55-
<PackageReference Include="Microsoft.PowerShell.4.ReferenceAssemblies" Version="1.0.0" />
56-
</ItemGroup>
57-
58-
<ItemGroup Condition="'$(TargetFramework)' == 'net451' AND '$(Configuration)' != 'PSV3Release'">
59-
<PackageReference Include="Microsoft.PowerShell.5.ReferenceAssemblies" Version="1.0.0" />
60-
</ItemGroup>
6147

6248
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
63-
<PackageReference Include="System.Management.Automation" Version="6.0.2" />
6449
<PackageReference Include="Microsoft.Management.Infrastructure" Version="1.0.0-alpha*" />
6550
<PackageReference Include="System.Reflection.TypeExtensions" Version="4.5.0" />
6651
<Compile Remove="UseSingularNouns.cs" />

0 commit comments

Comments
 (0)