Skip to content

Commit 02775ee

Browse files
committed
chore: Specify IsPackable=false on Directory.Build.props, explicitly true for target packages.
1 parent abc7856 commit 02775ee

File tree

8 files changed

+6
-11
lines changed

8 files changed

+6
-11
lines changed

Directory.Build.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<Project>
22
<PropertyGroup>
33
<!-- NuGet Packaging -->
4+
<IsPackable>false</IsPackable>
45
<PackageVersion>$(Version)</PackageVersion>
56
<Authors>Cysharp</Authors>
67
<Company>Cysharp</Company>
@@ -15,6 +16,8 @@
1516
</PropertyGroup>
1617

1718
<ItemGroup>
19+
<None Include="$(MSBuildThisFileDirectory)Icon.png" Pack="true" PackagePath="\" />
1820
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="\" />
21+
<EmbeddedResource Include="$(MSBuildThisFileDirectory)LICENSE" />
1922
</ItemGroup>
2023
</Project>

sandbox/CliFrameworkBenchmark/CliFrameworkBenchmark.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<ImplicitUsings>enable</ImplicitUsings>
77
<nullable>annotations</nullable>
88
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
9-
<IsPackable>false</IsPackable>
109
<Configurations>Debug;Release</Configurations>
1110
</PropertyGroup>
1211

sandbox/FilterShareProject/FilterShareProject.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<PropertyGroup>
44
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
6-
<IsPackable>false</IsPackable>
76
<Nullable>enable</Nullable>
87
<Configurations>Debug;Release</Configurations>
98
</PropertyGroup>

sandbox/GeneratorSandbox/GeneratorSandbox.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<Nullable>disable</Nullable>
1010
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1111
<NoWarn>1701;1702;CS8321</NoWarn>
12-
<IsPackable>false</IsPackable>
1312

1413
<DefineConstants>USE_EXTERNAL_CONSOLEAPP_ABSTRACTIONS</DefineConstants>
1514

sandbox/NativeAot/NativeAot.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsPackable>false</IsPackable>
98

109
<PublishAot>true</PublishAot>
1110
<IsAotCompatible>true</IsAotCompatible>
1211
<PublishTrimmed>true</PublishTrimmed>
1312
<PublishSingleFile>true</PublishSingleFile>
1413
<SelfContained>true</SelfContained>
15-
14+
1615
<Configurations>Debug;Release</Configurations>
1716
</PropertyGroup>
1817

src/ConsoleAppFramework.Abstractions/ConsoleAppFramework.Abstractions.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
<Nullable>enable</Nullable>
77

88
<!-- NuGet -->
9+
<IsPackable>true</IsPackable>
910
<PackageId>ConsoleAppFramework.Abstractions</PackageId>
1011
<Description>ConsoleAppFramework external abstractions library.</Description>
1112
<Configurations>Debug;Release</Configurations>
1213
</PropertyGroup>
1314

1415
<ItemGroup>
1516
<None Include="ConsoleAppFramework.Abstractions.props" Pack="true" PackagePath="build" />
16-
<None Include="../../Icon.png" Pack="true" PackagePath="/" />
1717
</ItemGroup>
1818

1919
</Project>

src/ConsoleAppFramework/ConsoleAppFramework.csproj

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
1818

1919
<!-- NuGet -->
20+
<IsPackable>true</IsPackable>
2021
<PackageId>ConsoleAppFramework</PackageId>
2122
<Description>Zero Dependency, Zero Overhead, Zero Reflection, Zero Allocation, AOT Safe CLI Framework powered by C# Source Generator.</Description>
2223
<Configurations>Debug;Release</Configurations>
@@ -43,8 +44,4 @@
4344
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
4445
</ItemGroup>
4546

46-
<ItemGroup>
47-
<None Include="../../Icon.png" Pack="true" PackagePath="/" />
48-
</ItemGroup>
4947
</Project>
50-

tests/ConsoleAppFramework.GeneratorTests/ConsoleAppFramework.GeneratorTests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8-
<IsPackable>false</IsPackable>
98
<IsTestProject>true</IsTestProject>
109
<Configurations>Debug;Release</Configurations>
1110
</PropertyGroup>

0 commit comments

Comments
 (0)