Permalink
Browse files

Fix build.

  • Loading branch information...
1 parent 60cf22a commit 54cf43a1e14176fcba9cccbefe61a740da01e0cc @dgrunwald dgrunwald committed May 29, 2011
Showing with 4 additions and 1 deletion.
  1. +2 −0 ILSpy/Languages/Languages.cs
  2. +2 −1 Mono.Cecil/symbols/pdb/Mono.Cecil.Pdb.csproj
View
2 ILSpy/Languages/Languages.cs
@@ -41,8 +41,10 @@ internal static void Initialize(CompositionContainer composition)
List<Language> languages = new List<Language>();
languages.AddRange(composition.GetExportedValues<Language>());
languages.Add(new ILLanguage(true));
+ #if DEBUG
languages.AddRange(ILAstLanguage.GetDebugLanguages());
languages.AddRange(CSharpLanguage.GetDebugLanguages());
+ #endif
allLanguages = languages.AsReadOnly();
}
View
3 Mono.Cecil/symbols/pdb/Mono.Cecil.Pdb.csproj
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">net_4_0_Debug</Configuration>
@@ -13,6 +13,7 @@
<FileAlignment>512</FileAlignment>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\mono.snk</AssemblyOriginatorKeyFile>
+ <NoWarn>0649</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'net_2_0_Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>

0 comments on commit 54cf43a

Please sign in to comment.