Repository navigation
Expand file tree
/
Copy pathAttributesSourceGeneratorHelper.csproj
More file actions
33 lines (33 loc) · 1.97 KB
/
Copy pathAttributesSourceGeneratorHelper.csproj
File metadata and controls
33 lines (33 loc) · 1.97 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
32
33
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<IncludeBuildOutput>false</IncludeBuildOutput>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
<FeedType>Public</FeedType>
<Description>
This is a source generator that generates source code to help another source generator deal with attributes.
To use, simply create attribute classes in c# and inherit from Attribute which will generate helpers so source generators using it will have helpers to detect attributes.
</Description>
<Version>3.0.1</Version>
<PackageProjectUrl>https://github.com/musictopia2/AttributesSourceGeneratorHelper</PackageProjectUrl>
<Company>None</Company>
<Authors>musictopia</Authors>
<RunPostBuildAppCondition Condition="'$(Configuration)' == 'Release'">true</RunPostBuildAppCondition>
</PropertyGroup>
<ItemGroup>
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Musictopia2.CommonSourceGeneratorsHelpers" Version="1.0.1" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="5.0.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.11.0" PrivateAssets="all" />
<PackageReference Include="Musictopia2.SourceGeneratorsAttributesLibrary" Version="1.0.1" PrivateAssets="all" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="C:\VS\Apps\CommandLines\PostBuildPackageHandler\bin\Release\net10.0\PostBuildPackageHandler.exe $(ProjectName) $(ProjectDir) $(ProjectFileName) $(TargetDir)" Condition="'$(Configuration)' == 'Release' and '$(RunPostBuildAppCondition)' == 'true'" />
</Target>
</Project>