dotnet / dotnet/wpf

Support conversion of BAML stream to XAML string. Proposed API would look something like public string ConvertBamlToXaml(Stream baml); Conversion should not attempt to load assemblies or instantiate types mentioned in BAML.

Open
#445 1 comment 5 reactions 0 assignees View on GitHub
Enhancement Requested
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

Based on VS user feedback (https://developercommunity.visualstudio.com/content/problem/310226/while-editing-the-template-value-not-fetched-from.html) there is high demand for better Edit Copy of Template functionality in VS XAML designer for BAML loaded content. Main issue being the fact that VS cannot determine resources and resource references used during BAML loading. As a result VS ends up with “resource-less” XAML which is far from original XAML.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.