Customization of project version for a path with mutiple types #7199
Unanswered
frohlichcortezh
asked this question in
Troubleshoot
Replies: 1 comment
-
|
@frohlichcortezh this should work, but you have to add those options in the correct spot: {
"background": "#512bd4",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"options": {
"always_enabled": true,
"dotnet_files": [
".csproj"
],
"nuspec_files": [
""
]
},
"style": "powerline",
"template": " {{ if .Target }}\uf1b3 {{ .Target }} {{ end }}{{ if and (.Version) (not (contains .Version \"$\")) }}\uf02b v{{ .Version }}{{ end }} ",
"type": "project"
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Code of Conduct
What would you like to see changed?
I have a path with a .csproj and .nuspec file, the .nuspec file has a placeholder.
I
ve tried filtering the files for dotnet, but I guess that since .nuspec isnt a dotnet type, my filter didn`t work.I couldn't find a way to remove the .nuspec version, I guess I should try the template property ?
Also, the projects I'm working on use the
AssemblyVersionproperty which seems not supported.It would be nice to see both the project version and target framework.
Beta Was this translation helpful? Give feedback.
All reactions