File tree 4 files changed +6
-2
lines changed
JsonApiDotNetCore.SourceGenerators
4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -85,10 +85,10 @@ function CreateNuGetPackage {
85
85
}
86
86
87
87
if ([string ]::IsNullOrWhitespace($versionSuffix )) {
88
- dotnet pack .\src\JsonApiDotNetCore - c Release - o .\artifacts
88
+ dotnet pack -- no - restore -- no - build -- configuration Release -- output .\artifacts
89
89
}
90
90
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
92
92
}
93
93
94
94
CheckLastExitCode
Original file line number Diff line number Diff line change 10
10
<CodeAnalysisRuleSet >$(MSBuildThisFileDirectory)CodingGuidelines.ruleset</CodeAnalysisRuleSet >
11
11
<WarningLevel >9999</WarningLevel >
12
12
<Nullable >enable</Nullable >
13
+ <IsPackable >false</IsPackable >
14
+ <WarnOnPackingNonPackableProject >false</WarnOnPackingNonPackableProject >
13
15
</PropertyGroup >
14
16
15
17
<ItemGroup >
Original file line number Diff line number Diff line change 2
2
<PropertyGroup >
3
3
<VersionPrefix >$(JsonApiDotNetCoreVersionPrefix)</VersionPrefix >
4
4
<TargetFramework >netstandard2.0</TargetFramework >
5
+ <IsPackable >true</IsPackable >
5
6
<GeneratePackageOnBuild >true</GeneratePackageOnBuild >
6
7
<IncludeBuildOutput >false</IncludeBuildOutput >
7
8
<NoWarn >$(NoWarn);NU5128</NoWarn >
Original file line number Diff line number Diff line change 2
2
<PropertyGroup >
3
3
<VersionPrefix >$(JsonApiDotNetCoreVersionPrefix)</VersionPrefix >
4
4
<TargetFramework >$(NetCoreAppVersion)</TargetFramework >
5
+ <IsPackable >true</IsPackable >
5
6
<GeneratePackageOnBuild >true</GeneratePackageOnBuild >
6
7
</PropertyGroup >
7
8
You can’t perform that action at this time.
0 commit comments