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

error MSB4175: The task factory "CodeTaskFactory" could not be loaded from the assembly "C:\Windows\Microsoft.Net\Framework\v4.0.30319\Microsoft.Build.Tasks.v4.0.dll". Access to the path 'C:\Windows\TEMP\uxqs4ln2.tmp' is denied. #9

Open
mtjbyddzqfwdyy opened this issue Nov 2, 2023 · 0 comments

Comments

@mtjbyddzqfwdyy
Copy link

MSBuild.exe在执行pyload时会在c:\windows\temp目录缓存文件。
当这个目录没有访问权限的时候,就会出现如下错误。我们如何才能自己指定一个目录来缓存临时文件?

我做了如下尝试,在代码里添加

C:\ProgramData
C:\ProgramData
C:\ProgramData;$(MSBuildAssemblySearchPaths)

来自定义临时目录位置,可是失败了。

请求帮助。

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