Wpf: Incremental Build in Visual Studio 2019 and WPF with .NET Core 3.0 broken

Created on 1 Oct 2019  路  1Comment  路  Source: dotnet/wpf

  • Create a library with the following project file:

<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">

  <PropertyGroup>
    <TargetFramework>netcoreapp3.0</TargetFramework>
    <UseWPF>true</UseWPF>
  </PropertyGroup>

</Project>


  • To keep it simple, leave the library empty

-> The delta build in Visual Studio is broken. Normally Visual Studio would not build the project on the second build, if no changes have been performed. But WPF libraries are always build again, which also causes dependent projects to be rebuild. WPF apps don't have that issue.

Unfortunately the diagnostic build output does not tell any reason why the project is build again.

issue-type-bug

Most helpful comment

460 looks related but the scenario differs in the details - could be the same underlying root cause though. Unfortunately #460 has been postponed to 'Future' (i.e. not planned for 3.1 or 5.0) which sounds weird considering its a regression in the build experience? Or maybe in the discussion of #460 it didn't become clear that it was a regression?

>All comments

460 looks related but the scenario differs in the details - could be the same underlying root cause though. Unfortunately #460 has been postponed to 'Future' (i.e. not planned for 3.1 or 5.0) which sounds weird considering its a regression in the build experience? Or maybe in the discussion of #460 it didn't become clear that it was a regression?

Was this page helpful?
0 / 5 - 0 ratings