File tree Expand file tree Collapse file tree 4 files changed +6
-2
lines changed
JsonApiDotNetCore.SourceGenerators Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -85,10 +85,10 @@ function CreateNuGetPackage {
8585 }
8686
8787 if ([string ]::IsNullOrWhitespace($versionSuffix )) {
88- dotnet pack .\src\JsonApiDotNetCore - c Release - o .\artifacts
88+ dotnet pack -- no - restore -- no - build -- configuration Release -- output .\artifacts
8989 }
9090 else {
91- dotnet pack .\src\JsonApiDotNetCore - c Release - o .\artifacts -- version- suffix= $versionSuffix
91+ dotnet pack -- no - restore -- no - build -- configuration Release -- output .\artifacts -- version- suffix= $versionSuffix
9292 }
9393
9494 CheckLastExitCode
Original file line number Diff line number Diff line change 1010 <CodeAnalysisRuleSet >$(MSBuildThisFileDirectory)CodingGuidelines.ruleset</CodeAnalysisRuleSet >
1111 <WarningLevel >9999</WarningLevel >
1212 <Nullable >enable</Nullable >
13+ <IsPackable >false</IsPackable >
14+ <WarnOnPackingNonPackableProject >false</WarnOnPackingNonPackableProject >
1315 </PropertyGroup >
1416
1517 <ItemGroup >
Original file line number Diff line number Diff line change 22 <PropertyGroup >
33 <VersionPrefix >$(JsonApiDotNetCoreVersionPrefix)</VersionPrefix >
44 <TargetFramework >netstandard2.0</TargetFramework >
5+ <IsPackable >true</IsPackable >
56 <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
67 <IncludeBuildOutput >false</IncludeBuildOutput >
78 <NoWarn >$(NoWarn);NU5128</NoWarn >
Original file line number Diff line number Diff line change 22 <PropertyGroup >
33 <VersionPrefix >$(JsonApiDotNetCoreVersionPrefix)</VersionPrefix >
44 <TargetFramework >$(NetCoreAppVersion)</TargetFramework >
5+ <IsPackable >true</IsPackable >
56 <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
67 </PropertyGroup >
78
You can’t perform that action at this time.
0 commit comments