Comments (8)
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.
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.
Where is the install.ps1? I cannot find it
from gitversion.
@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
- not all files required by the task are being copied https://github.com/Particular/GitFlowVersion/blob/master/GitFlowVersionTask/NugetAssets/GitFlowVersionTask.targets#L31
- need to respect NCrunch when resolving
SolutionDir
similar to this https://github.com/Particular/GitFlowVersion/blob/master/GitFlowVersionTask/Fody.targets#L4
from gitversion.
@JakeGinnivan any update on this?
from gitversion.
Not yet, not a high priority right now. More focused on trying to make core changes to allow support for GitHubFlow soon :)
from gitversion.
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.
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)
- [Documentation]: Documenting the GitFlow workflow and create sequence diagrams HOT 1
- [ISSUE]: Gitversion failing in teamcity run configuration HOT 1
- [ISSUE]: Can't make GitVersion work in conjunction with WiX Toolset 4.0/5.0 HOT 3
- Forced push breaks GitVersion
- [ISSUE]: GitVersion AzDo task appears to be stuck at version 5.0.1 HOT 1
- [ISSUE]: Plan Migration to .NET 7.0+ SDK HOT 1
- [ISSUE]: NotImplementedException in TrunkBased-Workflow HOT 1
- [Feature]: Support of multi mainline branches in the Mainline version strategy
- [ISSUE]: Unable to get Main branch to update WeightedPreReleaseNumber HOT 1
- [ISSUE]: `init` command still shown in the help output HOT 2
- [Documentation]: Documenting the GitHubFlow workflow and create sequence HOT 1
- [ISSUE]: netstandard2.0 Support in 6.0.0 HOT 1
- [ISSUE]: Update the docs on DockerHub and specify the usage when running in a CI environment HOT 1
- [ISSUE]: Null-reference exception when running GitVersion task in DevOps pipeline HOT 1
- [ISSUE]: GitVersion.MsBuild: Adding the nuget package to a SDK style project results gitversion.exe MyProj -outputfile obj\gitversion.json exited with code 1. HOT 3
- [ISSUE]: GitVersion.MsBuild only for the static class, without changing the assembly versioning HOT 1
- [ISSUE]: gitversion.properties is written to more than once when `TargetFrameworks` is supplied in .csproj HOT 2
- [ISSUE]: GitVersion complains about shallow repository in Azure DevOps HOT 1
- [ISSUE]: The count of (GitVersion.PreReleaseNumber) is reset to 0 in the branch Develop without any reason. HOT 1
- [ISSUE]: GitVersion.MsBuild no longer supports GitVersionInformation namespace is breaking change HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitversion.