|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 | | - <PropertyGroup> |
4 | | - <TargetFramework>netstandard2.0</TargetFramework> |
5 | | - <LangVersion>12</LangVersion> |
6 | | - <ImplicitUsings>enable</ImplicitUsings> |
7 | | - <Nullable>enable</Nullable> |
8 | | - <RootNamespace>ConsoleAppFramework</RootNamespace> |
9 | | - <IsRoslynComponent>true</IsRoslynComponent> |
10 | | - <AnalyzerLanguage>cs</AnalyzerLanguage> |
11 | | - |
12 | | - <!-- this is analyzer only package, does not need runtime self --> |
13 | | - <IncludeBuildOutput>false</IncludeBuildOutput> |
14 | | - <SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking> |
15 | | - <IncludeSymbols>false</IncludeSymbols> |
16 | | - <DevelopmentDependency>true</DevelopmentDependency> |
17 | | - <EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules> |
18 | | - |
19 | | - <!-- NuGet --> |
20 | | - <PackageId>ConsoleAppFramework</PackageId> |
21 | | - <Description>Zero Dependency, Zero Overhead, Zero Reflection, Zero Allocation, AOT Safe CLI Framework powered by C# Source Generator.</Description> |
22 | | - <Configurations>Debug;Release</Configurations> |
23 | | - </PropertyGroup> |
24 | | - |
25 | | - <ItemGroup> |
26 | | - <Compile Remove="bin\**" /> |
27 | | - <EmbeddedResource Remove="bin\**" /> |
28 | | - <None Remove="bin\**" /> |
29 | | - </ItemGroup> |
30 | | - |
31 | | - <ItemGroup> |
32 | | - <!-- Roslyn for .NET 8 / C# 12 --> |
33 | | - <!-- https://learn.microsoft.com/en-us/visualstudio/extensibility/roslyn-version-support --> |
34 | | - <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" /> |
35 | | - <PackageReference Include="PolySharp" Version="1.14.1"> |
36 | | - <PrivateAssets>all</PrivateAssets> |
37 | | - <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
38 | | - </PackageReference> |
39 | | - </ItemGroup> |
40 | | - |
41 | | - <ItemGroup> |
42 | | - <!-- Create nuget package as analyzer --> |
43 | | - <None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" /> |
44 | | - </ItemGroup> |
45 | | - |
46 | | - <ItemGroup> |
47 | | - <None Include="../../Icon.png" Pack="true" PackagePath="/" /> |
48 | | - </ItemGroup> |
| 3 | + <PropertyGroup> |
| 4 | + <TargetFramework>netstandard2.0</TargetFramework> |
| 5 | + <LangVersion>12</LangVersion> |
| 6 | + <ImplicitUsings>enable</ImplicitUsings> |
| 7 | + <Nullable>enable</Nullable> |
| 8 | + <RootNamespace>ConsoleAppFramework</RootNamespace> |
| 9 | + <IsRoslynComponent>true</IsRoslynComponent> |
| 10 | + <AnalyzerLanguage>cs</AnalyzerLanguage> |
| 11 | + |
| 12 | + <!-- this is analyzer only package, does not need runtime self --> |
| 13 | + <IncludeBuildOutput>false</IncludeBuildOutput> |
| 14 | + <SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking> |
| 15 | + <IncludeSymbols>false</IncludeSymbols> |
| 16 | + <DevelopmentDependency>true</DevelopmentDependency> |
| 17 | + <EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules> |
| 18 | + |
| 19 | + <!-- NuGet --> |
| 20 | + <PackageId>ConsoleAppFramework</PackageId> |
| 21 | + <Description>Zero Dependency, Zero Overhead, Zero Reflection, Zero Allocation, AOT Safe CLI Framework powered by C# Source Generator.</Description> |
| 22 | + <Configurations>Debug;Release</Configurations> |
| 23 | + </PropertyGroup> |
| 24 | + |
| 25 | + <ItemGroup> |
| 26 | + <Compile Remove="bin\**" /> |
| 27 | + <EmbeddedResource Remove="bin\**" /> |
| 28 | + <None Remove="bin\**" /> |
| 29 | + </ItemGroup> |
| 30 | + |
| 31 | + <ItemGroup> |
| 32 | + <!-- Roslyn for .NET 8 / C# 12 --> |
| 33 | + <!-- https://learn.microsoft.com/en-us/visualstudio/extensibility/roslyn-version-support --> |
| 34 | + <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" /> |
| 35 | + <PackageReference Include="PolySharp" Version="1.14.1"> |
| 36 | + <PrivateAssets>all</PrivateAssets> |
| 37 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
| 38 | + </PackageReference> |
| 39 | + </ItemGroup> |
| 40 | + |
| 41 | + <ItemGroup> |
| 42 | + <!-- Create nuget package as analyzer --> |
| 43 | + <None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" /> |
| 44 | + </ItemGroup> |
| 45 | + |
| 46 | + <ItemGroup> |
| 47 | + <None Include="../../Icon.png" Pack="true" PackagePath="/" /> |
| 48 | + </ItemGroup> |
49 | 49 | </Project> |
50 | 50 |
|
0 commit comments