Skip to content

Commit

Permalink
Set EnableWindowsTargeting
Browse files Browse the repository at this point in the history
  • Loading branch information
na1307 committed Feb 20, 2024
1 parent c676f59 commit b45ddf5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ private static ProjectRootElement CreateProjectRootElement(ProjectBuildFile buil
{
var tempProjectPath = await CreateTempProjectAsync(tempDirectory, repoRoot, projectPath, targetFramework, packages);

var (exitCode, stdout, stderr) = await ProcessEx.RunAsync("dotnet", $"build \"{tempProjectPath}\" /t:_ReportDependencies");
var (exitCode, stdout, stderr) = await ProcessEx.RunAsync("dotnet", $"build \"{tempProjectPath}\" /t:_ReportDependencies /p:EnableWindowsTargeting=true");

if (exitCode == 0)
{
Expand Down

0 comments on commit b45ddf5

Please sign in to comment.