Skip to content

Commit 0087a50

Browse files
committed
chore: Specify IsPackable=false on Directory.Build.props, explicitly true for target packages.
1 parent 81675c0 commit 0087a50

File tree

5 files changed

+6
-8
lines changed

5 files changed

+6
-8
lines changed

Directory.Build.props

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
44
<LangVersion>13</LangVersion>
5+
<SignAssembly>true</SignAssembly>
6+
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)release.snk</AssemblyOriginatorKeyFile>
57

68
<!-- NuGet Package Information -->
9+
<IsPackable>false</IsPackable>
710
<PackageVersion>$(Version)</PackageVersion>
811
<Company>Cysharp</Company>
912
<Authors>Cysharp</Authors>
@@ -19,6 +22,7 @@
1922

2023
<ItemGroup>
2124
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="\" />
22-
<None Include="$(MSBuildThisFileDirectory)Icon.png" Pack="true" PackagePath="\" />
25+
<None Include="$(MSBuildThisFileDirectory)Icon.png" Pack="true" PackagePath="\" />
26+
<EmbeddedResource Include="$(MSBuildThisFileDirectory)LICENSE" />
2327
</ItemGroup>
2428
</Project>
File renamed without changes.

sandbox/ConsoleApp/ConsoleApp.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
55
<TargetFramework>net8.0</TargetFramework>
6-
<IsPackable>false</IsPackable>
76
</PropertyGroup>
87

98
<ItemGroup>

src/RandomFixtureKit/RandomFixtureKit.csproj

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,12 @@
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<LangVersion>7.3</LangVersion>
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
7-
<SignAssembly>true</SignAssembly>
8-
<AssemblyOriginatorKeyFile>release.snk</AssemblyOriginatorKeyFile>
97
<GenerateDocumentationFile>true</GenerateDocumentationFile>
10-
<Company>Cysharp</Company>
118

129
<!-- NuGet -->
10+
<IsPackable>true</IsPackable>
1311
<PackageId>RandomFixtureKit</PackageId>
1412
<Description>Fill random/edge-case value to target type for unit testing.</Description>
15-
<IsPackable>true</IsPackable>
1613
</PropertyGroup>
1714

1815
<PropertyGroup>

tests/RandomFixtureKit.Tests/RandomFixtureKit.Tests.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
<PropertyGroup>
44
<TargetFramework>net8.0</TargetFramework>
5-
6-
<IsPackable>false</IsPackable>
75
</PropertyGroup>
86

97
<ItemGroup>

0 commit comments

Comments
 (0)