File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 131
131
132
132
<Target Name =" BeforeBuild" Condition =" '$(TargetFramework)'=='net40' AND $(Configuration.Contains('Mono')) AND '$(OS)' != 'Windows_NT'" >
133
133
<!-- Endless war!-->
134
- <Exec Command =" cp $(NuGetPackageRoot)/microsoft.targetingpack.netframework.v4.5/1.0.1/lib/net45/System.XML.dll $(NuGetPackageRoot)/microsoft.targetingpack.netframework.v4.5/1.0.1/lib/net45/System.Xml.dll" />
134
+ <Exec Command =" [[ -e $(NuGetPackageRoot)/microsoft.targetingpack.netframework.v4.5/1.0.1/lib/net45/System.Xml.dll ]] || cp $(NuGetPackageRoot)/microsoft.targetingpack.netframework.v4.5/1.0.1/lib/net45/System.XML.dll $(NuGetPackageRoot)/microsoft.targetingpack.netframework.v4.5/1.0.1/lib/net45/System.Xml.dll" />
135
135
</Target >
136
136
<Target Name =" AfterBuild" >
137
137
<Copy Condition =" '$(TargetFramework)'=='net40'" SourceFiles =" $(TargetAssembly)" DestinationFolder =" $(PythonBuildDir)" />
Original file line number Diff line number Diff line change @@ -239,9 +239,13 @@ public enum MachineType
239
239
/// </summary>
240
240
static readonly Dictionary < string , MachineType > MachineTypeMapping = new Dictionary < string , MachineType > ( )
241
241
{
242
- { "i386" , MachineType . i386 } ,
243
- { "x86_64" , MachineType . x86_64 } ,
244
- { "amd64" , MachineType . x86_64 } ,
242
+ [ "i386" ] = MachineType . i386 ,
243
+ [ "i686" ] = MachineType . i386 ,
244
+ [ "x86" ] = MachineType . i386 ,
245
+ [ "x86_64" ] = MachineType . x86_64 ,
246
+ [ "amd64" ] = MachineType . x86_64 ,
247
+ [ "x64" ] = MachineType . x86_64 ,
248
+ [ "em64t" ] = MachineType . x86_64 ,
245
249
} ;
246
250
247
251
/// <summary>
You can’t perform that action at this time.
0 commit comments