diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2011-10-10 16:53:07 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2011-10-10 16:53:07 +0400 |
commit | 44fd75ca7e7e75c8c487262e4b5aa3426bedb2e5 (patch) | |
tree | 1046f14c2b1d4e6ca2405e8a02f8db55255ff73a /main/src/addins/MonoDevelop.AssemblyBrowser | |
parent | 514f9940b80aa2cb5e1e461d0e1c181697d632d5 (diff) |
Fix makefile build.
Diffstat (limited to 'main/src/addins/MonoDevelop.AssemblyBrowser')
3 files changed, 10 insertions, 2 deletions
diff --git a/main/src/addins/MonoDevelop.AssemblyBrowser/Makefile.am b/main/src/addins/MonoDevelop.AssemblyBrowser/Makefile.am index 1e50caad62..b03c3bbbee 100644 --- a/main/src/addins/MonoDevelop.AssemblyBrowser/Makefile.am +++ b/main/src/addins/MonoDevelop.AssemblyBrowser/Makefile.am @@ -43,6 +43,7 @@ DEPS = \ $(top_builddir)/build/AddIns/BackendBindings/MonoDevelop.CSharpBinding.dll \ $(top_builddir)/build/AddIns/MonoDevelop.Refactoring/MonoDevelop.Refactoring.dll \ $(top_builddir)/build/bin/ICSharpCode.Decompiler.dll \ + $(top_builddir)/build/bin/ICSharpCode.NRefactory.CSharp.dll \ $(top_builddir)/build/bin/ICSharpCode.NRefactory.dll \ $(top_builddir)/build/bin/Mono.Cecil.dll \ $(top_builddir)/build/bin/Mono.TextEditor.dll \ diff --git a/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser.csproj b/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser.csproj index 6c177dab9d..a3aec31d19 100644 --- a/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser.csproj +++ b/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser.csproj @@ -57,7 +57,9 @@ <SpecificVersion>False</SpecificVersion> </Reference> <Reference Include="System.Core" /> - <Reference Include="Mono.Addins, Version=0.6.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> + <Reference Include="Mono.Addins, Version=0.6.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756"> + <Private>False</Private> + </Reference> <Reference Include="Mono.Cairo" /> </ItemGroup> <ItemGroup> @@ -101,6 +103,10 @@ <Name>ICSharpCode.Decompiler</Name> <Private>False</Private> </ProjectReference> + <ProjectReference Include="..\..\..\contrib\ICSharpCode.NRefactory.CSharp\ICSharpCode.NRefactory.CSharp.csproj"> + <Project>{53DCA265-3C3C-42F9-B647-F72BA678122B}</Project> + <Name>ICSharpCode.NRefactory.CSharp</Name> + </ProjectReference> </ItemGroup> <ItemGroup> <Compile Include="AssemblyInfo.cs" /> diff --git a/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/DomMethodNodeBuilder.cs b/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/DomMethodNodeBuilder.cs index bc5a5a2d85..fb15dbd606 100644 --- a/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/DomMethodNodeBuilder.cs +++ b/main/src/addins/MonoDevelop.AssemblyBrowser/MonoDevelop.AssemblyBrowser/DomMethodNodeBuilder.cs @@ -156,7 +156,8 @@ namespace MonoDevelop.AssemblyBrowser astBuilder.RunTransformations (o => false); var output = new ColoredCSharpFormatter (data.Document); - astBuilder.GenerateCode (output, codePolicy.CreateOptions ()); + ICSharpCode.NRefactory.CSharp.CSharpFormattingOptions options = codePolicy.CreateOptions (); + astBuilder.GenerateCode (output, options); output.SetDocumentData (); return output.ReferencedSegments; } catch (Exception e) { |