-
Notifications
You must be signed in to change notification settings - Fork 483
/
Copy pathAmazon.Lambda.Annotations.SourceGenerator.csproj
60 lines (48 loc) · 2.15 KB
/
Amazon.Lambda.Annotations.SourceGenerator.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
52
53
54
55
56
57
58
59
60
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyVersion>0.4.3.0</AssemblyVersion>
<TargetFramework>netstandard2.0</TargetFramework>
<!-- This is required to allow copying all the dependencies to bin directory which can be copied after to nuget package based on nuspec -->
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis" Version="4.0.1" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.0.1" />
<PackageReference Include="System.CodeDom" Version="6.0.0" />
</ItemGroup>
<ItemGroup>
<!-- Generator dependencies, update Libraries/src/Amazon.Lambda.Annotations.nuspec whenever a new generator dependency is added. -->
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" GeneratePathProperty="true" PrivateAssets="all" />
</ItemGroup>
<PropertyGroup>
<GetTargetPathDependsOn>$(GetTargetPathDependsOn);GetDependencyTargetPaths</GetTargetPathDependsOn>
</PropertyGroup>
<Target Name="GetDependencyTargetPaths">
<ItemGroup>
<TargetPathWithTargetPlatformMoniker Include="$(PKGNewtonsoft_Json)\lib\netstandard2.0\Newtonsoft.Json.dll" IncludeRuntimeDependency="false" />
</ItemGroup>
</Target>
<ItemGroup>
<ProjectReference Include="..\Amazon.Lambda.Annotations\Amazon.Lambda.Annotations.csproj" OutputItemType="Analyzer" />
</ItemGroup>
<ItemGroup>
<None Update="Templates\LambdaFunctionTemplate.tt">
<Generator>TextTemplatingFilePreprocessor</Generator>
<LastGenOutput>LambdaFunctionTemplate.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<Compile Update="Templates\LambdaFunctionTemplate.cs">
<DependentUpon>LambdaFunctionTemplate.tt</DependentUpon>
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
</Compile>
</ItemGroup>
<ItemGroup>
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include="Diagnostics\AnalyzerReleases.Shipped.md" />
<AdditionalFiles Include="Diagnostics\AnalyzerReleases.Unshipped.md" />
</ItemGroup>
</Project>