Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Doesn't run on clean Win 7 install #1

Open
billw2012 opened this issue Aug 22, 2019 · 6 comments
Open

Doesn't run on clean Win 7 install #1

billw2012 opened this issue Aug 22, 2019 · 6 comments

Comments

@billw2012
Copy link
Member

billw2012 commented Aug 22, 2019

System.MissingMethodException: Method not found: 'System.String System.String.Format(System.IFormatProvider, System.Stri
ng, System.Object)'.
   at LibGit2Sharp.Core.StrictFilePathMarshaler.MarshalManagedToNative(Object managedObj)
   at System.StubHelpers.MngdRefCustomMarshaler.ConvertContentsToNative(IntPtr pMarshalState, Object& pManagedHome, IntP
tr pNativeHome)
   at LibGit2Sharp.Core.NativeMethods.git_repository_open(git_repository*& repository, FilePath path)
   at LibGit2Sharp.Core.Proxy.git_repository_open(String path)
   at LibGit2Sharp.Repository..ctor(String path, RepositoryOptions options, RepositoryRequiredParameter requiredParamete
r)
   at GitVersion.Program.Main()
NMAKE : fatal error U1077: '"..\\Tools\C2C-GitVersion.exe"' : return code '0xffffffff'
Stop.

Microsoft (R) Program Maintenance Utility Version 7.10.3077```
@ghost
Copy link

ghost commented Aug 23, 2019

System.String.Format(System.IFormatProvider, System.Stri
ng, System.Object) only exists starting with .net4.5 or maybe even 4.6. That clean win7 install probably only has .net 3.5 installed.

@ghost
Copy link

ghost commented Aug 23, 2019

Maybe include the .NET 4.8 Web Installer into the Caveman2Cosmos dev setup.

@billw2012
Copy link
Member Author

I put in a PR instead that downgrades it to work with 4.5. Although 4.5 still isn't included as default, it will be automatically installed by one of our tools (can't remember which one). Weird that this tool doesn't automatically try to install 4.7 or whatever version it needs? Maybe it is a setting somewhere.

@ghost
Copy link

ghost commented Aug 26, 2019

Did you install any kind of software in that clean windows 7 or did maybe the windows 7 you installed already include software or the .net 4.5?
That would explain it.

@billw2012
Copy link
Member Author

Yeah 4.5 gets automatically installed by something. But I'm not worried about this we can leave it as is I think, certainly I'm bored with writing installer scripts now!

@ghost
Copy link

ghost commented Aug 27, 2019

I add the .net 4.8 web installer to the dev setup.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant