i used Visual Studio 2013 permeium, and resharper 13 ,
when ever i open an specific project, resharper freezing ,
i have to suspend resharper inorder to open that project ,
Please Help
Resolved
I opened my project and did not touch it and after half an hour without freezing the project was Opened
Related
I have recently downloaded visual studio 2022 for use in Unity and it was working correctly for a while, but today it has stopped auto-completing certain method names such as OnMouseButtonDown() and OnTriggerEnter2D(). Other methods such as Start() and Update() do work, but a majority of Unity specific methods are no longer auto completed. I've tried restarting visual studio code, restarting my computer and uninstalling and reinstalling visual studio code, but the error still persists. Any help would be greatly appreciated. Thanks.
This problem can cause various of reasons, even some IDE bug (which Visual Studio 2022 has a large number) but there is pretty common solution for this one
Firstly you'll have to make sure, that your Game development with Unity workload is checked
So
Open Visual Studio Installer and click Modify button across your version of Visual Studio.
Click on a Workloads panel and make sure that Game development with Unity workload is checked as shown on the image
Click Modify button at the bottom right corner.
Then you need to ensure, that desired version of Visual Studio is set as a External Script Editor inside Unity engine
Open Unity
Edit -> Preferences -> External Tools
And make sure that External Script Editor set as a current version of like so
Click on Regenerate project files button and try to always open your scripts directly from Unity
Restart Unity after those steps
I have Windows System(OS 10), I installed Visual Studio 12 and 17 versions and SQL SERVER 2014. Unfortunately, when I am trying to open projects in vs2012/17 it is closing immediately after clicking on an open project or new Project creation. I observed another thing System IIS also not working properly. I am unable to find the reason.
Try this way
Open visual Studio
Connect to your team project in Team Explorer
Open the project you wanted initialy to open. This can either be done
by File -> Open -> Project/Solution or by selecting the project from
the recent tab.
Check %APPDATA%\Microsoft\VisualStudio\\ActivityLog.xml location for errors
Every time I try to build my solution in VS2013, nothing builds, no errors - But in the status bar it says: "This item does not support previewing"
I googled around a bit but have come up empty.
But if I right click on each project and select build it works fine.
Any ideas?
Perhaps this message is totally unrelated... Post hoc ergo propter hoc
Steps to reproduce on my machine:
Right Click any project in solution: select build
Status bar displays Build successful
Right click solution select build
Status bar displays : "This item does not support previewing"
Perhaps it isnt related, but it sure does appear to be.
I was able to fix this... Somehow nothing was selected to build in the solution configuration. I right clicked on the solution, went to properties and then selected COnfiguration Properties and clicked the Build box for all the projects...
I have no idea how they became unchecked, only thing I can think of is a co-worker was trolling me.....
I've had this problem (i.e. debug not starting, and no error message) with Visual Studio 2015 in the following two cases:
after loading a solution that had previously been built with Visual Studio 2010
and also after using the "save as" function in Visual Studio 2015 to update a solution that had been started with Visual Studio 2010 (using Save as updates the solution file and sets the active Visual Studio version to 14 - i.e. VS 2015).
In both cases, deleting the bin and obj directories under the startup project fixed the problem. It's also worth closing visual studio and making sure that there are no {yourprojectname}.vshost.exe processes still running - if there are then kill them before running visual studio again. On that note, if you have multiple versions of visual studio on your machine, you should also check that you don't have the same solution open in the other version of visual studio at the same time (I've done that one myself).
One of the comments here suggests disabling the "enable visual studio hosted process" option. Don't do that if you can at all avoid it: you'll lose lots of debugging functionality (particularly in the area of being able to edit code while your solution is running).
Hope that helps someone out there.
Solution for VS2015
"this item does not support previewing" vs2015 (Visual Studio 2015/2016)
Step 1. Go to Control Panel -> Programs and Features
Step 2. Uninstall all: Windows Software Development Kit - Windows 10.0.10586.15 (maybe you have diff ver)
Step 3. Download new latest Windows Software Development Kit
https://go.microsoft.com/fwlink/p/?LinkId=619296
Install & Create new project, Done!
Dclick on MainPage.xaml and you will see Loading designer...
1: Add below lines in App.conf
<specFlow>
<unitTestProvider name="MSTest"></unitTestProvider>
</specFlow>
2: add a reference to Microsoft.VisualStudio.QualityTestTools.UnitTestFramework.dll
right click on your project and select: Add Reference
3: add using Microsoft.VisualStudio.TestTools.UnitTesting; in Step Defination
4: goto feature file and run it. This is what solve my problem on vs2013
I faced same issue with .aspx file. I just right click on the .aspx file and select open with (HTML Editor). You can choose any form the list.
I have come across the same issue for me, I have opened a project in VS 2010 and then when I open the same in VS 2015 then his error has occurred.
Solution:
By Closing the VS2010 project solution fixed the issue.
Here is the situation:
I checkout a new project to directory. I open a solution and it stucks at loading project XYZ.
What I see is loading window and "Loading XYZ..." on the statusbar.
The solution we made up is the following:
Open the solution (let's say its name is Solution.sln) in a notepad
Remove the problematic XYZ project
for example:
Project("{FAE04EC0-301F-11A3-BF4B-00C04F79EFBC}") = "HelloWorld.Tool.XYZ", "HelloWorld.Tool.XYZ\HelloWorld.Tool.XYZ.csproj", "{F614BEF7-B429-487D-9055-01BC9FD543EC}"
EndProject
Reopen the solution
But when there are more such problematic projects in a solution
Visual Studio stucks at the other projects. Sometimes it happens that there are a few projects to remove at once then Visual Studio starts. Then I add projects via notepad one by one repeating the proccess of reopening solution.
As you see this proccess is often very tedious and time-consuming.
Why it happens? How to solve it in a simpler manner?
I am using Visual Studio 2010 with Resharper
EDIT: Suspending Resharper didn't help
I've been using a solution since VS2010 was released. My solution has a number of projects in it. Until a couple of weeks ago, all was fine. All of a sudden, whenever I click the button to start debugging my code, the Visual Studio 2010 installer starts.
It takes around 5 minutes for it to complete and then I am able to debug as normal. If I restart the debug session then I have to wait for the installer again.
I haven't tried cancelling the installer, but I just want to stop it altogether.
Has anyone experienced a similar issue? How can I solve this? Its doing my head in!! :S
Thanks
Neil
I would recommend reinstalling Visual Studio. If that doesn't help something else might be wrong with your system and you may end up to re-image it. Being able to re-image a development PC can be a life-saver at times.
When you say "Visual Studio 2010 installer" do you mean the installer for Visual Studio 2010 or an installer project inside your solution? If it's the latter then you may want to check that that project isn't specified as the startup project (right'click Solution -> Properties -> Common Properties -> Startup Project -> Choose "Single startup project" and specify the project you want the debugger to run when you press F5 or the debugger button. Hope that helps.