problem: I am running
ilasm /dll /key="C:\m\mykey.snk" "C:\m\myapp.il" /output="C:\m\myapp.dll" as normal user (called
user) on my machine and it results in
Could not create output file, error code=0x80070005. Even if it should not be required i have executed the command from the folder
If i run this command in an administrator-console then it works without any error so my . But also
user should be able to run ilasm without problems. What do I have to do allow ilasm to create files?
What i have tried/checkd so far:
userhave the persmission to read/write files in the folder where i executed the command.
useris in the
userI have taken the ownership of the folder where i executed the command.
C:\to the list of excluded folders of the windows-malware-protection.
"Windows defender Security Center" -> "Virus & threat protection"I have disabled the Windows-malware-protection.
C:\Windows\Microsoft.NET\Framework64\v4.0.30319(where ilasm is located in) from a machine where it is working to the desktop of the machine where it is not working and set the path-environment-variable to point to the the
ilasm.exeon the desktop and tried it again. Not working. (I have checked that the desired
ilasm.exewill really being used using the command
So are there other things i can check or i can do to get the command working without the requirement to run it as administrator?
Other information which might by useful:
Many thanks in advance.
User contributions licensed under CC BY-SA 3.0