How do I set environment variable for build for each configuration?
I would like to use local project instead of nuget package for some configurations. In csproj file I have
<ItemGroup Condition="'$(LOCAL_API)' != ''">
<PackageReference Include="Cord" Version="0.0.24" />
<ItemGroup Condition="'$(LOCAL_API)' == ''">
<ProjectReference Include="../../api/API/Cord.csproj" />
But when I set env variable in configuration it's runtime only and it does not apply for build process.