Skip to content

UWP compile from source - WS2019 and Windows 10 1903 #8

Description

@msavazzi

If I try to compile the UWP solution from the downloaded ZIP file setting as target version 1903 on VS2019 it does not compile and reports several errors on JSON serializer.
I added the JSON variable to exclude from compilation but then I get 82 errors:

Severity Code Description Project File Line Suppression State Error CS1061 'Application' does not contain a definition for 'Windows' and no accessible extension method 'Windows' accepting a first argument of type 'Application' could be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1521 Active Error CS1061 'Application' does not contain a definition for 'Windows' and no accessible extension method 'Windows' accepting a first argument of type 'Application' could be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1524 Active Error CS1061 'Application' does not contain a definition for 'Windows' and no accessible extension method 'Windows' accepting a first argument of type 'Application' could be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1526 Active Error CS0122 'FrameworkElement.FrameworkElement()' is inaccessible due to its protection level Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 639 Active Error CS1061 'Tests.DerivedWindow' does not contain a definition for 'Close' and no accessible extension method 'Close' accepting a first argument of type 'Tests.DerivedWindow' could be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 827 Active Error CS0117 'Tests.DerivedWindow' does not contain a definition for 'Title' Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 823 Active Error CS1061 'Tests.DerivedWindow' does not contain a definition for 'Title' and no accessible extension method 'Title' accepting a first argument of type 'Tests.DerivedWindow' could be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 825 Active Error CS0509 'Tests.DerivedWindow': cannot derive from sealed type 'MainPage' Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 2815 Active Error CS1729 'UIElement' does not contain a constructor that takes 0 arguments Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 639 Active Error CS1729 'Window' does not contain a constructor that takes 0 arguments Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1344 Active Error CS0117 'Window' does not contain a definition for 'Cursor' Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1344 Active Error CS1061 'Window' does not contain a definition for 'Cursor' and no accessible extension method 'Cursor' accepting a first argument of type 'Window' could be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1296 Active Error CS1061 'Window' does not contain a definition for 'Cursor' and no accessible extension method 'Cursor' accepting a first argument of type 'Window' could be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1299 Active Error CS0117 'Window' does not contain a definition for 'FontFamily' Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1344 Active Error CS1061 'Window' does not contain a definition for 'FontFamily' and no accessible extension method 'FontFamily' accepting a first argument of type 'Window' could be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1230 Active Error CS1061 'Window' does not contain a definition for 'FontFamily' and no accessible extension method 'FontFamily' accepting a first argument of type 'Window' could be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1264 Active Error CS1061 'Window' does not contain a definition for 'FontFamily' and no accessible extension method 'FontFamily' accepting a first argument of type 'Window' could be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1344 Active Error CS0117 'Window' does not contain a definition for 'FontSize' Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1344 Active Error CS0117 'Window' does not contain a definition for 'Icon' Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1344 Active Error CS1061 'Window' does not contain a definition for 'Icon' and no accessible extension method 'Icon' accepting a first argument of type 'Window' could be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1250 Active Error CS1061 'Window' does not contain a definition for 'Icon' and no accessible extension method 'Icon' accepting a first argument of type 'Window' could be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1252 Active Error CS1061 'Window' does not contain a definition for 'Icon' and no accessible extension method 'Icon' accepting a first argument of type 'Window' could be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1285 Active Error CS1061 'Window' does not contain a definition for 'Icon' and no accessible extension method 'Icon' accepting a first argument of type 'Window' could be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1344 Active Error CS1061 'Window' does not contain a definition for 'Show' and no accessible extension method 'Show' accepting a first argument of type 'Window' could be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1377 Active Error CS1061 'Window' does not contain a definition for 'ShowDialog' and no accessible extension method 'ShowDialog' accepting a first argument of type 'Window' could be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1380 Active Error CS0117 'Window' does not contain a definition for 'Title' Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1344 Active Error CS1061 'Window' does not contain a definition for 'Title' and no accessible extension method 'Title' accepting a first argument of type 'Window' could be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 825 Active Error CS1061 'Window' does not contain a definition for 'Title' and no accessible extension method 'Title' accepting a first argument of type 'Window' could be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1335 Active Error CS1061 'Window' does not contain a definition for 'Title' and no accessible extension method 'Title' accepting a first argument of type 'Window' could be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1373 Active Error CS1061 'Window' does not contain a definition for 'WindowState' and no accessible extension method 'WindowState' accepting a first argument of type 'Window' could be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1376 Active Error CS1503 Argument 1: cannot convert from 'Test_UniversalSerializer.Tests.DerivedWindow' to 'Windows.UI.Xaml.Window' Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 824 Active Warning CS0184 The given expression is never of the provided ('Tests.DerivedWindow') type Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 825 Active Error CS0103 The name 'Brushes' does not exist in the current context Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1359 Active Error CS0103 The name 'Cursors' does not exist in the current context Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1344 Active Error CS0103 The name 'Orientation' does not exist in the current context Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1349 Active Error CS0103 The name 'WindowState' does not exist in the current context Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1376 Active Error CS0246 The type or namespace name 'Button' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1363 Active Error CS0246 The type or namespace name 'Button' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1363 Active Error CS0246 The type or namespace name 'Color' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1350 Active Error CS0234 The type or namespace name 'Controls' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 638 Active Error CS0246 The type or namespace name 'Cursor' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1300 Active Error CS0246 The type or namespace name 'FontFamily' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1230 Active Error CS0246 The type or namespace name 'FontFamily' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1234 Active Error CS0246 The type or namespace name 'FontFamily' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1268 Active Error CS0234 The type or namespace name 'Media' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1252 Active Error CS0234 The type or namespace name 'Media' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1253 Active Error CS0234 The type or namespace name 'Size' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 705 Active Error CS0234 The type or namespace name 'Size' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 706 Active Error CS0246 The type or namespace name 'SolidColorBrush' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1350 Active Error CS0246 The type or namespace name 'StackPanel' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1216 Active Error CS0246 The type or namespace name 'StackPanel' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1216 Active Error CS0246 The type or namespace name 'StackPanel' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1218 Active Error CS0246 The type or namespace name 'StackPanel' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1219 Active Error CS0246 The type or namespace name 'StackPanel' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1348 Active Error CS0246 The type or namespace name 'StackPanel' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1386 Active Error CS0246 The type or namespace name 'TextBlock' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1352 Active Error CS0246 The type or namespace name 'TextBlock' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1386 Active Error CS0246 The type or namespace name 'TextBox' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 640 Active Error CS0246 The type or namespace name 'TextBox' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 642 Active Error CS0246 The type or namespace name 'TextBox' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 849 Active Error CS0246 The type or namespace name 'TextBox' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 849 Active Error CS0246 The type or namespace name 'TextBox' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 850 Active Error CS0246 The type or namespace name 'TextBox' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 852 Active Error CS0246 The type or namespace name 'TextBox' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1115 Active Error CS0246 The type or namespace name 'TextBox' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1115 Active Error CS0246 The type or namespace name 'TextBox' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1116 Active Error CS0246 The type or namespace name 'TextBox' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1117 Active Error CS0246 The type or namespace name 'TextBox' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1125 Active Error CS0246 The type or namespace name 'TextBox' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1126 Active Error CS0246 The type or namespace name 'TextBox' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1128 Active Error CS0246 The type or namespace name 'TextBox' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1184 Active Error CS0246 The type or namespace name 'TextBox' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1185 Active Error CS0246 The type or namespace name 'TextBox' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1193 Active Error CS0246 The type or namespace name 'TextBox' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1194 Active Error CS0246 The type or namespace name 'TextBox' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1217 Active Error CS0246 The type or namespace name 'TextDecoration' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1314 Active Error CS0246 The type or namespace name 'TextDecoration' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1316 Active Error CS0246 The type or namespace name 'TextDecorationCollection' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1313 Active Error CS0246 The type or namespace name 'TextDecorationCollection' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1315 Active Error CS0246 The type or namespace name 'UIElementCollection' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 637 Active Error CS0246 The type or namespace name 'UIElementCollection' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 641 Active Error CS0246 The type or namespace name 'UniversalSerializerWPF' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1522 Active Error CS0246 The type or namespace name 'UniversalSerializerWPF' could not be found (are you missing a using directive or an assembly reference?) Tester C:\Users\massi\Documents\Source\UniversalSerializer_3.18.3.14\Source\Common tests\Tests.cs 1522 Active

Can you please help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions