[wix-devs] Building Wix 4

Ron Martin cpuwzd at comcast.net
Mon Jan 4 17:11:07 PST 2021


>     C:\Program

    Files\dotnet\sdk\5.0.200-preview.20601.7\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets

    I don't understand why the output you provided is using a preview SDK, or
    why you've given WixBuildTools and Core output. Are you building the super
    solution created from the enlist.cmd in Home? We have global.json files in
    most repos to prevent using preview SDKs. It would be helpful if you
    focused on one repo to start with.

VS2019 used to let you select SDK versions and install them externally. 
Now, the VS Installer picks the version it wants and installs it for 
you. It marks that version that is recognized and reported by Add and 
Remove Programs so that you can't remove it manually. IIRC, overriding 
this restriction basically requires that you reinstall VS2019. 
Pre-release version numbers change the way automatic rollback works, so 
when a failure occurs, the SDK version is not automatically rolled back. 
I'm not sure how that part works, especially in regard to what 
constitutes a failure.

Somewhere along the line, I received a notice about a pre-release 
version of VS2019 Preview and installed it. Being a pre-release version 
it included a dependency on a pre-release version of the .NET 5.0 SDK. 
Now, even though I've uninstalled the bogus VS2019 and re-installed the 
latest released VS2019 Preview, it is unable to rollback the SDK version.

I suppose I could uninstall VS2019 Preview and see whether I can 
forcefully uninstall the SDK before trying to re-install VS2019 Preview. 
I don't know if the chances of success are high enough to justify the 
effort.

On 1/4/2021 1:26 PM, Sean Hall via wix-devs wrote:

>>   Have I produced anything I can install? Will it produce a file that I
> can install (.msi or other)?
>
> No. The closest thing to something being installed is you might be able to
> take the dotnet-wix nuget package created from the Tools appveyor.cmd and
> install it as a dotnet tool. You might be interested in this old thread -
> http://lists.wixtoolset.org/pipermail/wix-devs-wixtoolset.org/2019-January/001203.html
> .
>
>> Can I build my own Wix project with .net 5.0 and execute the local wix
> code in debug mode?
>
> This is very difficult to do with the micro repo model. If we broke down
> the repos correctly, there should be no need for this unless you're
> implementing a new feature that spans multiple repos. Most of the
> interesting code should be in Core, and there is test infrastructure in
> place to be able to build projects and set breakpoints inside of Core (or
> any of its dependencies, though those will be prebuilt in Release mode from
> the nuget packages).
>
>> Assets file
> 'D:\Repos\Wix\Core\build\obj\WixToolset.Core\project.assets.json' doesn't
> have a target for 'net461'.
>
> We decided to make a tradeoff between supporting allowing building on Linux
> vs user experience in switching between Debug and Release inside Visual
> Studio (
> http://lists.wixtoolset.org/pipermail/wix-devs-wixtoolset.org/2020-July/001812.html).
> If you would like to do that, you're going to need to change the
> configuration, close the solution, then reopen the solution so VS gets the
> updated target frameworks and does the restore properly.
>
>> C:\Program
> Files\dotnet\sdk\5.0.200-preview.20601.7\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets
>
> I don't understand why the output you provided is using a preview SDK, or
> why you've given WixBuildTools and Core output. Are you building the super
> solution created from the enlist.cmd in Home? We have global.json files in
> most repos to prevent using preview SDKs. It would be helpful if you
> focused on one repo to start with.
>
> On Mon, Jan 4, 2021 at 11:50 AM Bob Arnson via wix-devs <
> wix-devs at lists.wixtoolset.org> wrote:
>
>> 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/
>> ____________________________________________________________________
>> WiX Toolset Developer Mailing List provided by FireGiant
>> http://www.firegiant.com/
>>
> ____________________________________________________________________
> WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-devs mailing list