Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 14:53
    stale[bot] closed #1832
  • Jan 24 20:33
    soroshsabz commented #1981
  • Jan 24 20:25
    stale[bot] unlabeled #883
  • Jan 24 20:25
    bvirkler commented #883
  • Jan 24 14:38
    casz edited #2060
  • Jan 24 14:37
    casz commented #2060
  • Jan 24 14:37
    casz edited #2060
  • Jan 24 14:34
    arturcic labeled #2060
  • Jan 24 14:34
    arturcic milestoned #2060
  • Jan 24 14:34
    asbjornu commented #2060
  • Jan 24 14:34

    asbjornu on master

    add JSON Serializer Respect ReflectionIgnore Use our own JSON Serializer in … and 11 more (compare)

  • Jan 24 14:34
    asbjornu closed #2060
  • Jan 24 14:33
    arturcic commented #2060
  • Jan 24 14:32
    casz commented #2060
  • Jan 24 13:49
    arturcic synchronize #2060
  • Jan 24 13:49

    arturcic on master

    removed Authentication class in… Revert "code cleanup" This rev… (compare)

  • Jan 24 13:32
    arturcic synchronize #2060
  • Jan 24 13:32

    arturcic on master

    Revert "removed Authentication … (compare)

  • Jan 24 13:23
    asbjornu synchronize #2060
  • Jan 24 09:18
    zionyx edited #2064
Karim Garza
@karimgarza
Has anybody been able to run Gitversion in Centos 7? I downloaded the binary but it does not run and it throws this error "The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw an exception."
Artur
@arturcic
Which version have you installed?
Karim Garza
@karimgarza
@arturcic 5.1.1 and 5.1.2
Artur
@arturcic
which executable? is it global tool?
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...