Git Product home page Git Product logo

Comments (8)

andreasohlund avatar andreasohlund commented on August 23, 2024

Pull request?;)

Den tisdagen den 1:e oktober 2013 skrev Jake Ginnivan:

Add AND $(nCrunch) =='' to the condition of importing the targets file


Reply to this email directly or view it on GitHubhttps://github.com//issues/11
.

http://andreasohlund.net
http://twitter.com/andreasohlund

from gitversion.

JakeGinnivan avatar JakeGinnivan commented on August 23, 2024

Will do, just recording it for now :)

Sent from my Windows Phone


From: Andreas Öhlundmailto:[email protected]
Sent: ‎01/‎10/‎2013 18:10
To: Particular/GitFlowVersionmailto:[email protected]
Cc: Jake Ginnivanmailto:[email protected]
Subject: Re: [GitFlowVersion] Installation into projects using nCrunch (#11)

Pull request?;)

Den tisdagen den 1:e oktober 2013 skrev Jake Ginnivan:

Add AND $(nCrunch) =='' to the condition of importing the targets file


Reply to this email directly or view it on GitHubhttps://github.com//issues/11
.

http://andreasohlund.net
http://twitter.com/andreasohlund


Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-25469464.

from gitversion.

JakeGinnivan avatar JakeGinnivan commented on August 23, 2024

Where is the install.ps1? I cannot find it

from gitversion.

SimonCropp avatar SimonCropp commented on August 23, 2024

@JakeGinnivan there is no install.ps1. the nuget build directory convention is used to import the targets https://github.com/Particular/GitFlowVersion/blob/master/GitFlowVersionTask/GitFlowVersionTask.csproj#L109

But isnt the problem with NCrunch two-fold

from gitversion.

SimonCropp avatar SimonCropp commented on August 23, 2024

@JakeGinnivan any update on this?

from gitversion.

JakeGinnivan avatar JakeGinnivan commented on August 23, 2024

Not yet, not a high priority right now. More focused on trying to make core changes to allow support for GitHubFlow soon :)

from gitversion.

JakeGinnivan avatar JakeGinnivan commented on August 23, 2024

Going to close this, I don't need this fixed as Im using the exe version. If someone else wants it we can reopen

from gitversion.

mkoertgen avatar mkoertgen commented on August 23, 2024

Currently, GitVersion fails to find the .git directory during standard NCrunch builds:

WARNING - WARN [03/19/16 9:36:36:33] Could not determine assembly version:
System.NullReferenceException: Object reference not set to an instance of an object.
   at GitVersion.GitPreparer.GetDotGitDirectory()
   at GitVersion.ExecuteCore.ExecuteGitVersion(String targetUrl, String dynamicRepositoryLocation, Authentication authentication, String targetBranch, Boolean noFetch, String workingDirectory, String commitId)
   at GitVersion.ExecuteCore.TryGetVersion(String directory, VersionVariables& versionVariables, Boolean noFetch, Authentication authentication)

This is plausible because by default, NCrunch shadow copies the projects (without .git of course).

Certainly not a show stopper as you can just disable GitVersion UpdateAssemblyInfo and GetVersion when $(NCrunch) == 1

from gitversion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.