-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WPF program crashes with the nightly build sdk #1183
Comments
Thanks for reporting this. This is due to a change made in CoreFX (by us) to move the Unfortunately, this causes breaks in WPF as we have yet to update to the new location. Normally this would cause a failed DARC dependency push, but we have currently disabled our DRTs from running during PR builds because of issues with builds taking longer than an hour to complete due to the Helix infrastructure taking a long time to spin up VMs for test purposes. This change causes all DARC PRs to succeed and be merged. So this break made it to the daily build when it otherwise would not have without the companion fix in WPF. We're working on getting these changes synced up and fixing the daily build. |
Thanks for your reply! I'll wait for the fix. |
I came here to report the same issue, I only noticed it today after upgrading to 3.0.100-preview8-012929 @rladuca Thanks for explaining this, and even on a sunday. P.S. |
So there are a couple of things that are interesting to note.
Looking at 40a9561, WPF was built with The problems seems to be that These newer versions of If |
I'm looking at This is what I see in its
I think we need to modify the This is what I see in master now: <?xml version="1.0" encoding="utf-8"?>
<Dependencies>
<ProductDependencies>
<!--
Don't add CoherentParentDependency for Microsoft.DotNet.Wpf.GitHub. We'd like to have the latest
from dotnet/wpf
-->
<Dependency Name="Microsoft.DotNet.Wpf.GitHub" Version="4.8.0-preview8.19357.3">
<Uri>https://github.com/dotnet/wpf</Uri>
<Sha>0cb1317b122f502f88b976dd91cadecc38136ee4</Sha>
</Dependency>
<Dependency Name="Microsoft.Private.Winforms" Version="4.8.0-preview8.19353.4" CoherentParentDependency="Microsoft.DotNet.Wpf.GitHub">
<Uri>https://github.com/dotnet/winforms</Uri>
<Sha>522215c10ccdc2ae74ab265296ce288f29e892eb</Sha>
</Dependency>
</ProductDependencies>
<ToolsetDependencies>
<Dependency Name="Microsoft.Win32.Registry" Version="4.6.0-preview8.19357.5" CoherentParentDependency="Microsoft.NETCore.App">
<Uri>https://github.com/dotnet/corefx</Uri>
<Sha>3b426f78a3aab1a45f797ac22e70fd203165d810</Sha>
</Dependency>
<Dependency Name="System.Configuration.ConfigurationManager" Version="4.6.0-preview8.19357.5" CoherentParentDependency="Microsoft.NETCore.App">
<Uri>https://github.com/dotnet/corefx</Uri>
<Sha>3b426f78a3aab1a45f797ac22e70fd203165d810</Sha>
</Dependency>
<Dependency Name="System.Diagnostics.EventLog" Version="4.6.0-preview8.19357.5" CoherentParentDependency="Microsoft.NETCore.App">
<Uri>https://github.com/dotnet/corefx</Uri>
<Sha>3b426f78a3aab1a45f797ac22e70fd203165d810</Sha>
</Dependency>
<Dependency Name="System.DirectoryServices" Version="4.6.0-preview8.19357.5" CoherentParentDependency="Microsoft.NETCore.App">
<Uri>https://github.com/dotnet/corefx</Uri>
<Sha>3b426f78a3aab1a45f797ac22e70fd203165d810</Sha>
</Dependency>
<Dependency Name="System.Drawing.Common" Version="4.6.0-preview8.19357.5" CoherentParentDependency="Microsoft.NETCore.App">
<Uri>https://github.com/dotnet/corefx</Uri>
<Sha>3b426f78a3aab1a45f797ac22e70fd203165d810</Sha>
</Dependency>
<Dependency Name="System.IO.Packaging" Version="4.6.0-preview8.19357.5" CoherentParentDependency="Microsoft.NETCore.App">
<Uri>https://github.com/dotnet/corefx</Uri>
<Sha>3b426f78a3aab1a45f797ac22e70fd203165d810</Sha>
</Dependency>
<Dependency Name="System.Reflection.Emit" Version="4.6.0-preview8.19357.5" CoherentParentDependency="Microsoft.NETCore.App">
<Uri>https://github.com/dotnet/corefx</Uri>
<Sha>3b426f78a3aab1a45f797ac22e70fd203165d810</Sha>
</Dependency>
<Dependency Name="System.Reflection.MetadataLoadContext" Version="4.6.0-preview8.19357.5" CoherentParentDependency="Microsoft.NETCore.App">
<Uri>https://github.com/dotnet/corefx</Uri>
<Sha>3b426f78a3aab1a45f797ac22e70fd203165d810</Sha>
</Dependency>
<Dependency Name="System.Security.AccessControl" Version="4.6.0-preview8.19357.5" CoherentParentDependency="Microsoft.NETCore.App">
<Uri>https://github.com/dotnet/corefx</Uri>
<Sha>3b426f78a3aab1a45f797ac22e70fd203165d810</Sha>
</Dependency>
<Dependency Name="System.Security.Cryptography.Xml" Version="4.6.0-preview8.19357.5" CoherentParentDependency="Microsoft.NETCore.App">
<Uri>https://github.com/dotnet/corefx</Uri>
<Sha>3b426f78a3aab1a45f797ac22e70fd203165d810</Sha>
</Dependency>
<Dependency Name="System.Security.Principal.Windows" Version="4.6.0-preview8.19357.5" CoherentParentDependency="Microsoft.NETCore.App">
<Uri>https://github.com/dotnet/corefx</Uri>
<Sha>3b426f78a3aab1a45f797ac22e70fd203165d810</Sha>
</Dependency>
<Dependency Name="System.Windows.Extensions" Version="4.6.0-preview8.19357.5" CoherentParentDependency="Microsoft.NETCore.App">
<Uri>https://github.com/dotnet/corefx</Uri>
<Sha>3b426f78a3aab1a45f797ac22e70fd203165d810</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.19327.39">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>247c0290c554a68dd3e560dd88fb0da26353d9d7</Sha>
<SourceBuildId>6006</SourceBuildId>
</Dependency>
<!--
Don't add CoherentParentDependency for Microsoft.DotNet.Arcade.Wpf.Sdk. We'd like to have the latest build props/targets
from dotnet/wpf. Adding CoherentParentDependency="Microsoft.NETCore.App" will ensure that Microsoft.DotNet.Arcade.Wpf.Sdk
will track the version of Microsoft.DotNet.Arcade.Wpf.Sdk.
-->
<Dependency Name="Microsoft.DotNet.Arcade.Wpf.Sdk" Version="4.8.0-preview8.19357.3">
<SourceBuildId>6037</SourceBuildId>
<Uri>https://github.com/dotnet/wpf</Uri>
<Sha>0cb1317b122f502f88b976dd91cadecc38136ee4</Sha>
</Dependency>
<!--
Don't add CoherentParentDependency for Microsoft.NET.Sdk.WindowsDesktop. We'd like to have the latest
from dotnet/wpf.
-->
<Dependency Name="Microsoft.NET.Sdk.WindowsDesktop" Version="3.0.0-preview8.19357.3">
<Uri>https://github.com/dotnet/wpf</Uri>
<Sha>0cb1317b122f502f88b976dd91cadecc38136ee4</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.CodeAnalysis" Version="1.0.0-beta.19356.1" CoherentParentDependency="Microsoft.NETCore.App">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>a65d0966dc28861394ce78cfdcb9d5dff370957c</Sha>
</Dependency>
<Dependency Name="Microsoft.NETCore.Platforms" Version="3.0.0-preview8.19357.5" CoherentParentDependency="Microsoft.NETCore.App">
<Uri>https://github.com/dotnet/corefx</Uri>
<Sha>3b426f78a3aab1a45f797ac22e70fd203165d810</Sha>
</Dependency>
<Dependency Name="Microsoft.NETCore.App" Version="3.0.0-preview8-27907-09">
<Uri>https://github.com/dotnet/core-setup</Uri>
<Sha>fc924dc319cde4a8c2f8c6cc715772a0eac933a1</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.ApiCompat" Version="1.0.0-beta.19327.39">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>247c0290c554a68dd3e560dd88fb0da26353d9d7</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.GenAPI" Version="1.0.0-beta.19327.39">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>247c0290c554a68dd3e560dd88fb0da26353d9d7</Sha>
</Dependency>
</ToolsetDependencies>
</Dependencies> |
I have an internal PR out to fix the mismatch in CoreFx package versions that are being consumed by the build in dotnet/wpf and dotnet-wpf-int. https://dev.azure.com/dnceng/internal/_git/dotnet-wpf-int/pullrequest/2009 |
This change is for preview8, not preview7. All you need to do is make sure you that you're picking up preview8 corefx bits in your preview8 branches. This problem will fix itself on recompile since you should get the transitive reference when picking up the new package. You can clean up the package-reference to use only System.Windows.Extensions at your leisure. This type of hiccup is always going to happen so long as core-setup is responsible for packaging WPF, since it permits core-setup to get "ahead" of WPF WRT corefx dependencies. Typically it "fixes" itself by letting the bits flow into WPF and back into core-setup. |
This is now fixed in the latest build available at https://github.com/dotnet/core-sdk. The current version which I just I checked is:
|
I can confirm it working with 3.0.100-preview8-012985, hanks for fixing this!! |
It works, thanks! |
Problem description:
The program just crashes.
Actual behavior:
Expected behavior:
It shouldn't crash.
Minimal repro:
The text was updated successfully, but these errors were encountered: