In Visual Studio 2010, there was a Create GUID entry in the Tools menu. I used it all the time for SharePoint Development.
Has Tools > Create GUID been removed in Visual Studio 2012? I don't see it and resorted to Powershell [System.Guid]::NewGuid().ToString()
No it's there... at least it's available in Visual Studio 2012 Ultimate.
If missing try adding it via Tools -> External Tools and add:
%Installation Path%\Microsoft Visual Studio 11.0\Common7\Tools\guidgen.exe
EDIT: It's probably installed with Visual C++.
If you have Resharper installed you can just type nguid and hit Tab inside Visual Studio. You can even choose format you want.
Related
Architecture menu in visual studio 2012 Premium does not work. It is showing me in disable mode.I checked in customize menu but toolbar added in Disable form. I can not generate the "Visualize Code Dependencies on Dependency Graphs".
Is there any option without upgrading Visual studio 2012 from Premium to Ultimate Architecture menu work.?
No, it is an Ultimate only tool.
Architecture menu in Visual Studio show only with Microsoft Visual Studio Ultimate edition.To use this option/feature need to buy Microsoft Visual Studio Ultimate edition.
I recently developed a program in VB.net with Access Database. And I want to create setup file of it.
I'd searched on "How to create setup file". And I got that using "Deployment and Installing" we can. After that I'd install "InstallShield". But that option does not appear inside Visual Studio.
I'm using "VS Express 2012 for Windows Desktop".
Visual Studio Express 2012 does not support extensions, as such 3rd party products will not be able to provide additional functionality. The InstallShield LE page on MSDN spells this out clearly:
InstallShield Limited Edition is free for users of all Visual Studio editions except the Express editions.
Source: https://msdn.microsoft.com/en-us/library/dn531020.aspx
Your options are:
Install Visual Studio 2013 Community Edition (if you are allowed by the license) or buy Visual Studio Professional. These can be extended with either Wix or the Visual Studio Setup Package extension or Installshield.
Create a click-once installer
Use an installation system that is independent of Visual Studio and have it pick up your project output from a specific directory. You would have to author your installer outside of Visual Studio, e.g.:
NSIS
Wix and Wix Editor
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.
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.
Can i use any installation software in visual studio 2012 to create setup projects?
Because many options in setup projects with install-shield limited edition is disabled. I cannot customize those?
what can i do to get full customization support in VS 2012?
can i use any other installation software,then how can i do it?
It looks like the following posts do address your setup project support issues:
Where is Visual studio 2012 Setup project template?
Create MSI or setup Project with visual studio 2012
However, if you are looking for a previous "basic setup and deployment project type Visual Studio Installer" - then they are NOT supported anymore :(.