-
Notifications
You must be signed in to change notification settings - Fork 382
/
Copy pathMicrosoft.TemplateEngine.Utils.csproj
36 lines (29 loc) · 1.48 KB
/
Microsoft.TemplateEngine.Utils.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>$(NetMinimum);netstandard2.0;$(NetFrameworkMinimum)</TargetFrameworks>
<Description>Components used by all Template Engine extensions and consumers</Description>
<IsPackable>true</IsPackable>
<EnablePublicApiAnalyzer>true</EnablePublicApiAnalyzer>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<!-- DesignTimeBuild requires all the TargetFramework Derived Properties to not be present in the first property group. -->
<PropertyGroup Condition="$([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) == '.NETCoreApp'">
<!-- TODO: Resolve nullable errors and remove this block: https://github.com/dotnet/templating/issues/8100. -->
<Nullable>annotations</Nullable>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\Shared\**\*.cs" Link="%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" />
<PackageReference Include="Newtonsoft.Json" />
<ProjectReference Include="$(SrcDir)Microsoft.TemplateEngine.Abstractions\Microsoft.TemplateEngine.Abstractions.csproj" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="LocalizableStrings.resx"
GenerateSource="true" />
</ItemGroup>
<ItemGroup>
<InternalsVisibleTo Include="Microsoft.TemplateEngine.Utils.UnitTests" Key="$(TemplateEnginePublicKey)" />
</ItemGroup>
</Project>