-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDirectory.Build.targets
More file actions
42 lines (35 loc) · 1.54 KB
/
Copy pathDirectory.Build.targets
File metadata and controls
42 lines (35 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<Project>
<Import Project="Qemu.targets" />
<PropertyGroup Condition="'$(BuildingInsideVisualStudio)' == 'true'">
<StartAction>Program</StartAction>
<StartProgram>dotnet</StartProgram>
<StartArguments>publish --tl:off $(AssemblyName)</StartArguments>
<StartWorkingDirectory>$(MSBuildThisFileDirectory)</StartWorkingDirectory>
</PropertyGroup>
<PropertyGroup>
<OutputType>Exe</OutputType>
<EmitLegacyAssetsFileItems>true</EmitLegacyAssetsFileItems>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<NoStdLib>true</NoStdLib>
<NoConfig>true</NoConfig>
<RuntimeMetadataVersion>v4.0.30319</RuntimeMetadataVersion>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
<IlcSystemModule>$(AssemblyName)</IlcSystemModule>
<EntryPointSymbol>EfiMain</EntryPointSymbol>
<LinkerSubsystem>EFI_APPLICATION</LinkerSubsystem>
</PropertyGroup>
<!--Warning: This package is modified(/packages). Using official one may cause it fail to compile!-->
<ItemGroup>
<PackageReference Include="Microsoft.DotNet.ILCompiler" Version="7.0.0-alpha.1.22074.1" />
</ItemGroup>
<!--CustomizeReferences-->
<Target Name="CustomizeReferences" BeforeTargets="BeforeCompile" AfterTargets="FindReferenceAssembliesForReferences">
<ItemGroup>
<ReferencePathWithRefAssemblies Remove="@(ReferencePathWithRefAssemblies)" />
<ReferencePath Remove="@(ReferencePath)" />
</ItemGroup>
</Target>
<Target Name="PrepareForILLink">
</Target>
</Project>