Visual Studio 2012 becomes not reponding when include RPT file in project - visual-studio-2012

Excuse me, why my visual studio 2012 becomes not responding when include (include in project or copy paste the file) RPT file in project ?
Yesterday was still alright. I've tried reinstall the visual studio, include it in other projects and reset all settings via tools-> import and export settings... but the problem is still exist.

Related

Unable to find the applicationhost.config to configure remote access in Visual Studio 2015

I am developing an ASP.NET MVC project. Now I just installed Visual Studio 2015. before I developing that project using Visual Studio 2013. So now I imported that project into Visual Studio 2015 installed on my new laptop to continue developing. Importing project and developing process all working fine.
But the problem is to configure IIS Express of my project for remote access. I enabled in Visual Studio 2013 on my old laptop successfully following this link - http://johan.driessen.se/posts/Accessing-an-IIS-Express-site-from-a-remote-computer. For VS 2013, the IIS config file is under D:\Users[YourName]\Documents\IISExpress\config\applicationhost.config. So now I need to configure it for VS 2015. As the link mentioned, the config file must be in /{project folder}/.vs/config/applicationhost.config. I searched for that file in my project, I cannot find it.
You can see my project structure below.
So I searched for config settings in D:\Users[YourName]\Documents\IISExpress\config\applicationhost.config because this project was built using VS 2013. But there is no config settings for this project. I already run my project on browser and it is running fine.
The problem is I cannot find binding settings in D:\Users[YourName]\Documents\IISExpress\config\applicationhost.config and cannot find applicationhost.config in project folder for IIS configuration. Where can I find that file? Where can I find IIS config settings for my project in Visual Studio 2015?
.vs/applicationhost.config is not created when I opened the project
with visual studio 2015.
Finally I found the solution. Please have a look how I solved below.
I opened GITIGNORE file as in the below screenshot
Then I added/appended this line
.vs/
to that file and saved.
Then I restart visual studio and opened the project.
So .vs file is auto-created and applicationhost.config file is inside there. Hope this works for you if you have similar issue.

Why am I not able to open a VS project

I have a Visual Studio project that I created in my previous PC (32-bit if that makes any difference). I recently got a new PC (64-bit) and I am trying to open the project and I am seeing the following error:
Unsupported
This version of Visual Studio does not have the following project types installed or does not support them. You can still open these projects in the version of Visual Studio in which they were originally created.
- ONew, "C:\temp\onb\ONewSln\ONew\ONew.csproj"
No changes required
These projects can be opened in this version of Visual Studio without changing them. They will continue to open in Visual Studio 2010 SP1 and in this version of Visual Studio.
- ONewWeb, "C:\temp\onb\ONewSln\ONewWeb\ONewWeb.csproj"
- ONewSln, "C:\temp\onb\ONewSln\ONewSln.sln"
Screenshot:
Is there a add-on or visual studio component that I have to download to make it work?
Please help me resolve the issue.
After doing some research and spending hours banging my head against the wall, I figured out how to resolve the issue.
You have to install Microsoft Office Developer Tools for Visual Studio 2012.
Open up the Web Platform Installer and if you don’t have it installed, download and install it. Search for Office Developer Tools and install it.
This will enable you to open the project without any issue.
Usually you can open VS2010 SP1 files in VS2012. But after opening and on compiling you may get some errors of missing packages. Then you have to install the missing packages. Check this out: Visual Studio 2012 compatibilty.
Some solutions, projects, files, and other assets that you created in Visual Studio 2010 Service Pack 1 (SP1) will run without modification in Visual Studio 2012, but others have to be upgraded. The above document describes how various kinds of assets behave in these two versions of Visual Studio.
If you use both Visual Studio 2012 and Visual Studio 2010 SP1, you can create and modify projects and files in either version as long as you don't add features that require Visual Studio 2012.
VS2012 may convert projects when you first open them, but the changes are (except noted in the document linked) backward compatible with VS2010.

Visual studio 2012 crashes when I try to edit .hlsl or .fx files

Visual studio 2012 crashes when I try to edit .hlsl or .fx files, even after I disabled all of my extensions. I also uninstalled Parallel NSight and NShader but the syntax highlighting still shows up for these file types (and seems to be the cause of the problem). Renaming my shader file to have a different extension doesn't cause any problems. Is there a way to manually remove custom syntax highlighting rules?
UPDATE:
Resetting the user data solved my problem.
devenv.exe /ResetUserData - Removes all user settings and makes you set them again. This will get you the initial prompt for settings again, clear your recent project history, etc.
How do I truly reset every setting in Visual Studio 2012?
Make sure you have all updates/service packs installed. I don't know if there were any VS 2012 service packs, I use VS 2008 SP1 which is last really stable version known to me.
Rename or move temporarily your Visual Studio 2012 folder which is located in "Documents". Visual Studio will create new one.
Open VS and see if it helped. If not - problem is elsewhere, so rename/move your Visual Studio 2012 folder back and go to step 3.
Backup your Visual Studio settings (Tools -> Import and export settings -> Export...) and then reset them to default (Tools -> Import and export settings -> Reset...).
Open VS and try again. If settings reset didn't helped - restore your settings from backup. If it helped - you can import settings by categories and see which one is messed up.
Reinstall Visual Studio, something must be messed up in Program Files.

How to choose which version of Visual Studio gets pulled up by default?

I have VS 2012 and 2013 installed on my system.
I have a 2012 project that I want to get pulled up in VS 2013 when I double-click it from the Windows Explorer.
Is this possible?
If you only want specific slns to open in 2013, you can open the sln file in a text editor, and change the line
# Visual Studio 2012
to
# Visual Studio 2013
Note that it will ask you to upgrade the projects to 2013 when you open it for the first time. If you want all of 2013's compiler features you will have to upgrade, but if you chose not to it will still load in the 2013 IDE and you get some of the IDE related features.
Right click any solution file and select Open with... option. Use Visual Studio Version Selector as the default program to use for Visual Studio solution files.

Moving projects between MonoDevelop and Visual Studio 2012

I need to be able to open a project with MonoDevelop, work on it, save it, and then open the same project with Visual Studio 2012, work on that as well, save the changes, and open with MonoDevelop again.
How would I go about doing something like that? Is there some way to export a MonoDevelop project to Visual Studio?
MonoDevelop uses the same project and solution file format as Visual Studio so you should be able to switch between the two.
If in doubt use version control for your files then you can easily undo any changes.

Resources