视觉工作室问题 [英] Visual studio problem

查看:131
本文介绍了视觉工作室问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在Visual Studio 2015或2017中运行MVC项目时,

需要很长时间没有响应,最后在Temp文件夹或obj文件夹中给我错误我尝试关闭Visual Studio并删除Temp,obj和bin文件夹

但它仍然有同样的问题,我删除Visual Studio并重新安装它没有任何好处



when i run MVC project in Visual Studio 2015 or 2017,
take very long time without response and at the end Give me Error in Temp Folder or obj folder i Try To close Visual Studio and delete Temp , obj and bin folder
but it still has the same problem and i remove Visual studio and reinstall it without any benefit

Timed out waiting for a program to execute. The command being executed was "D:\ITI\22-MVC5\Day6\Day6Templates\Day6Templates\bin\roslyn\csc.exe" /shared /keepalive:"10" /noconfig  /fullpaths @"C:\Users\Faten Elhariry\AppData\Local\Temp\Temporary ASP.NET Files\vs\018760c7\6e431245\fc4t3aua.cmdline".





如何解决这个问题?



我尝试过的事情:





How i can Solve this issue ?

What I have tried:

Try To close Visual Studio and delete Temp , obj and bin folder 
but it still has the same problem and i remove Visual studio and reinstall it without any benefit  

推荐答案

某些东西仍然锁定这些目录所以你需要使用一些实用工具来计算这些目录锁定了什么进程。



Powershell

filesystems - 找出在Windows中锁定文件或文件夹的进程 - 超级用户 [ ^ ]





Sysinternals



TechNet如何找出在Windows中锁定文件或文件夹的进程 [ ^ ]



除了告诉你使用的工具,你要记住,我们无法访问你的电脑。
Something still has a lock on those directories so you'll need to use some utilities to figure out what process has the lock on those directories.

Powershell
filesystems - Find out which process is locking a file or folder in Windows - Super User[^]


Sysinternals

TechNet How to find out which process is locking a file or folder in Windows[^]

Other than telling you the tools to use, you'll have to do the rest of the work as keep in mind, we don't have access to your computer.


这篇关于视觉工作室问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆