In Visual Studio 2010 there used to be an option to where you right-click on a project and convert it to a web application.
I want to do that and I cant seem to find that option to convert a web project to a web application with visual studio 2012
Related
I have created a Visual studio 2012 asp.net project on my local machine and now want to use in other sharepoint site.
How to convert my asp.net project to wsp file and to deploy to sharepoint environment.
You cannot automatically convert asp.net project to wsp file!
You need to adjust and change your asp.net code manually so it can be deployed to SharePoint and there is a lot to consider depending on your asp.net Projects functionality and structure - wsp (full trust code with c#) vs add-in (clientside code with JavaScript and REST).
Start here at MSDN: SharePoint general development
If you use the new SharePoint Framework (SPFx) to develop your client-side webparts, then you don't need a Visual Studio installed on a SharePoint server. You don't even need a SharePoint server.
Using SPFx you can develop in Notepad or any other code editor.
Note that SPFx is currently (Dec 13 2016) in preview.
Start here at Office Dev Center: Overview of SharePoint Framework (SPFx)
Is there any possibility to prevent Visual Studio 2013 from opening my web application after I published them? I did not find anything on the web.
You should have a file containing your publish settings under Properties/PublishProfiles in your web application.
Open up the relevant Publish Profile for your target, and locate:
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
Change that to false and that should do the trick.
I have a custom SSRS Data Processing Extension and an associated custom query designer that was created for SSRS 2008 R2. I am attempting to get this to work with SSRS 2012.
My custom query designer implements the IQueryDesigner interface found in Microsoft.ReportingServices.QueryDesigners.dll. This DLL can be found in the Visual Studio 2010 or Visual Studio 2012 folder, depending on which version of the BI tools are installed.
e.g. "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies" for Visual Studio 2012.
In SSRS 2012 the Data Processing Extension works fine but the query designer does not.
It seems that although SSRS 2012 extensions require .NET 3.5, the IQueryDesigner interface requires .NET 4.
For example, if I create a Class Library project with a Target Framework of ".NET Framework 3.5", then reference Microsoft.ReportingServices.QueryDesigners.dll, I am unable to build.
If I change the Target Framework to ".NET Framework 4" I can then build, but the resulting DLL does not work in SSRS 2012.
Does anyone have ideas what I might be doing wrong? Or perhaps implementing IQueryDesigner simply no longer works as of SSRS 2012?
UPDATE: I resolved this issue by creating two DLLs. The first implements the Data Processing Extension and is built using .NET 3.5. The second implements the IQueryDesigner interface and is built using .NET 4.
I am new to SharePoint 2013. I am using trial version vs 2012. I want to use the WSPBuilder to develop the web parts. I have install the WSPBuilder and it is not showing in vs 2012.
I have used the below link but not solved the issue.
http://gblsharepoint.blogspot.in/2013/01/using-wspbuilder-with-visual-studio-2012.htm
I have done the copy and past the "Microsoft Visual Studio" and "Microsoft Visual Studio Macros" hot applications and given the version as "11.0". It is working.
Can any one help me
WSP Builder had it's use back in the SharePoint 2007 days, where Visual Studio had no support for SharePoint packages.
Ever since the release of Visual Studio 2010 and Visual Studio 2012 there is no real need for WSP Builder anymore.
In order to use Visual Studio 2012 with SharePoint 2013 you will have to install an additional package though. To install it, launch the Web Platform Installer (or download the installer if it's not on your server from http://www.microsoft.com/web/downloads/platform.aspx). In the installer, search for SharePoint. From the results, install Microsoft Office Developer Tools for Visual Studio 2012.
Launch Visual Studio and when you create a new project/solution you should see a Office/SharePoint category. Underneath there, pick the SharePoint Solutions category. If you just want to create a single webpart in a WSP file, then the easiest is to pick the "SharePoint 2013 - Visual Web Part" project item. That will set you with a project containing a feature, a visual webpart that you can extend with your own code, etc. Build the webpart and you will end up with a WSP file in your debug/release folders that you can deploy to your server (or by simply pressing F5 it will automatically deploy it to the farm / site you specified when creating the project).
If you use F5 to deploy, don't forget to add the webpart to a page after deployment as Visual Studio will not do that for you (Edit a page, switch to the insert tab in the ribbon, pick your webpart. Your webpart will be under the 'custom' category if you don't modify the elements.xml file of the webpart).
I have a Windows Azure web site. I started this web site as a New -> Compute -> Web Site -> From Gallery. Once here, I chose the Orchard CMS. I have the site successfully running in Windows Azure. My challenge is, I want to do some customizations to it.
How do I get this code into my local Visual Studio 2012 instance so that I can:
Make customizations to the site with Visual Studio 2012.
Check it into source control so other on my team can work on it
I saw the following post: http://www.davidhayden.me/blog/installing-orchard-cms-as-an-azure-web-site. However, this only talks about opening the site in WebMatrix. I want to skip WebMatrix and go straight to Visual Studio if possible.
Download WebMatrix and click the Visual Studio button in the ribbon. It must create a solution file for you to then access your website via Visual Studio. I don't have an Azure website at the moment to try it with.
You may need to tweak the registry to get the VS 2012 to open properly:
Type regedit and select the HKEY_CLASSES_ROOT.
Locate VisualStudio.DTE and change the CurVer to
VisualStudio.DTE.11.0
Finally change the CLSID to {059618E6-4639-4D1A-A248-1384E368D5C3}
You do not need to use WebMatrix at all; another option is to just download the files from FTP and then create a VS solution and add the files you downloaded.
From Visual Studio you can easily deploy the solution to TFS and to your azure website.
As a side note, as of today (January 28th, 2014) the registry edit proposed by SilverNinja is no longer needed, I was able to open VS 2013 Professional from Webmatrix without editing the registry.