Fixed bug where DataFormatReference was not being created correctly

This commit is contained in:
Michael Becker 2015-05-04 12:46:26 -04:00
parent 0108540ba5
commit 6769504274

View File

@ -18,7 +18,7 @@ namespace UniversalEditor.DataFormats.Project.Microsoft.VisualStudio
{
if (_dfr == null)
{
_dfr = base.MakeReferenceInternal();
_dfr = new DataFormatReference(GetType());
_dfr.Capabilities.Add(typeof(ProjectObjectModel), DataFormatCapabilities.All);
}
return _dfr;