question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not create output file, error code=0x80070005

See original GitHub issue

Failed when is used signed assembly by .snk or .pfx key

DllExport.targets(58,5): error : Assembling 'C:\Users\reg\AppData\Local\Temp\tmp88A8\Gateway.il'  to DLL --> 'D:\prg\qsin\bin\Debug\Gateway.dll'
DllExport.targets(58,5): error : Source file is UNICODE
DllExport.targets(58,5): error : 
DllExport.targets(58,5): error : Assembled method Gateway.Connector::entrypoint
DllExport.targets(58,5): error : Assembled method Gateway.Connector::onProc
DllExport.targets(58,5): error : Assembled method Gateway.Lua::.ctor
DllExport.targets(58,5): error : Creating PE file
DllExport.targets(58,5): error : Could not create output file, error code=0x80070005
DllExport.targets(58,5): error : 
DllExport.targets(58,5): error : ***** FAILURE ***** 

Same for original tool (v1.2.7)… hmm

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
3Fcommented, Jun 9, 2021

@ChahatKumar For the current case you need elevate permissions/rights in the used environment.

You can automate this through our tool and its Pre-processing etc. Read the documentation.

1reaction
ChahatKumarcommented, Jun 8, 2021

@3F Hey i am getting the same error

Assembled method Microsoft.ApplicationInsights.Channel.Transmission::CreateRequest
Assembled method Microsoft.ApplicationInsights.Channel.Transmission::.cctor
Assembled method Microsoft.ApplicationInsights.Channel.TransmissionStatusEventArgs::.ctor
Assembled method Microsoft.ApplicationInsights.Channel.TransmissionStatusEventArgs::.ctor
Assembled method Microsoft.ApplicationInsights.Channel.TransmissionStatusEventArgs::get_Response
Assembled method Microsoft.ApplicationInsights.Channel.TransmissionStatusEventArgs::get_ResponseDurationInMs
Assembled method <PrivateImplementationDetails>::ComputeStringHash
Creating PE file
Could not create output file, error code=0x80070005

***** FAILURE *****

Was getting a few syntax errors for some function which I didn’t need so removed them , I am basically trying to change the name of dll for Microsoft.ApplicationInsights.

De assembled and reassembling gives this errors

any insights please?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failure when using ILASM to compile IL to EXE
0x80070005 is an access denied error. You either don't have the rights to create a file into the directory, or you're trying to...
Read more >
Windows update Error 0x80070005 - Need a fix? Click here.
The error code 0x80070005 is also described as ACCESS DENIED. Please follow these instructions if you are encountering this error code when ...
Read more >
How to Fix the Windows Access Denied Error 0x80070005
The 0x80070005 error code arises when the Windows access is denied. This is how you can solve it for good.
Read more >
Error Code: 0x80070005 [Solved] - PC Diagnostics
The error code: 0x80070005 mostly shows ACCESS DENIED. This kind of error actually occurs when you do not have any file or registry...
Read more >
Fix Games Not Installing On Xbox App Error Code ... - YouTube
Fix Games Not Installing On Xbox App Error Code 0x80070005 On PC [Tutorial] Some PC gamers are reporting the issue whereby they get...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found