-
Notifications
You must be signed in to change notification settings - Fork 656
Closed
Description
Steps:
Do a git clone using SSH to a brand new folder.
git clone git@github.com:Particular/NServiceBus.git
Then build the solution, either in Visual Studio or in powershell using the build script.
Notice these errors:
>------ Rebuild All started: Project: NServiceBus (NServiceBus\NServiceBus), Configuration: Debug Any CPU ------
2>------ Rebuild All started: Project: NServiceBus.PowerShell, Configuration: Debug Any CPU ------
3>------ Rebuild All started: Project: LicenseInstaller, Configuration: Debug Any CPU ------
3> Pepita (version 1.15.7.2) Executing
3> Cache path is C:\Users\Indu Alagarsamy\AppData\Local\NuGet\Cache
3> Using PackagesPath: C:\Users\Indu Alagarsamy\Projects\NServiceBus\Packages
3> Already exists so skipped C:\Users\Indu Alagarsamy\Projects\NServiceBus\Packages\Fody.1.16.2.0
3> Already exists so skipped C:\Users\Indu Alagarsamy\Projects\NServiceBus\Packages\GitFlowVersion.Fody.0.1.7
3> Finished (1ms)
3> Fody (version 1.16.2.0) Executing
3>MSBUILD : error : Fody: An unhandled exception occurred:
3>MSBUILD : error : Exception:
3>MSBUILD : error : An error was raised by libgit2. Category = Net (Error).
3>MSBUILD : error : This transport isn't implemented. Sorry
3>MSBUILD : error : Data :System.Collections.DictionaryEntry
3>MSBUILD : error : Data :System.Collections.DictionaryEntry
3>MSBUILD : error : StackTrace:
3>MSBUILD : error : at LibGit2Sharp.Core.Ensure.HandleError(Int32 result) in :line 0
3>MSBUILD : error : at LibGit2Sharp.Core.Proxy.git_remote_connect(RemoteSafeHandle remote, GitDirection direction) in :line 0
3>MSBUILD : error : at LibGit2Sharp.Network.Fetch(Remote remote, Nullable`1 tagFetchMode, ProgressHandler onProgress, CompletionHandler onCompletion, UpdateTipsHandler onUpdateTips, TransferProgressHandler onTransferProgress, Credentials credentials) in :line 0
3>MSBUILD : error : at GitFlowVersion.LibGitExtensions.GetBranch(Repository repository, String name) in y:\BuildAgent\work\5e0d79a4e3943b17\GitFlowVersion\LibGitExtensions.cs:line 127
3>MSBUILD : error : at GitFlowVersion.LibGitExtensions.GetMasterBranch(Repository repository) in y:\BuildAgent\work\5e0d79a4e3943b17\GitFlowVersion\LibGitExtensions.cs:line 148
3>MSBUILD : error : at GitFlowVersion.DevelopVersionFinder.GetSemanticVersion() in y:\BuildAgent\work\5e0d79a4e3943b17\GitFlowVersion\BranchFinders\DevelopVersionFinder.cs:line 28
3>MSBUILD : error : at GitFlowVersion.DevelopVersionFinder.FindVersion() in y:\BuildAgent\work\5e0d79a4e3943b17\GitFlowVersion\BranchFinders\DevelopVersionFinder.cs:line 14
3>MSBUILD : error : at GitFlowVersion.GitFlowVersionFinder.FindVersion() in y:\BuildAgent\work\5e0d79a4e3943b17\GitFlowVersion\GitFlowVersionFinder.cs:line 47
3>MSBUILD : error : at GitFlowVersion.VersionForRepositoryFinder.GetVersion(Repository repository) in y:\BuildAgent\work\5e0d79a4e3943b17\GitFlowVersion\VersionForDirectoryFinder.cs:line 18
3>MSBUILD : error : at ModuleWeaver.GetSemanticVersion(Repository repo) in y:\BuildAgent\work\5e0d79a4e3943b17\GitFlowVersionFody\ModuleWeaver.cs:line 124
3>MSBUILD : error : at ModuleWeaver.Execute() in y:\BuildAgent\work\5e0d79a4e3943b17\GitFlowVersionFody\ModuleWeaver.cs:line 51
3>MSBUILD : error : at lambda_method(Closure , Object )
3>MSBUILD : error : at InnerWeaver.ExecuteWeavers(List`1 weaverInstances) in c:\TeamCity\buildAgent\work\7495521761d392b9\FodyIsolated\InnerWeaver.cs:line 92
3>MSBUILD : error : at InnerWeaver.Execute() in c:\TeamCity\buildAgent\work\7495521761d392b9\FodyIsolated\InnerWeaver.cs:line 33
3>MSBUILD : error : Source:
3>MSBUILD : error : GitFlowVersion.Fody
3>MSBUILD : error : TargetSite:
3>MSBUILD : error : Void HandleError(Int32)
3>MSBUILD : error :
3> Finished Fody 197ms.
Reason:
When I cloned, it cloned it to a develop branch. There was no master local branch.
Workaround:
Git checkout master - build
and then switch branch to develop and build.
Both master and develop local branches are necessary.
Metadata
Metadata
Assignees
Labels
No labels