dittodhole/dotnet-SemVer.Stamp

Weaving fails: "StrictFilePathMarshaler must be used on a FilePath."

dittodhole opened this issue · 0 comments

1> Fody/SemVer.Git: Starting search for repository in ProjectDir
1> Fody/SemVer.Git: discovering repository in D:\GitHub\csharp-UDPBroadcast\UDPBroadcast.Net40
1>MSBUILD : error : Fody: An unhandled exception occurred:
1>MSBUILD : error : Exception:
1>MSBUILD : error : StrictFilePathMarshaler must be used on a FilePath.
1>MSBUILD : error : StackTrace:
1>MSBUILD : error : at LibGit2Sharp.Core.StrictFilePathMarshaler.MarshalManagedToNative(Object managedObj) in c:\projects\libgit2sharp\LibGit2Sharp\Core\FilePathMarshaler.cs:line 71
1>MSBUILD : error : at System.StubHelpers.MngdRefCustomMarshaler.ConvertContentsToNative(IntPtr pMarshalState, Object& pManagedHome, IntPtr pNativeHome)
1>MSBUILD : error : at LibGit2Sharp.Core.NativeMethods.git_repository_discover(GitBuf buf, FilePath start_path, Boolean across_fs, FilePath ceiling_dirs)
1>MSBUILD : error : at LibGit2Sharp.Core.Proxy.<>c__DisplayClass36.<git_repository_discover>b__35(GitBuf buf)
1>MSBUILD : error : at LibGit2Sharp.Core.Proxy.ConvertPath(Func`2 pathRetriever)
1>MSBUILD : error : at LibGit2Sharp.Core.Proxy.git_repository_discover(FilePath start_path)
1>MSBUILD : error : at LibGit2Sharp.Repository.Discover(String startingPath)
1>MSBUILD : error : at SemVer.Fody.ModuleWeaver.GetVersion(String repositoryPath, String patchFormat, String featureFormat, String breakingChangeFormat)
1>MSBUILD : error : at SemVer.Fody.ModuleWeaver.PatchVersionOfAssemblyTheSemVerWay(XElement config, String assemblyFullFileName, String addinDirectoryPath, String solutionPath, String projectPath)
1>MSBUILD : error : at SemVer.Fody.ModuleWeaver.AfterWeaving()
1>MSBUILD : error : at lambda_method(Closure , Object )
1>MSBUILD : error : at InnerWeaver.ExecuteAfterWeavers() in C:\projects\fody\FodyIsolated\InnerWeaver.cs:line 187
1>MSBUILD : error : at InnerWeaver.Execute() in C:\projects\fody\FodyIsolated\InnerWeaver.cs:line 86
1>MSBUILD : error : Source:
1>MSBUILD : error : Stamp.Fody
1>MSBUILD : error : TargetSite:
1>MSBUILD : error : IntPtr MarshalManagedToNative(System.Object)
1>MSBUILD : error :
1> Fody: Finished Fody 664ms.