ILMerge - pdb associated with dll is out of date
up vote
2
down vote
favorite
Trying to build executable with all libraries inside with help of ILMerge:
"C:Program Files (x86)MicrosoftILMergeILMerge.exe" MyScan.exe DirectShowLib.dll Google.Apis.Auth.dll Google.Apis.Auth.PlatformServices.dll Google.Apis.Core.dll Google.Apis.dll Google.Apis.PlatformServices.dll Google.Apis.Sheets.v4.dll log4net.dll Newtonsoft.Json.dll zxing.dll zxing.presentation.dll /out:MyScan2.exe
Got error one of dll's is out of date:
An exception occurred during merging:
ILMerge.Merge: There were errors reported in Google.Apis.Auth's metadata.
The pdb associated with c:ProjectsMyscanMYScanbinReleaseGoogle.Apis.Auth.dll is out of date.
at ILMerging.ILMerge.Merge()
at ILMerging.ILMerge.Main(String args)
What does it mean? Why Google.Apis.Auth.dll
pdb is out of date and how to fix that? I have cleaned and rebuilt project, but this not helped.
UPD
I had to delete all pdb's associated with google api. After that I got error:
Unresolved assembly reference not allowed: System.Core.
at System.Compiler.Ir2md.GetAssemblyRefIndex(AssemblyNode assembly)
at System.Compiler.Ir2md.GetTypeRefIndex(TypeNode type)
at System.Compiler.Ir2md.WriteTypeDefOrRefEncoded(BinaryWriter target, TypeNode type)
at System.Compiler.Ir2md.WriteTypeSignature(BinaryWriter target, TypeNode type, Boolean instantiateGenericTypes)
at System.Compiler.Ir2md.WriteTypeSignature(BinaryWriter target, TypeNode type, Boolean instantiateGenericTypes)
at System.Compiler.Ir2md.GetBlobIndex(TypeNode type)
at System.Compiler.Ir2md.GetTypeSpecIndex(TypeNode type)
at System.Compiler.Ir2md.VisitReferencedType(TypeNode type)
at System.Compiler.Ir2md.VisitMethod(Method method)
at System.Compiler.Ir2md.VisitClass(Class Class)
at System.Compiler.Ir2md.VisitModule(Module module)
at System.Compiler.Ir2md.SetupMetadataWriter(String debugSymbolsLocation)
at System.Compiler.Ir2md.WritePE(Module module, String debugSymbolsLocation, BinaryWriter writer)
at System.Compiler.Writer.WritePE(String location, Boolean writeDebugSymbols, Module module, Boolean delaySign, String keyFileName, String keyName)
at System.Compiler.Writer.WritePE(CompilerParameters compilerParameters, Module module)
at ILMerging.ILMerge.Merge()
at ILMerging.ILMerge.Main(String args)
c# google-api pdb-files ilmerge
add a comment |
up vote
2
down vote
favorite
Trying to build executable with all libraries inside with help of ILMerge:
"C:Program Files (x86)MicrosoftILMergeILMerge.exe" MyScan.exe DirectShowLib.dll Google.Apis.Auth.dll Google.Apis.Auth.PlatformServices.dll Google.Apis.Core.dll Google.Apis.dll Google.Apis.PlatformServices.dll Google.Apis.Sheets.v4.dll log4net.dll Newtonsoft.Json.dll zxing.dll zxing.presentation.dll /out:MyScan2.exe
Got error one of dll's is out of date:
An exception occurred during merging:
ILMerge.Merge: There were errors reported in Google.Apis.Auth's metadata.
The pdb associated with c:ProjectsMyscanMYScanbinReleaseGoogle.Apis.Auth.dll is out of date.
at ILMerging.ILMerge.Merge()
at ILMerging.ILMerge.Main(String args)
What does it mean? Why Google.Apis.Auth.dll
pdb is out of date and how to fix that? I have cleaned and rebuilt project, but this not helped.
UPD
I had to delete all pdb's associated with google api. After that I got error:
Unresolved assembly reference not allowed: System.Core.
at System.Compiler.Ir2md.GetAssemblyRefIndex(AssemblyNode assembly)
at System.Compiler.Ir2md.GetTypeRefIndex(TypeNode type)
at System.Compiler.Ir2md.WriteTypeDefOrRefEncoded(BinaryWriter target, TypeNode type)
at System.Compiler.Ir2md.WriteTypeSignature(BinaryWriter target, TypeNode type, Boolean instantiateGenericTypes)
at System.Compiler.Ir2md.WriteTypeSignature(BinaryWriter target, TypeNode type, Boolean instantiateGenericTypes)
at System.Compiler.Ir2md.GetBlobIndex(TypeNode type)
at System.Compiler.Ir2md.GetTypeSpecIndex(TypeNode type)
at System.Compiler.Ir2md.VisitReferencedType(TypeNode type)
at System.Compiler.Ir2md.VisitMethod(Method method)
at System.Compiler.Ir2md.VisitClass(Class Class)
at System.Compiler.Ir2md.VisitModule(Module module)
at System.Compiler.Ir2md.SetupMetadataWriter(String debugSymbolsLocation)
at System.Compiler.Ir2md.WritePE(Module module, String debugSymbolsLocation, BinaryWriter writer)
at System.Compiler.Writer.WritePE(String location, Boolean writeDebugSymbols, Module module, Boolean delaySign, String keyFileName, String keyName)
at System.Compiler.Writer.WritePE(CompilerParameters compilerParameters, Module module)
at ILMerging.ILMerge.Merge()
at ILMerging.ILMerge.Main(String args)
c# google-api pdb-files ilmerge
The pdb is (hopefully) not part of your project, but of a dependency. Could be that the shipped pdb in the google nuget is really invalid - I'd simply delete the pdb in the build folder before calling ilmerge and seeing if it helps. Doing that as a workaround seems ok - you really only lose line numbers of exceptions inside the google dll, which seems minor.
– Voo
Nov 11 at 15:23
I have deleted pdb's associated with google api, but then got error described in question body UPD
– vico
Nov 11 at 15:44
Going out on a limb: You're creating a .net core application and haven't built a self-contained app.
– Voo
Nov 11 at 17:15
I'm creating simple .NET framework single form application
– vico
Nov 11 at 17:40
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
Trying to build executable with all libraries inside with help of ILMerge:
"C:Program Files (x86)MicrosoftILMergeILMerge.exe" MyScan.exe DirectShowLib.dll Google.Apis.Auth.dll Google.Apis.Auth.PlatformServices.dll Google.Apis.Core.dll Google.Apis.dll Google.Apis.PlatformServices.dll Google.Apis.Sheets.v4.dll log4net.dll Newtonsoft.Json.dll zxing.dll zxing.presentation.dll /out:MyScan2.exe
Got error one of dll's is out of date:
An exception occurred during merging:
ILMerge.Merge: There were errors reported in Google.Apis.Auth's metadata.
The pdb associated with c:ProjectsMyscanMYScanbinReleaseGoogle.Apis.Auth.dll is out of date.
at ILMerging.ILMerge.Merge()
at ILMerging.ILMerge.Main(String args)
What does it mean? Why Google.Apis.Auth.dll
pdb is out of date and how to fix that? I have cleaned and rebuilt project, but this not helped.
UPD
I had to delete all pdb's associated with google api. After that I got error:
Unresolved assembly reference not allowed: System.Core.
at System.Compiler.Ir2md.GetAssemblyRefIndex(AssemblyNode assembly)
at System.Compiler.Ir2md.GetTypeRefIndex(TypeNode type)
at System.Compiler.Ir2md.WriteTypeDefOrRefEncoded(BinaryWriter target, TypeNode type)
at System.Compiler.Ir2md.WriteTypeSignature(BinaryWriter target, TypeNode type, Boolean instantiateGenericTypes)
at System.Compiler.Ir2md.WriteTypeSignature(BinaryWriter target, TypeNode type, Boolean instantiateGenericTypes)
at System.Compiler.Ir2md.GetBlobIndex(TypeNode type)
at System.Compiler.Ir2md.GetTypeSpecIndex(TypeNode type)
at System.Compiler.Ir2md.VisitReferencedType(TypeNode type)
at System.Compiler.Ir2md.VisitMethod(Method method)
at System.Compiler.Ir2md.VisitClass(Class Class)
at System.Compiler.Ir2md.VisitModule(Module module)
at System.Compiler.Ir2md.SetupMetadataWriter(String debugSymbolsLocation)
at System.Compiler.Ir2md.WritePE(Module module, String debugSymbolsLocation, BinaryWriter writer)
at System.Compiler.Writer.WritePE(String location, Boolean writeDebugSymbols, Module module, Boolean delaySign, String keyFileName, String keyName)
at System.Compiler.Writer.WritePE(CompilerParameters compilerParameters, Module module)
at ILMerging.ILMerge.Merge()
at ILMerging.ILMerge.Main(String args)
c# google-api pdb-files ilmerge
Trying to build executable with all libraries inside with help of ILMerge:
"C:Program Files (x86)MicrosoftILMergeILMerge.exe" MyScan.exe DirectShowLib.dll Google.Apis.Auth.dll Google.Apis.Auth.PlatformServices.dll Google.Apis.Core.dll Google.Apis.dll Google.Apis.PlatformServices.dll Google.Apis.Sheets.v4.dll log4net.dll Newtonsoft.Json.dll zxing.dll zxing.presentation.dll /out:MyScan2.exe
Got error one of dll's is out of date:
An exception occurred during merging:
ILMerge.Merge: There were errors reported in Google.Apis.Auth's metadata.
The pdb associated with c:ProjectsMyscanMYScanbinReleaseGoogle.Apis.Auth.dll is out of date.
at ILMerging.ILMerge.Merge()
at ILMerging.ILMerge.Main(String args)
What does it mean? Why Google.Apis.Auth.dll
pdb is out of date and how to fix that? I have cleaned and rebuilt project, but this not helped.
UPD
I had to delete all pdb's associated with google api. After that I got error:
Unresolved assembly reference not allowed: System.Core.
at System.Compiler.Ir2md.GetAssemblyRefIndex(AssemblyNode assembly)
at System.Compiler.Ir2md.GetTypeRefIndex(TypeNode type)
at System.Compiler.Ir2md.WriteTypeDefOrRefEncoded(BinaryWriter target, TypeNode type)
at System.Compiler.Ir2md.WriteTypeSignature(BinaryWriter target, TypeNode type, Boolean instantiateGenericTypes)
at System.Compiler.Ir2md.WriteTypeSignature(BinaryWriter target, TypeNode type, Boolean instantiateGenericTypes)
at System.Compiler.Ir2md.GetBlobIndex(TypeNode type)
at System.Compiler.Ir2md.GetTypeSpecIndex(TypeNode type)
at System.Compiler.Ir2md.VisitReferencedType(TypeNode type)
at System.Compiler.Ir2md.VisitMethod(Method method)
at System.Compiler.Ir2md.VisitClass(Class Class)
at System.Compiler.Ir2md.VisitModule(Module module)
at System.Compiler.Ir2md.SetupMetadataWriter(String debugSymbolsLocation)
at System.Compiler.Ir2md.WritePE(Module module, String debugSymbolsLocation, BinaryWriter writer)
at System.Compiler.Writer.WritePE(String location, Boolean writeDebugSymbols, Module module, Boolean delaySign, String keyFileName, String keyName)
at System.Compiler.Writer.WritePE(CompilerParameters compilerParameters, Module module)
at ILMerging.ILMerge.Merge()
at ILMerging.ILMerge.Main(String args)
c# google-api pdb-files ilmerge
c# google-api pdb-files ilmerge
edited Nov 11 at 15:43
asked Nov 11 at 13:48
vico
4,5292166136
4,5292166136
The pdb is (hopefully) not part of your project, but of a dependency. Could be that the shipped pdb in the google nuget is really invalid - I'd simply delete the pdb in the build folder before calling ilmerge and seeing if it helps. Doing that as a workaround seems ok - you really only lose line numbers of exceptions inside the google dll, which seems minor.
– Voo
Nov 11 at 15:23
I have deleted pdb's associated with google api, but then got error described in question body UPD
– vico
Nov 11 at 15:44
Going out on a limb: You're creating a .net core application and haven't built a self-contained app.
– Voo
Nov 11 at 17:15
I'm creating simple .NET framework single form application
– vico
Nov 11 at 17:40
add a comment |
The pdb is (hopefully) not part of your project, but of a dependency. Could be that the shipped pdb in the google nuget is really invalid - I'd simply delete the pdb in the build folder before calling ilmerge and seeing if it helps. Doing that as a workaround seems ok - you really only lose line numbers of exceptions inside the google dll, which seems minor.
– Voo
Nov 11 at 15:23
I have deleted pdb's associated with google api, but then got error described in question body UPD
– vico
Nov 11 at 15:44
Going out on a limb: You're creating a .net core application and haven't built a self-contained app.
– Voo
Nov 11 at 17:15
I'm creating simple .NET framework single form application
– vico
Nov 11 at 17:40
The pdb is (hopefully) not part of your project, but of a dependency. Could be that the shipped pdb in the google nuget is really invalid - I'd simply delete the pdb in the build folder before calling ilmerge and seeing if it helps. Doing that as a workaround seems ok - you really only lose line numbers of exceptions inside the google dll, which seems minor.
– Voo
Nov 11 at 15:23
The pdb is (hopefully) not part of your project, but of a dependency. Could be that the shipped pdb in the google nuget is really invalid - I'd simply delete the pdb in the build folder before calling ilmerge and seeing if it helps. Doing that as a workaround seems ok - you really only lose line numbers of exceptions inside the google dll, which seems minor.
– Voo
Nov 11 at 15:23
I have deleted pdb's associated with google api, but then got error described in question body UPD
– vico
Nov 11 at 15:44
I have deleted pdb's associated with google api, but then got error described in question body UPD
– vico
Nov 11 at 15:44
Going out on a limb: You're creating a .net core application and haven't built a self-contained app.
– Voo
Nov 11 at 17:15
Going out on a limb: You're creating a .net core application and haven't built a self-contained app.
– Voo
Nov 11 at 17:15
I'm creating simple .NET framework single form application
– vico
Nov 11 at 17:40
I'm creating simple .NET framework single form application
– vico
Nov 11 at 17:40
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53249394%2filmerge-pdb-associated-with-dll-is-out-of-date%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
The pdb is (hopefully) not part of your project, but of a dependency. Could be that the shipped pdb in the google nuget is really invalid - I'd simply delete the pdb in the build folder before calling ilmerge and seeing if it helps. Doing that as a workaround seems ok - you really only lose line numbers of exceptions inside the google dll, which seems minor.
– Voo
Nov 11 at 15:23
I have deleted pdb's associated with google api, but then got error described in question body UPD
– vico
Nov 11 at 15:44
Going out on a limb: You're creating a .net core application and haven't built a self-contained app.
– Voo
Nov 11 at 17:15
I'm creating simple .NET framework single form application
– vico
Nov 11 at 17:40