forked from Azure/bicep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBicep.Cli.csproj
51 lines (43 loc) · 1.79 KB
/
Bicep.Cli.csproj
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
43
44
45
46
47
48
49
50
51
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<AssemblyName>bicep</AssemblyName>
<StartupObject>Bicep.Cli.Program</StartupObject>
<!-- .net by default does not package up the native dependencies -->
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
<!-- enable custom targets to generate a NOTICE file and embed it as a resource -->
<AddNoticeAsEmbeddedResource>true</AddNoticeAsEmbeddedResource>
<AddLicenseAsEmbeddedResource>true</AddLicenseAsEmbeddedResource>
<!-- enable trimmer warnings for Bicep CLI and projects it references -->
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
<!-- restore pre-.net7 trim behavior https://learn.microsoft.com/en-us/dotnet/core/compatibility/deployment/7.0/trim-all-assemblies -->
<TrimMode>partial</TrimMode>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
<PackageReference Include="Sarif.Sdk" Version="4.1.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Bicep.Core\Bicep.Core.csproj" />
<ProjectReference Include="..\Bicep.Decompiler\Bicep.Decompiler.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Update="CliResources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>CliResources.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="CliResources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>CliResources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
<ItemGroup>
<TrimmerRootDescriptor Include="TrimmerRoots.xml" />
</ItemGroup>
</Project>