Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/keyfile does not work when keyfile is readonly #33

Closed
dnperfors opened this issue Mar 28, 2013 · 0 comments
Closed

/keyfile does not work when keyfile is readonly #33

dnperfors opened this issue Mar 28, 2013 · 0 comments

Comments

@dnperfors
Copy link

TFS likes to make the files readonly until you checkout the files. Trying to use ILRepack with the /keyfile option will result in an exception.

System.UnauthorizedAccessException: Access to the path '' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode)
at ILRepacking.ILRepack.Repack()
at ILRepacking.ILRepack.Main(String[] args)

@gluck gluck closed this as completed in 46c3271 Apr 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant