Browse Source

Update to -beta4 NuGet, fix Workbook errors

pull/1012/head v3.0-beta4
Christoph Wille 8 years ago
parent
commit
6a000aad3c
  1. 8
      DecompilerNuGetDemos.workbook
  2. 2
      ICSharpCode.Decompiler.Console/ICSharpCode.Decompiler.Console.csproj
  3. 2
      ICSharpCode.Decompiler.PowerShell/ICSharpCode.Decompiler.PowerShell.csproj

8
DecompilerNuGetDemos.workbook

@ -6,7 +6,7 @@ platforms:
- DotNetCore - DotNetCore
packages: packages:
- id: ICSharpCode.Decompiler - id: ICSharpCode.Decompiler
version: 3.0.0.3362-beta3 version: 3.0.0.3403-beta4
--- ---
Setup: load the references required to work with the decompiler Setup: load the references required to work with the decompiler
@ -66,13 +66,13 @@ var module = decompiler.TypeSystem.GetCecil(type).Module
Get the child namespaces Get the child namespaces
```csharp ```csharp
var icsdns = decompiler.TypeSystem.Compilation.RootNamespace.ChildNamespaces.First(); var icsdns = decompiler.TypeSystem.Compilation.RootNamespace;
foreach (var ns in icsdns.ChildNamespaces.First().ChildNamespaces) Console.WriteLine(ns.FullName); foreach (var ns in icsdns.ChildNamespaces) Console.WriteLine(ns.FullName);
``` ```
Get types in a single namespace Get types in a single namespace
```csharp ```csharp
// ICSharpCode.Decompiler.TypeSystem is the first namespace // ICSharpCode.Decompiler.TypeSystem is the first namespace
var typesInNamespace = icsdns.ChildNamespaces.First().ChildNamespaces.First().Types; var typesInNamespace = icsdns.ChildNamespaces.First().Types;
``` ```

2
ICSharpCode.Decompiler.Console/ICSharpCode.Decompiler.Console.csproj

@ -14,7 +14,7 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="2.0.1" /> <PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="2.0.1" />
<PackageReference Include="ICSharpCode.Decompiler" Version="3.0.0.3367-beta3" /> <PackageReference Include="ICSharpCode.Decompiler" Version="3.0.0.3403-beta4" />
<PackageReference Include="System.IO.FileSystem.Primitives" Version="4.3.0" /> <PackageReference Include="System.IO.FileSystem.Primitives" Version="4.3.0" />
<PackageReference Include="System.Runtime.Handles" Version="4.3.0" /> <PackageReference Include="System.Runtime.Handles" Version="4.3.0" />

2
ICSharpCode.Decompiler.PowerShell/ICSharpCode.Decompiler.PowerShell.csproj

@ -8,7 +8,7 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="PowerShellStandard.Library" Version="3.0.0-preview-01" /> <PackageReference Include="PowerShellStandard.Library" Version="3.0.0-preview-01" />
<PackageReference Include="ICSharpCode.Decompiler" Version="3.0.0.3367-beta3" /> <PackageReference Include="ICSharpCode.Decompiler" Version="3.0.0.3403-beta4" />
</ItemGroup> </ItemGroup>
</Project> </Project>

Loading…
Cancel
Save