-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
BugProduct bug (most likely)Product bug (most likely)issue-type-tracking-externalTo track dependencies with other teams or reposTo track dependencies with other teams or reposregressionstatus: This issue is a regression from a previous build or releasestatus: This issue is a regression from a previous build or release
Milestone
Description
Project:
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>netcoreapp3.0</TargetFramework>
<UseWPF>true</UseWPF>
<PublishTrimmed>true</PublishTrimmed>
<PublishReadyToRun>true</PublishReadyToRun>
<PublishSingleFile>true</PublishSingleFile>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<Platforms>x64</Platforms>
<OutputPath>bin\X64\Release\</OutputPath>
<AssemblyVersion>1.0.1.7144</AssemblyVersion>
<FileVersion>1.0.1.7144</FileVersion>
</PropertyGroup>
</Project>
MainWindow.xaml
<Window x:Class="wpf1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:wpf1"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid>
<Button x:Name="hello" Width="100" Height="35"></Button>
</Grid>
</Window>
build this using a recent preview8 SDK like this: dotnet publish -r win-x64 -c release
, then run the exe produced under bin\x64\release\netcoreapp3.0\win-x64\publish\
global.json
{
"sdk": {
"version": "3.0.100-preview8-013417"
}
}
Observed: Crash - FileNotFoundException
for System.Diagnostics.Debug.dll
Metadata
Metadata
Assignees
Labels
BugProduct bug (most likely)Product bug (most likely)issue-type-tracking-externalTo track dependencies with other teams or reposTo track dependencies with other teams or reposregressionstatus: This issue is a regression from a previous build or releasestatus: This issue is a regression from a previous build or release