I have a class library project in C#
I want to set version of a nuget package by environment variable.
I've tried this:
<?xml version="1.0" encoding="utf-8"?><packages><package id="Package" version="%version%" targetFramework="net48" /></packages>
but I'm getting error
packages.config': Invalid package version for package id
How can I set the version by some variable?Thank you.