-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStaticViewLocator.csproj
More file actions
31 lines (26 loc) · 1.22 KB
/
StaticViewLocator.csproj
File metadata and controls
31 lines (26 loc) · 1.22 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>
<Deterministic>true</Deterministic>
<ImplicitUsings>false</ImplicitUsings>
<IsPackable>true</IsPackable>
<!-- Generator specific settings -->
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
<IsRoslynComponent>true</IsRoslynComponent>
<IncludeBuildOutput>false</IncludeBuildOutput>
<DevelopmentDependency>true</DevelopmentDependency>
</PropertyGroup>
<PropertyGroup>
<Description>A C# source generator that automatically implements static view locator for Avalonia without using reflection.</Description>
<PackageId>StaticViewLocator</PackageId>
<PackageTags>ViewLocator;static;avalonia;generator</PackageTags>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" PrivateAssets="all" />
</ItemGroup>
<!-- Package the generator in the analyzer directory of the nuget package -->
<ItemGroup>
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false"/>
</ItemGroup>
</Project>