Browse Source

Fix #348: saving whole project does not write .baml files correctly.

pull/384/head
Daniel Grunwald 13 years ago
parent
commit
f10116f4fc
  1. 4
      ILSpy/Languages/CSharpLanguage.cs

4
ILSpy/Languages/CSharpLanguage.cs

@ -482,8 +482,8 @@ namespace ICSharpCode.ILSpy @@ -482,8 +482,8 @@ namespace ICSharpCode.ILSpy
Stream entryStream = (Stream)pair.Value;
entryStream.Position = 0;
if (fileName.EndsWith(".baml", StringComparison.OrdinalIgnoreCase)) {
MemoryStream ms = new MemoryStream();
entryStream.CopyTo(ms);
// MemoryStream ms = new MemoryStream();
// entryStream.CopyTo(ms);
// TODO implement extension point
// var decompiler = Baml.BamlResourceEntryNode.CreateBamlDecompilerInAppDomain(ref bamlDecompilerAppDomain, assembly.FileName);
// string xaml = null;

Loading…
Cancel
Save