Alice
Extracting values from external data files for a property in `.csproj`?
nope, ugh well, we got a working version, if somemany knows what the actuall correct way is, we'll appreciate it greatly (main doc page on property functions was not terribly helpful in getting this resolved)
12 replies
Extracting values from external data files for a property in `.csproj`?
well, ugh, we spent embarrassingly long time (about 12 hours of different attempts) trying to figure out why it doesn't work, only to figure out that instead of using
so that last bit became:
and now we are getting what we actually expected, and build no longer fails, as well as Rider finding all the imported DLLs…
<Target Name="WriteBuildProperties" BeforeTargets="PreBuildEvent"><Message Text="$(InstallLibrary)" /></Target>
we can write property to a file, which made us more confused as we got literal property name in the output, before we realized that property functions are really weird, and you can't really reference other properties literally, instead it has to be put in as a quoted string?12 replies