Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,21 @@
<!--
Output type for .NET Core test projects should be exe.
https://devdiv.visualstudio.com/DevDiv/_workitems?id=375688&_a=edit
Note: we skip this for UWP apps on .NET 9, as they must use 'WinExe'.
-->
<PropertyGroup>
<OutputType>Exe</OutputType>
<OutputType Condition="'$(UseUwpTools)' != 'true'">Exe</OutputType>
</PropertyGroup>

<PropertyGroup>
<GeneratedProgramFile Condition="'$(GeneratedProgramFile)' == ''">$(MSBuildThisFileDirectory)Microsoft.NET.Test.Sdk.Program$(DefaultLanguageSourceExtension)</GeneratedProgramFile>

<!--
We always skip the generated entry point for UWP apps on .NET 9, as those need a separate entry point
to initialize the 'CoreApplication' app, which is handled separately. That is, it will either be in
the project template, or generated by the XAML compiler (for UWP XAML apps).
-->
<GenerateProgramFile Condition="'$(GenerateProgramFile)' == '' AND '$(UseUwpTools)' == 'true'">false</GenerateProgramFile>
<GenerateProgramFile Condition="'$(GenerateProgramFile)' == ''">true</GenerateProgramFile>
</PropertyGroup>

Expand Down
Loading