[wix-devs] Building Wix 4

Bob Arnson bob at firegiant.com
Mon Jan 4 09:50:18 PST 2021


Please keep the thread on wix-devs so everyone can participate.

It looks like package restore didn’t work. You might try a low-dependency repo like Data and run appveyor.cmd from the root.

From: Ron Martin <cpuwzd at comcast.net>
Sent: Friday, 1 January, 2021 23:31
To: Bob Arnson <bob at firegiant.com>
Subject: Re: [wix-devs] Building Wix 4


Bob,

I open the solution in Debug mode and build it. I get the following warnings: (sorry about the lack of formatting.)

Severity    Code    Description    Project    File    Line    Suppression State
Warning    NETSDK1138    The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.    TablesAndTuples    C:\Program Files\dotnet\sdk\5.0.200-preview.20601.7\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets    28
Warning    NETSDK1138    The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.    MessagesToMessages    C:\Program Files\dotnet\sdk\5.0.200-preview.20601.7\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets    28

When I run all tests, all of the WixToolsetTest.Sdk tests fail with errors like this:

  Message:
    MSBuild failed unexpectedly. Output:
    Microsoft (R) Build Engine version 16.8.0+126527ff1 for .NET
    Copyright (C) Microsoft Corporation. All rights reserved.

    Build started 1/1/2021 11:01:22 PM.
         1>Project "C:\Users\cpuwz\AppData\Local\Temp\gtshpqlg.iab\HeatFilePackage.wixproj" on node 1 (default targets).
         1>C:\Users\cpuwz\AppData\Local\Temp\gtshpqlg.iab\HeatFilePackage.wixproj(3,3): error MSB4019: The imported project "D:\Repos\Wix\Tools\build\Debug\publish\WixToolset.Sdk\build\WixToolset.Sdk.props" was not found. Confirm that the expression in the Import declaration "D:/Repos/Wix/Tools/build/Debug/net461/WixToolsetTest.Sdk.DLL\..\..\publish\WixToolset.Sdk\build\WixToolset.Sdk.props" is correct, and that the file exists on disk.
         1>Done Building Project "C:\Users\cpuwz\AppData\Local\Temp\gtshpqlg.iab\HeatFilePackage.wixproj" (default targets) -- FAILED.

    Build FAILED.

           "C:\Users\cpuwz\AppData\Local\Temp\gtshpqlg.iab\HeatFilePackage.wixproj" (default target) (1) ->
             C:\Users\cpuwz\AppData\Local\Temp\gtshpqlg.iab\HeatFilePackage.wixproj(3,3): error MSB4019: The imported project "D:\Repos\Wix\Tools\build\Debug\publish\WixToolset.Sdk\build\WixToolset.Sdk.props" was not found. Confirm that the expression in the Import declaration "D:/Repos/Wix/Tools/build/Debug/net461/WixToolsetTest.Sdk.DLL\..\..\publish\WixToolset.Sdk\build\WixToolset.Sdk.props" is correct, and that the file exists on disk.

        0 Warning(s)
        1 Error(s)

    Time Elapsed 00:00:00.10
    Expected: True
    Actual:   False
  Stack Trace:
    MsbuildRunnerResult.AssertSuccess() line 16
    MsbuildHeatFixture.CanBuildHeatFilePackage(BuildSystem buildSystem) line 34

If I start from scratch and use Release mode, I get the following 3 warnings and 88 error messages on the build:

Severity    Code    Description    Project    File    Line    Suppression State
Error    CS0234    The type or namespace name 'Xml' does not exist in the namespace 'System' (are you missing an assembly reference?)    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    7    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    11    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    13    Active
Error    CS0246    The type or namespace name 'XNamespace' could not be found (are you missing a using directive or an assembly reference?)    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    13    Active
Error    CS0012    The type 'XNamespace' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    13    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    16    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    16    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    16    Active
Error    CS0246    The type or namespace name 'XElement' could not be found (are you missing a using directive or an assembly reference?)    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    16    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    16    Active
Error    CS0246    The type or namespace name 'XElement' could not be found (are you missing a using directive or an assembly reference?)    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    16    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    16    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    57    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    57    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    57    Active
Error    CS0246    The type or namespace name 'XElement' could not be found (are you missing a using directive or an assembly reference?)    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    57    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    100    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    100    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    100    Active
Error    CS0246    The type or namespace name 'XElement' could not be found (are you missing a using directive or an assembly reference?)    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    100    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    106    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    106    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    106    Active
Error    CS0246    The type or namespace name 'XElement' could not be found (are you missing a using directive or an assembly reference?)    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    106    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    167    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    167    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    167    Active
Error    CS0246    The type or namespace name 'XElement' could not be found (are you missing a using directive or an assembly reference?)    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleCompilerExtension.cs    167    Active
Error    CS0012    The type 'Type' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleExtensionFactory.cs    9    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExamplePreprocessorExtensionAndCommandLine.cs    11    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExamplePreprocessorExtensionAndCommandLine.cs    11    Active
Error    CS0012    The type 'IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExamplePreprocessorExtensionAndCommandLine.cs    11    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExamplePreprocessorExtensionAndCommandLine.cs    15    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExamplePreprocessorExtensionAndCommandLine.cs    15    Active
Error    CS0012    The type 'ValueType' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExamplePreprocessorExtensionAndCommandLine.cs    15    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExamplePreprocessorExtensionAndCommandLine.cs    22    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExamplePreprocessorExtensionAndCommandLine.cs    26    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExamplePreprocessorExtensionAndCommandLine.cs    37    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExamplePreprocessorExtensionAndCommandLine.cs    37    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleRow.cs    8    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleRow.cs    10    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleRow.cs    10    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleRow.cs    15    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleRow.cs    15    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleSearchSymbol.cs    12    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleSearchSymbol.cs    18    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleSearchSymbol.cs    18    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleSearchSymbol.cs    22    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleSearchSymbol.cs    22    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleSymbol.cs    12    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleSymbol.cs    18    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleSymbol.cs    18    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleSymbol.cs    22    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleSymbol.cs    22    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleWindowsInstallerBackendExtension.cs    10    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleWindowsInstallerBackendExtension.cs    12    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleWindowsInstallerBackendExtension.cs    12    Active
Error    CS0012    The type 'IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleWindowsInstallerBackendExtension.cs    12    Active
Error    CS1715    'ExampleWindowsInstallerBackendExtension.TableDefinitions': type must be 'IEnumerable<TableDefinition>' to match overridden member 'BaseWindowsInstallerBackendBinderExtension.TableDefinitions'    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleWindowsInstallerBackendExtension.cs    12    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleWindowsInstallerBackendExtension.cs    14    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleWindowsInstallerBackendExtension.cs    14    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleWindowsInstallerBackendExtension.cs    14    Active
Error    CS0012    The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.    Example.Extension    D:\Repos\Wix\Core\src\test\Example.Extension\ExampleWindowsInstallerBackendExtension.cs    14    Active
Error    CS0006    Metadata file 'D:\Repos\Wix\Core\build\Release\net461\WixToolset.Core.Burn.dll' could not be found    WixToolset.BuildTasks (netcoreapp2.1)    D:\Repos\Wix\Tools\src\WixToolset.BuildTasks\CSC    1    Active
Error    CS0006    Metadata file 'D:\Repos\Wix\Core\build\Release\net461\WixToolset.Core.dll' could not be found    WixToolset.BuildTasks (netcoreapp2.1)    D:\Repos\Wix\Tools\src\WixToolset.BuildTasks\CSC    1    Active
Error    CS0006    Metadata file 'D:\Repos\Wix\Core\build\Release\net461\WixToolset.Core.WindowsInstaller.dll' could not be found    WixToolset.BuildTasks (netcoreapp2.1)    D:\Repos\Wix\Tools\src\WixToolset.BuildTasks\CSC    1    Active
Error    CS0006    Metadata file 'D:\Repos\Wix\Tools\build\Release\net461\win-x86\WixToolset.BuildTasks.dll' could not be found    WixToolsetTest.BuildTasks    D:\Repos\Wix\Tools\src\test\WixToolsetTest.BuildTasks\CSC    1    Active
Error    CS0006    Metadata file 'D:\Repos\Wix\Core\build\Release\net461\WixToolset.Core.Burn.dll' could not be found    WixToolsetTest.BuildTasks    D:\Repos\Wix\Tools\src\test\WixToolsetTest.BuildTasks\CSC    1    Active
Error    CS0006    Metadata file 'D:\Repos\Wix\Core\build\Release\net461\WixToolset.Core.dll' could not be found    WixToolsetTest.BuildTasks    D:\Repos\Wix\Tools\src\test\WixToolsetTest.BuildTasks\CSC    1    Active
Error    CS0006    Metadata file 'D:\Repos\Wix\Core\build\Release\net461\WixToolset.Core.TestPackage.dll' could not be found    WixToolsetTest.BuildTasks    D:\Repos\Wix\Tools\src\test\WixToolsetTest.BuildTasks\CSC    1    Active
Error    CS0006    Metadata file 'D:\Repos\Wix\Core\build\Release\net461\WixToolset.Core.WindowsInstaller.dll' could not be found    WixToolsetTest.BuildTasks    D:\Repos\Wix\Tools\src\test\WixToolsetTest.BuildTasks\CSC    1    Active
Error    CS0006    Metadata file 'D:\Repos\Wix\Core\build\Release\netcoreapp2.1\Example.Extension.dll' could not be found    WixToolsetTest.CoreIntegration    D:\Repos\Wix\Core\src\test\WixToolsetTest.CoreIntegration\CSC    1    Active
Error    CS0006    Metadata file 'D:\Repos\Wix\Core\build\Release\net461\WixToolset.Core.TestPackage.dll' could not be found    WixToolsetTest.Sdk    D:\Repos\Wix\Tools\src\test\WixToolsetTest.Sdk\CSC    1    Active
Error    CS0006    Metadata file 'D:\Repos\Wix\Core\build\Release\net461\WixToolset.Core.dll' could not be found    heat (netcoreapp2.1)    D:\Repos\Wix\Tools\src\heat\CSC    1    Active
Error    CS0006    Metadata file 'D:\Repos\Wix\Core\build\Release\net461\WixToolset.Core.Burn.dll' could not be found    wix (netcoreapp2.1)    D:\Repos\Wix\Tools\src\wix\CSC    1    Active
Error    CS0006    Metadata file 'D:\Repos\Wix\Core\build\Release\net461\WixToolset.Core.dll' could not be found    wix (netcoreapp2.1)    D:\Repos\Wix\Tools\src\wix\CSC    1    Active
Error    CS0006    Metadata file 'D:\Repos\Wix\Core\build\Release\net461\WixToolset.Core.ExtensionCache.dll' could not be found    wix (netcoreapp2.1)    D:\Repos\Wix\Tools\src\wix\CSC    1    Active
Error    CS0006    Metadata file 'D:\Repos\Wix\Core\build\Release\net461\WixToolset.Core.WindowsInstaller.dll' could not be found    wix (netcoreapp2.1)    D:\Repos\Wix\Tools\src\wix\CSC    1    Active
Error    NETSDK1005    Assets file 'D:\Repos\Wix\Core\build\obj\WixToolset.Core\project.assets.json' doesn't have a target for 'net461'. Ensure that restore has run and that you have included 'net461' in the TargetFrameworks for your project.    WixToolset.Core    C:\Program Files\dotnet\sdk\5.0.200-preview.20601.7\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets    241
Error    NETSDK1005    Assets file 'D:\Repos\Wix\Core\build\obj\WixToolset.Core\project.assets.json' doesn't have a target for 'net472'. Ensure that restore has run and that you have included 'net472' in the TargetFrameworks for your project.    WixToolset.Core    C:\Program Files\dotnet\sdk\5.0.200-preview.20601.7\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets    241
Warning    NETSDK1138    The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.    TablesAndTuples    C:\Program Files\dotnet\sdk\5.0.200-preview.20601.7\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets    28
Warning    NETSDK1138    The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.    MessagesToMessages    C:\Program Files\dotnet\sdk\5.0.200-preview.20601.7\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets    28
Error    NETSDK1005    Assets file 'D:\Repos\Wix\Core\build\obj\WixToolset.Core.ExtensionCache\project.assets.json' doesn't have a target for 'net461'. Ensure that restore has run and that you have included 'net461' in the TargetFrameworks for your project.    WixToolset.Core.ExtensionCache    C:\Program Files\dotnet\sdk\5.0.200-preview.20601.7\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets    241
Error    NETSDK1005    Assets file 'D:\Repos\Wix\Core\build\obj\WixToolset.Core.ExtensionCache\project.assets.json' doesn't have a target for 'net472'. Ensure that restore has run and that you have included 'net472' in the TargetFrameworks for your project.    WixToolset.Core.ExtensionCache    C:\Program Files\dotnet\sdk\5.0.200-preview.20601.7\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets    241
Error    NETSDK1005    Assets file 'D:\Repos\Wix\Core\build\obj\WixToolset.Core.WindowsInstaller\project.assets.json' doesn't have a target for 'net472'. Ensure that restore has run and that you have included 'net472' in the TargetFrameworks for your project.    WixToolset.Core.WindowsInstaller    C:\Program Files\dotnet\sdk\5.0.200-preview.20601.7\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets    241
Error    NETSDK1005    Assets file 'D:\Repos\Wix\Core\build\obj\WixToolset.Core.WindowsInstaller\project.assets.json' doesn't have a target for 'net461'. Ensure that restore has run and that you have included 'net461' in the TargetFrameworks for your project.    WixToolset.Core.WindowsInstaller    C:\Program Files\dotnet\sdk\5.0.200-preview.20601.7\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets    241
Error    NETSDK1005    Assets file 'D:\Repos\Wix\Core\build\obj\WixToolset.Core.Burn\project.assets.json' doesn't have a target for 'net461'. Ensure that restore has run and that you have included 'net461' in the TargetFrameworks for your project.    WixToolset.Core.Burn    C:\Program Files\dotnet\sdk\5.0.200-preview.20601.7\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets    241
Error    NETSDK1005    Assets file 'D:\Repos\Wix\Core\build\obj\WixToolset.Core.Burn\project.assets.json' doesn't have a target for 'net472'. Ensure that restore has run and that you have included 'net472' in the TargetFrameworks for your project.    WixToolset.Core.Burn    C:\Program Files\dotnet\sdk\5.0.200-preview.20601.7\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets    241
Error    NETSDK1005    Assets file 'D:\Repos\Wix\Core\build\obj\WixToolset.Core.TestPackage\project.assets.json' doesn't have a target for 'net472'. Ensure that restore has run and that you have included 'net472' in the TargetFrameworks for your project.    WixToolset.Core.TestPackage    C:\Program Files\dotnet\sdk\5.0.200-preview.20601.7\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets    241
Error    NETSDK1005    Assets file 'D:\Repos\Wix\Core\build\obj\WixToolset.Core.TestPackage\project.assets.json' doesn't have a target for 'net461'. Ensure that restore has run and that you have included 'net461' in the TargetFrameworks for your project.    WixToolset.Core.TestPackage    C:\Program Files\dotnet\sdk\5.0.200-preview.20601.7\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets    241
Warning    MSB3277    Found conflicts between different versions of "System.Runtime" that could not be resolved.
There was a conflict between "System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" and "System.Runtime, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
    "System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" was chosen because it was primary and "System.Runtime, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" was not.
    References which depend on "System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" [C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.runtime\4.3.0\ref\netstandard1.5\System.Runtime.dll].
        C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.runtime\4.3.0\ref\netstandard1.5\System.Runtime.dll
          Project file item includes which caused reference "C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.runtime\4.3.0\ref\netstandard1.5\System.Runtime.dll".
            C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.runtime\4.3.0\ref\netstandard1.5\System.Runtime.dll
    References which depend on "System.Runtime, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" [].
        D:\Repos\Wix\Core\build\Release\netcoreapp2.1\CompileCoreTestExtensionWixlib.dll
          Project file item includes which caused reference "D:\Repos\Wix\Core\build\Release\netcoreapp2.1\CompileCoreTestExtensionWixlib.dll".
            D:\Repos\Wix\Core\build\Release\netcoreapp2.1\CompileCoreTestExtensionWixlib.dll    Example.Extension    C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets    2157

Have I produced anything I can install? Can I build my own Wix project with .net 5.0 and execute the local wix code in debug mode? Will it produce a file that I can install (.msi or other)?

I need to understand your assumptions if I am to tackle any or all of these issues.

Thanks.

Ron Martin

cpuwzd


On 1/1/2021 4:27 PM, Bob Arnson wrote:

Open .sln. Build. If that doesn't work for you, please provide details about failures.



-----Original Message-----

From: wix-devs <wix-devs-bounces at lists.wixtoolset.org><mailto:wix-devs-bounces at lists.wixtoolset.org> On Behalf Of Ron Martin via wix-devs

Sent: Friday, 1 January, 2021 15:33

To: wix-devs <wix-devs at lists.wixtoolset.org><mailto:wix-devs at lists.wixtoolset.org>

Cc: Ron Martin <cpuwzd at comcast.net><mailto:cpuwzd at comcast.net>

Subject: [wix-devs] Building Wix 4



    I am trying to set up my computer so that I can help find bugs in

    Wix 4. Since there is no installation package published yet, I

    thought I could clone a few repos and build an installation package

    or otherwise establish a debugging environment.



    With a known bug in VS 2019, having referenced a preview version of

    the .NET 5.0 SDK, I can't publish anything, so I appear to be dead

    in the water.



    I'm trying to figure out how you deal with building debug versions

    of local copies of the Wix repos. Two of the three platforms are

    disabled in Debug mode, yet running tests from VS 2019 in debug mode

    references these other two platforms. I've also found dependencies

    on Debug versions from code in Release versions. Do you publish

    Debug versions the same way you publish Release versions?



    I understand that you now distribute keys to allow developers to

    sign assemblies.



    What does a simple edit/build/test cycle look like?



    How do Debug builds and Release builds of projects intermesh?



    Other than running formal tests, how does the debugger control of

    the Wix process when it is started from a client? Do you have to use

    compiled-in breakpoinits?



    Would it help if I read all the issues? Have these procedural

    changes been hashed out there?



    I'm trying hard to help, but you're not making it very easy.



____________________________________________________________________

WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-devs mailing list