2
Vote

Build Error on Disc Utils

description

When I am trying to run my project , I am getting an Error like this :

Assembly 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\DiscUtils.Common.dll' must be strong signed in order to be marked as a prerequisite.
Done building project "Integrator.csproj" -- FAILED.

My code is as below

private void btnBurnDisc_Click(object sender, EventArgs e)
    {
        label5.Visible = true;
        progressBar1.Visible = true;
        CDBuilder builder = new CDBuilder();
        builder.UseJoliet = true;
        builder.VolumeIdentifier = "Teju_Image";
        builder.AddFile(@"C:\Users\in01e010672\Desktop\dati", Encoding.ASCII.GetBytes("dati"));
        builder.Build(@"C:\temp\sample.iso");

    }

comments

icnocop wrote Nov 2, 2016 at 2:39 AM

I've also encountered this issue.

It doesn't seem that the DiscUtils.dll and DiscUtils.Common.dll assemblies are signed with a strong name key, at least those published to NuGet and labeled as v0.11.0.2.