We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e487b9f commit d7ce791Copy full SHA for d7ce791
src/Directory.Build.targets
@@ -39,4 +39,8 @@ SPDX-License-Identifier: MIT
39
<AssemblyMetadata Include="RepositoryCommit" Value="$(RepositoryCommit)" Condition=" '$(RepositoryCommit)' != '' " />
40
</ItemGroup>
41
</Target>
42
+
43
+ <Target Name="WarnNupkgConfiguration" AfterTargets="Pack" Condition=" '$(Configuration)' != 'Release' ">
44
+ <Warning Text="generated nupkg with configuration '$(Configuration)'" />
45
+ </Target>
46
</Project>
0 commit comments