Dropcraft icon indicating copy to clipboard operation
Dropcraft copied to clipboard

Log doesn't have an implementation

Open 8VAid8 opened this issue 5 years ago • 0 comments

I am trying to use the project, but i'm having that error:

TypeLoadException: Method 'Log' in type 'Dropcraft.Deployment.NuGet.NuGetLogger' from assembly 'Dropcraft.Deployment, Version=0.2.1.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. Snippet:

public async Task FetchPackage(string PackagesPath, string InstallPath, string Framework)
        {
            var configuration = new DeploymentConfiguration().ForPackages.Cache(PackagesPath);
            configuration.ForPackages.AddRemoteSource("https://api.nuget.org/v3/index.json");

            var engine = configuration.CreateEngine(InstallPath, Framework);
            await engine.InstallPackages(
                    new[] { new PackageId("Newtonsoft.Json/8.0.3"), new PackageId("bootstrap/3.3.7") },
                    new InstallationOptions { AllowDowngrades = false, UpdatePackages = false });
        }

8VAid8 avatar Apr 20 '19 17:04 8VAid8