@@ -712,22 +712,6 @@ private string GenerateGlobalResources(IEnumerable<XamlFileDefinition> files, Xa
712
712
713
713
writer . AppendLineIndented ( "// <autogenerated />" ) ;
714
714
AnalyzerSuppressionsGenerator . GenerateCSharpPragmaSupressions ( writer , _analyzerSuppressions ) ;
715
- writer . AppendLineIndented ( "using System;" ) ;
716
- writer . AppendLineIndented ( "using System.Linq;" ) ;
717
- writer . AppendLineIndented ( "using System.Collections.Generic;" ) ;
718
- writer . AppendLineIndented ( "using Uno.Extensions;" ) ;
719
- writer . AppendLineIndented ( "using Uno;" ) ;
720
- writer . AppendLineIndented ( "using System.Diagnostics;" ) ;
721
-
722
- //TODO Determine the list of namespaces to use
723
- writer . AppendLineIndented ( $ "using { XamlConstants . BaseXamlNamespace } ;") ;
724
- writer . AppendLineIndented ( $ "using { XamlConstants . Namespaces . Controls } ;") ;
725
- writer . AppendLineIndented ( $ "using { XamlConstants . Namespaces . Data } ;") ;
726
- writer . AppendLineIndented ( $ "using { XamlConstants . Namespaces . Documents } ;") ;
727
- writer . AppendLineIndented ( $ "using { XamlConstants . Namespaces . Media } ;") ;
728
- writer . AppendLineIndented ( $ "using { XamlConstants . Namespaces . MediaAnimation } ;") ;
729
- writer . AppendLineIndented ( $ "using { _defaultNamespace } ;") ;
730
- writer . AppendLineIndented ( "" ) ;
731
715
732
716
// If a failure happens here, this means that the _isWasm was not properly set as the DefineConstants msbuild property
733
717
// was not populated. This can happen when the property is set through a target with the "CreateProperty" task, and the
@@ -888,7 +872,7 @@ void RegisterForXamlFile(XamlFileDefinition file, string url)
888
872
{
889
873
// Declare master dictionary
890
874
writer . AppendLine ( ) ;
891
- writer . AppendLineIndented ( "internal static ResourceDictionary MasterDictionary {get; } = new ResourceDictionary();" ) ;
875
+ writer . AppendLineIndented ( "internal static global::Windows.UI.Xaml. ResourceDictionary MasterDictionary { get; } = new global::Windows.UI.Xaml. ResourceDictionary();" ) ;
892
876
}
893
877
894
878
// Generate all the partial methods, even if they don't exist. That avoids
0 commit comments