-
-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$(GitBranch) prop value is empty in .csproj file #178
Comments
Hello, I have the latest 2.2.0 version installed. Can someone please help me with this? I wanted to control the NuGet package reference based on $(GitBranch) prop value. If the value is master then refer RC pkg otherwise PRE releases pkg. I have updated the .csproj file as suggested in #143
|
Target won't be defined until after a successful restore. You can condition that target to Also, note that the properties that GitInfo populates are called |
Discussed in #177
Originally posted by sanjaykulkarni04 September 23, 2021
Hello,
While building csproj locally/CI server on master branch, I wanted to add RC NuGet package reference otherwise PRE release NuGet package reference. Please find the below code added in .csproj file. What's wrong with the below code? Can someone assist me?
The text was updated successfully, but these errors were encountered: