gpt4 book ai didi

c++ - 在 Visual Studio 2013 中运行程序时出错

转载 作者:行者123 更新时间:2023-11-28 02:35:11 25 4
gpt4 key购买 nike

尝试在 Visual Studio 2013 C++ 中运行程序时,我遇到了这些问题。我知道代码没问题,但每次都会发生这种情况。

Error 1 错误:本次编译的源文件位于:

"C:\Users\Łukasz\AppData\Local\Temp\4fac5eed-ed73-4dda-8bdc-c333e2e82b4c.txt" C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\CodeAnalysis\Microsoft.CodeAnalysis.targets

错误 2

error MSB3758: An error has occurred during compilation. error CS0016: Could not write to output file 'c:\Users\Łukasz\AppData\Local\Temp\dtlusbnh.dll' -- 'Access is denied. ' C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\CodeAnalysis\Microsoft.CodeAnalysis.targets

错误 3

error MSB4036: The "SetEnvironmentVariable" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with in the project file, or in the *.tasks files located in the "C:\Program Files (x86)\MSBuild\12.0\bin" directory. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\CodeAnalysis\Microsoft.CodeAnalysis.targets

最佳答案

Could not write to output file

错误信息表示文件正在使用中。

因为它是一个 DLL,它被一些程序或程序使用。

您需要终止这些进程。

关于c++ - 在 Visual Studio 2013 中运行程序时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27746642/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com