-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
- .NET Core Version: Latest daily build as of today: 3.0.100-preview4-010277
- Have you experienced this same bug with .NET Framework?: No
Problem description:
XML files are included in deps json which prevent the apphost from starting the WPF/WinForms app
I found the following XML files in the nuget dir, and they're all added to the deps.json file:
System.Design.xml
System.Drawing.Design.xml
System.Drawing.xml
System.Windows.Forms.Design.Editors.xml
System.Windows.Forms.Design.xml
System.Windows.Forms.xml
Actual behavior:
A message box is shown, eg.:
---------------------------
wpftest.exe
---------------------------
Error:
An assembly specified in the application dependencies manifest (wpftest.deps.json) has already been found but with a different file extension:
package: 'runtimepack.runtime.win-x64.Microsoft.WindowsDesktop.App', version: '3.0.0-preview-27408-15'
path: './System.Design.xml'
previously found assembly: 'C:\wpftest\bin\Release\netcoreapp3.0\win-x64\publish\System.Design.dll'
---------------------------
OK
---------------------------
Expected behavior:
It starts
Minimal repro:
Use latest daily build of .NET Core SDK, eg. 3.0.100-preview4-010277
Build:
# or replace wpf with winforms
dotnet new wpf
dotnet publish -c Release -f netcoreapp3.0 -r win-x64 --self-contained
Run:
bin\Release\netcoreapp3.0\win-x64\publish\wpftest.exe
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels