Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 00:52
    dazinator commented #2125
  • 00:41
    dazinator review_requested #2129
  • 00:39
    dazinator commented #2129
  • 00:22
    dazinator commented #2125
  • 00:22
    dazinator commented #2125
  • 00:22
    dazinator synchronize #2129
  • Feb 22 23:50
    dazinator commented #2125
  • Feb 22 23:43
    dazinator synchronize #2129
  • Feb 22 23:38
    arturcic commented #2125
  • Feb 22 23:36
    dazinator commented #2125
  • Feb 22 23:34
    dazinator opened #2129
  • Feb 22 22:55
    gitfool commented #2116
  • Feb 22 22:45
    arturcic review_requested #2128
  • Feb 22 22:45
    arturcic opened #2128
  • Feb 22 22:41
    arturcic opened #2127
  • Feb 22 22:39
    arturcic commented #2125
  • Feb 22 22:38
    dazinator commented #2125
  • Feb 22 22:37
    dazinator commented #2125
  • Feb 22 22:37
    dazinator commented #2125
  • Feb 22 22:32
    arturcic milestoned #2100
is that what you are asking for /.
i have dotnet --version "3.0.101"
Artur
@arturcic
if you use that, how do you run it?
Karim Garza
@karimgarza
from within the directory of my application i just run ./GitVersion
Artur
@arturcic
hmm
intereseting
can you also try the global tool?
Karim Garza
@karimgarza
where is that ?
how do i do that
Karim Garza
@karimgarza
Great! that works
Artur
@arturcic
great
Karim Garza
@karimgarza
i did not know that existed
thakn you
Artur
@arturcic
you're welcome
Nikita Kazachkov
@NikitaKazachkov_gitlab
Does GitVersion work with dotnet cli?
There is an example of using GitLab?
Simon Novak
@snovak7
GitVersionTask nuget package tags the binaries
But disable automatic assembly generation
AssemblyInfo that is
Mattias Karlsson
@devlead
@NikitaKazachkov_gitlab yes, use GitVersion tool with .NET Core CLI
https://www.nuget.org/packages/GitVersion.Tool/
Josh Close
@JoshClose
I'm running nuke.build on TeamCity and am getting this error from GitVersion:
Error parsing Infinity value. Path '', line 1, position 1.
this is on ubuntu 18
Mateusz Jędrzejewski
@matilote
Hi there, quick question. Does GitVersion support any arm64 platform?
error : PlatformNotSupportedException: ubuntu.18.04-arm64
Matthias Koch
@matkoch
GitVersion 5.1.2 and 5.1.3 are putting the executable in different directories, netcoreapp3.0 and netcoreapp3.1. This is not really compliant with semantic versioning.
For simplicity I think you would do better to keep putting them into x.0 ... afaik the runtime can execute any of the other minor-compiled executables.
And on another note, what about GitTools/GitVersion#2000 ? This blew up so many times recently for various reasons.
Bastian Schmidt
@batzen
Hi there.
I just added GitVersionTask to my project.
Everything works fine on my machine but on appveyor i getC:\Users\appveyor\.nuget\packages\gitversiontask\5.1.3\build\GitVersionTask.targets(10,9): error : FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. Could not find or load a specific file. (0x80131621)
Anyone knows why that only happens on appveyor and what i am doing wrong?
Simon Novak
@snovak7
What if you add explicit reference to 12 in csproj?
Bastian Schmidt
@batzen
I added no reference to newtonsoft as my lib does not need it and gitversiontask is supposed to be a build task or?
Simon Novak
@snovak7
Yes, but you could add build type reference
CI environments are isolated so you don’t packages preinstalled, like on local computer
If you have other projects which use newtonsoft.json
Have*
Bastian Schmidt
@batzen
Tried that just now. Didn't help...
Simon Novak
@snovak7
What if you take older version?
Bastian Schmidt
@batzen
That won't help either as i just deleted all cached versions of newtonsoft.json on my local machine and gitversiontask still works...
Simon Novak
@snovak7
What about dotnet version ?
Bastian Schmidt
@batzen
it's the same on appveyor and my machine
both invoked msbuild versions are Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
Bastian Schmidt
@batzen
Got it to work by setting WriteVersionInfoToBuildLog to false
That setting is false by default on a local machine
Even though i couldn't reproduce the issue locally by setting it to true...
Simon Novak
@snovak7
Cool
Ahmadreza
@ahmad2x4
Hi There, has anyone managed to install GitVersion command line on bitbucket build pipelines. They are Ubuntu and we can only use apt-get
Mattias Karlsson
@devlead

Easiest probably to use .NET Core global tool

dotnet tool install --global GitVersion.Tool --version 5.1.3

https://www.nuget.org/packages/GitVersion.Tool

Ahmadreza
@ahmad2x4
@devlead Thanks will give it a try