开发者

I'm unable to create NuGut Package. How to solve?

I'm unable to create nuget package, due I think to a lack of write permissions.

The path is the result of the Click Once inst开发者_如何学Callation.

How can I solve this?

Error:


NuGet Package Explorer

Unable to generate a temporary class (result=1).

error CS0016: Could not write to output file 'c:\Users\Adam Speight\AppData\Local\Temp\0c2jg3wu.dll' -- 'Access is denied. '


OK


Strange. Have you checked the folder exists, and the permissions on it? You could try temporarily granting Everyone write access on the folder to see if that helps.

Also check the disk isn't full, or the folder full of filenames generated by GetTempFile() - not sure what that does if it generates a random filename that already exists.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜