Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Commit c2c07ca

Browse files
committed
Switch Cecil reference to PackageReference.
Use version 0.10.1.
1 parent 0607a4a commit c2c07ca

File tree

2 files changed

+6
-19
lines changed

2 files changed

+6
-19
lines changed

Diff for: ICSharpCode.NRefactory.Cecil/ICSharpCode.NRefactory.Cecil.csproj

+6-15
Original file line numberDiff line numberDiff line change
@@ -82,21 +82,15 @@
8282
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
8383
<BaseIntermediateOutputPath>obj\</BaseIntermediateOutputPath>
8484
</PropertyGroup>
85+
<PropertyGroup>
86+
<NuGetVersionCecil Condition="$(NuGetVersionCecil) == ''">0.10.1</NuGetVersionCecil>
87+
</PropertyGroup>
88+
<ItemGroup>
89+
<PackageReference Include="Mono.Cecil" Version="$(NuGetVersionCecil)" PrivateAssets="all" />
90+
</ItemGroup>
8591
<ItemGroup>
8692
<Reference Include="System" />
8793
<Reference Include="System.Core" />
88-
<Reference Include="Mono.Cecil">
89-
<HintPath>$(SolutionDir)\packages\Mono.Cecil.0.10.0-beta6\lib\net40\Mono.Cecil.dll</HintPath>
90-
</Reference>
91-
<Reference Include="Mono.Cecil.Mdb">
92-
<HintPath>$(SolutionDir)\packages\Mono.Cecil.0.10.0-beta6\lib\net40\Mono.Cecil.Mdb.dll</HintPath>
93-
</Reference>
94-
<Reference Include="Mono.Cecil.Pdb">
95-
<HintPath>$(SolutionDir)\packages\Mono.Cecil.0.10.0-beta6\lib\net40\Mono.Cecil.Pdb.dll</HintPath>
96-
</Reference>
97-
<Reference Include="Mono.Cecil.Rocks">
98-
<HintPath>$(SolutionDir)\packages\Mono.Cecil.0.10.0-beta6\lib\net40\Mono.Cecil.Rocks.dll</HintPath>
99-
</Reference>
10094
</ItemGroup>
10195
<ItemGroup>
10296
<Compile Include="..\ICSharpCode.NRefactory\Properties\GlobalAssemblyInfo.cs">
@@ -112,7 +106,4 @@
112106
<Name>ICSharpCode.NRefactory</Name>
113107
</ProjectReference>
114108
</ItemGroup>
115-
<ItemGroup>
116-
<None Include="packages.config" />
117-
</ItemGroup>
118109
</Project>

Diff for: ICSharpCode.NRefactory.Cecil/packages.config

-4
This file was deleted.

0 commit comments

Comments
 (0)