I see a lot of powershell/cmd line scripts mention...
# package-development
m
I see a lot of powershell/cmd line scripts mentioned for nuget package builds.. is there a huge gain over just using
GeneratePackageOnBuild
via
csproj
and a conditional
PackageOutputPath
path?
Copy code
xml
<PropertyGroup>
    <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
    <PackageOutputPath>$(MSBuildThisFileDirectory)\..\..\dist</PackageOutputPath>
    <VersionSuffix>dev</VersionSuffix>
    <VersionPrefix>$([System.DateTime]::Now.ToString("yyyy.MM.dd.HHmm"))</VersionPrefix>
</PropertyGroup>
https://cdn.discordapp.com/attachments/882984798719729704/1265588149300760670/image.png?ex=66a20e50&is=66a0bcd0&hm=836d4a7f1349227538a8f005825b07d90807c1a30b9c9bea92af8b29878e567c&
2 Views