Set platform for tools.local fixed to AnyCPU (#205)
authorViktor Hofer <viktor.hofer@microsoft.com>
Fri, 22 Nov 2019 08:29:18 +0000 (09:29 +0100)
committerGitHub <noreply@github.com>
Fri, 22 Nov 2019 08:29:18 +0000 (09:29 +0100)
eng/Build.props
tools-local/tasks/installer.tasks/installer.tasks.csproj

index e6bf9aa..20dbe66 100644 (file)
@@ -79,7 +79,7 @@
     </ItemGroup>
 
     <MSBuild Projects="@(RepoTaskProjects)"
-             Properties="Configuration=Debug"
+             Properties="Configuration=Debug;Platform=AnyCPU"
              Targets="Restore;Build"/>
 
     <WriteLinesToFile File="$(RepoTasksOutputFile)"
index 0c73fdc..acd364d 100644 (file)
@@ -1,12 +1,9 @@
-<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>