|
1 | | -<Project Sdk="Microsoft.NET.Sdk"> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 | 3 | <PropertyGroup> |
4 | 4 | <TargetFramework>netstandard2.0</TargetFramework> |
|
8 | 8 |
|
9 | 9 | <IsRoslynComponent>true</IsRoslynComponent> |
10 | 10 | <EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules> |
11 | | - <IncludeBuildOutput>false</IncludeBuildOutput> |
12 | | - |
13 | | - <PackageId>CarpaNet.SourceGen</PackageId> |
14 | | - <Description>Generate bindings of ATProtocol Lexicon files for CarpaNet.</Description> |
15 | | - <GeneratePackageOnBuild>true</GeneratePackageOnBuild> |
16 | | - <DevelopmentDependency>true</DevelopmentDependency> |
17 | | - <NoPackageAnalysis>true</NoPackageAnalysis> |
18 | | - <SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking> |
| 11 | + <IsPackable>false</IsPackable> |
19 | 12 | </PropertyGroup> |
20 | 13 |
|
21 | 14 | <ItemGroup> |
22 | 15 | <PackageReference Include="Microsoft.CodeAnalysis.CSharp" PrivateAssets="all" /> |
23 | 16 | <PackageReference Include="System.Text.Json" PrivateAssets="all" GeneratePathProperty="true" /> |
24 | 17 | </ItemGroup> |
25 | 18 |
|
26 | | - <ItemGroup Condition=" ('$(IsPackable)' == 'true') or ('$(PackAsTool)' == 'true') "> |
27 | | - <None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="" |
28 | | - Visible="false" /> |
29 | | - </ItemGroup> |
30 | | - |
31 | | - <ItemGroup> |
32 | | - <None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" /> |
33 | | - <None Include="$(PkgSystem_Text_Json)\lib\netstandard2.0\System.Text.Json.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" /> |
34 | | - </ItemGroup> |
35 | | - |
36 | 19 | <ItemGroup> |
37 | 20 | <ProjectReference Include="..\CarpaNet.BuildTasks\CarpaNet.BuildTasks.csproj" |
38 | 21 | ReferenceOutputAssembly="false" |
39 | | - SkipGetTargetFrameworkProperties="true" /> |
40 | | - </ItemGroup> |
41 | | - |
42 | | - <ItemGroup> |
43 | | - <None Include="build\CarpaNet.SourceGen.targets" Pack="true" PackagePath="build\" Visible="false" /> |
44 | | - <None Include="build\CarpaNet.SourceGen.targets" Pack="true" PackagePath="buildTransitive\" Visible="false" /> |
45 | | - </ItemGroup> |
46 | | - |
47 | | - <!-- Pack the build task DLL into the NuGet package --> |
48 | | - <ItemGroup> |
49 | | - <None Include="..\CarpaNet.BuildTasks\bin\$(Configuration)\net8.0\CarpaNet.BuildTasks.dll" |
50 | | - Pack="true" PackagePath="tasks\net8.0\" Visible="false" /> |
| 22 | + SkipGetTargetFrameworkProperties="true" |
| 23 | + GlobalPropertiesToRemove="TargetFramework" /> |
51 | 24 | </ItemGroup> |
52 | 25 |
|
53 | 26 | <Import Project="..\..\Version.props" /> |
|
0 commit comments