-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSplat.DependencyInjection.SourceGenerator.csproj
More file actions
31 lines (28 loc) · 2.08 KB
/
Splat.DependencyInjection.SourceGenerator.csproj
File metadata and controls
31 lines (28 loc) · 2.08 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<DevelopmentDependency>true</DevelopmentDependency>
<IncludeBuildOutput>false</IncludeBuildOutput>
<!-- forces SDK to copy dependencies into build output to make packing easier -->
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<PackageDescription>Produces DI registration for both property and constructor injection using the Splat locators.</PackageDescription>
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);PackBuildOutputs</TargetsForTfmSpecificContentInPackage>
<NoWarn>$(NoWarn);AD0001</NoWarn>
<DebugType>full</DebugType>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" PrivateAssets="all" GeneratePathProperty="true" />
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="3.11.0" PrivateAssets="all" GeneratePathProperty="true" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.11.0" PrivateAssets="all" GeneratePathProperty="true" />
<PackageReference Include="ReactiveMarbles.RoslynHelpers" Version="1.2.8" GeneratePathProperty="true" PrivateAssets="all" />
<PackageReference Include="ILRepack" Version="2.0.44" GeneratePathProperty="true" PrivateAssets="all" />
</ItemGroup>
<Target Name="ILRepack" AfterTargets="Build">
<Exec Command="$(PKGILRepack)\tools\ILRepack "$(TargetPath)" "$(PKGReactiveMarbles_RoslynHelpers)\lib\netstandard2.0\ReactiveMarbles.RoslynHelpers.dll" /out:"$(TargetPath)" /internalize /union /lib:"$(PKGMicrosoft_CodeAnalysis_CSharp_Workspaces)\lib\netstandard2.0" /lib:"$(PKGMicrosoft_CodeAnalysis_Analyzers)\analyzers\dotnet\cs" /lib:"$(PKGMicrosoft_CodeAnalysis_Common)\lib\netstandard2.0"" />
</Target>
<Target Name="PackBuildOutputs">
<ItemGroup>
<TfmSpecificPackageFile Include="$(TargetPath)" PackagePath="analyzers/dotnet/cs" Visible="false" />
</ItemGroup>
</Target>
</Project>