Hi,
When I build the project, I get a MethodAccessException. Here are the first few error lines:
- error MSB4018: The "GitVersion" task failed unexpectedly.
- error MSB4018: System.MethodAccessException: Strong-name signed assemblies must specify a public key in their InternalsVisibleTo declarations.
- error MSB4018: at MSBuild.Community.Tasks.Git.GitClient.ValidateParameters()\r
Note: I removed the path information since it adds clutter.
Note: I'm using the latest MSBuildTasks from Nuget (v1.5.0.183).
I tried looking, but couldn't find much information. Do I need to add an InternalsVisibleTo? I tried the following:
[assembly: InternalsVisibleTo("MSBuild.Community.Tasks")]
[assembly: InternalsVisibleTo("GitVersion")]
Any help would be greatly appreciated.
Thanks,
Josh