</ItemGroup>
<MSBuild Projects="@(RepoTaskProjects)"
- Properties="Configuration=Debug"
+ Properties="Configuration=Debug;Platform=AnyCPU"
Targets="Restore;Build"/>
<WriteLinesToFile File="$(RepoTasksOutputFile)"
-<Project Sdk="Microsoft.NET.Sdk" TreatAsLocalProperty="Configuration;Debug">
+<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">$(TargetFrameworks);net46</TargetFrameworks>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
- <!-- Set platform to AnyCPU (not TargetArchitecture) to avoid arch-specific output path. -->
- <Platform>AnyCPU</Platform>
- <Configuration>Debug</Configuration>
</PropertyGroup>
<ItemGroup>