Visual Studio is an integrated development environment (IDE) from Microsoft.

learn more… | top users | synonyms

4
votes
4answers
538 views

Visual Studio 2012 Breakpoints do not hit

I have developed a simple visual webpart for SharePoint 2013 in Visual Studio 2012. The .apsx page only has one label. Then I say deploy and attach to process w3wp and refresh the webpage where I have ...
1
vote
1answer
193 views

How to connect SharePoint 2013 and Visual Studio 2012 to create a simple form?

I am a beginner when it comes to SharePoint so please bear with me, I apologize in advance for my inaccuracies. Here is what I need to do... I need to build a form in C# .NET in VS 2012, deploy it ...
2
votes
1answer
370 views

How to add tooltips to sharepoint 2013 form fields

I am working with a User (sandbox) Solution created in Visual Studio 2012 for SharePoint 2013. I have been asked to add custom tooltips to the default new and edit form fields. I have not been able ...
2
votes
1answer
190 views

How to upgrade a Visual Studio Project from SharePoint 2010 to SharePoint 2013 (VS 2010 to VS 2012) - For WebParts, MasterPage, AppPage, User Controls

We have a SharePoint 2010 project solution which we are trying to uprgade to SharePoint 2013. This includes webparts, application pages, user controls, masterpage, etc. Foll. is the procedure we ...
0
votes
0answers
53 views

Sharepoint - Visual Studio 2012 Deploy problem

I'm having a problem, when I deploy my solution through VS2012 it looks like it wont update what I already have deployed, the changes I make on code wont take effect. I have the following scenario: 1 ...
0
votes
0answers
20 views

Announcements list does not show on site after deploying application from Visual Studio

I have just started studying custom workflows. I am following the procedures in this link and I am stuck in 5. Test the workflow. It says in step 2 that I should navigate to the Announcements list, ...
1
vote
0answers
340 views

The workflow template has specified no FormURN for this page Error when Associating Out of the box SharePoint 2010 publihsing approval workflow

Hello i have associated a imported a out of the box SharePoint 2010 Publishing Approval Workflow from Sharepoint Designer 2013 to Visual studio 2012 with the import Sharepoint 2010 workflow project in ...
0
votes
1answer
49 views

Develop Sharepoint 2013 web parts from client using VS 2012

How I can develop my visual web parts from my client using VS 2012? When I want to create a sharepoint 2013 project I receive a message that sharepoint server does not installed on my client. Is ...
0
votes
0answers
101 views

How to change icon from plus to minus when adding/removing rows in SP2013 using VS2012?

I just received this project and need to make a minor change, but I cannot figure out how the original developer added the icons to make the change. At the end of the row is a plus icon so the users ...
2
votes
2answers
154 views

SPEmailEventReceiver in sharepoint 2013

I'm stuck in use of SPEmailEventReceiver in sharepoint 2013. this my code: public class EREmail : SPEmailEventReceiver // this error because namespace can't found { public override void ...
0
votes
0answers
47 views

Can't get Workflow 2013 to work

In my Farm Solution, I want to add a new Workflow with Visual Studio. It's a 2013 Workflow. I run the wizard to create it, and add something to the sequence. Then I click on Deploy. It's a List ...
2
votes
0answers
158 views

Unit Testing Of SharePoint Custom Code with Emulator

I am trying to test my Sharepoint custom code, using Microsoft.SharePoint.Emulator with VS2012 Premium ( because I have MSDN Premium subscription) I know its officially comes with VS Ultimate ...
0
votes
0answers
33 views

Deploy silverlight xaps to clientbin

I have some xaps being built by other projects in my solution and I need the xaps to be included in the resulting WSP. I have a mapped folder Layouts with a sub-folder ClientBin and then in the ...
0
votes
1answer
141 views

“Feature has conflicting event reciever settings” error

I am new to SharePoint so I apologize if this is not phrased properly, but I created a BDC to a SQL database in Visual Studio 2012. I am trying to have the list created programmatically through an ...
1
vote
1answer
236 views

using $SPUrl when developing visual web part via visual studio 2013 or 2012 and ascx.g.cs file gets empty!

Im developing a Visual Web part for SharePoint 2010 via Visual Studio 2013. And i want to add css link to visual web part in .ascx file like this: <SharePoint:CssRegistration Name="<% ...
0
votes
0answers
65 views

Assign a same workflow task form to multiple users and collaborate their inputs

Sharepoint 2010 I need to assign a custom workflow task form to multiple users and collaborate each users input from the task form programmatically using visual studio. Any pointers on how this can ...
2
votes
2answers
203 views

I cannot publish (package) a sharepoint solution using Visual Studio 2012

I have received a sharepoint project which has got some visual webparts in it and I would like to create a wsp. I clicked on Publish button, but nothing happens. Nothing happens in the output window ...
1
vote
1answer
126 views

Custom Workflow Feature not available in Site Features or Site Collection Features

I have a Sequential Workflow created in Visual Studio. In VS I can right click and deploy the package without issue. On the TEST environment I use the command add-spsolution and then deploy it to my ...
2
votes
2answers
26 views

Controlling which feature a project element is added to

How does visual studio decide which feature to add an element to? My features have a specific order which they need to be enabled (and its set using Feature Dependencies) but I need a simpler method ...
0
votes
2answers
134 views

Call Javascript functions from Server

I want to develop a simple web part using VS 2012 and add this code for button click: SPListItem Item = SPContext.Current.Web.Lists["Tasks"].Items.Add(); Item["Title"] = TextBox1.Text; Item["Due ...
3
votes
1answer
136 views

SharePoint Project does not deploy

I upgraded SP 2010 Solution created using VS 2010 to SP 2013 solution in VS 2012. The Solution has one SharePoint project which references another SharePoint project in the same solution. There are ...
3
votes
1answer
87 views

This projects needs to be migrated?

I have a sharepoint 2010 solution. i migrated it to sp 2013, all sharepoint 2010 projects have been migrated without any problems. Office projects (Excel and outlook addins) however have been acting ...
0
votes
1answer
30 views

SequentialWorkflowActivity cannot be opened in designer

I have a number of Sequential Workflows that I created. Given they all used the same base group of methods I created a new base SequentialWorkflowActivity for my Sequential Workflows to inherit from. ...
1
vote
1answer
192 views

Create infopath form using visual studio 2012 and bind it to list

Can we create infopath form with visual studio ? and can we bind the same with list ? please give me some links to do this task
0
votes
1answer
34 views

Content type form in infopath for Content type created in Visual studio

I have created content type in Visual Studio and I have to apply infopath form to that content type in infopath. How do i proceed further ?
1
vote
2answers
159 views

WritingCustomExceptions to EventViewer using SPDiagnosticsservice

I want to write my customexception to eventviewer , After doing some research I found that I can do that using SPDiagnosticsservice Class. I want to override SPDiagnosticsService and write my ...
3
votes
3answers
5k views

Retrieve list item using CSOM on SharePoint online isn't working

I've been stuck on this problem for couple days, I develop app model on SharePoint online using provider hosted model. From clientwebpart, i want to access sharepoint list item. I can access list ...
0
votes
1answer
119 views

Is there a better way to edit Elements.xml while creating a custom ribbon?

I am creating my own custom ribbon button using this article as reference. My code in the file Elements.xml goes something like this: <CommandUIHandler Command="NewRibbonButtonCommand" ...
0
votes
1answer
141 views

How to use versioning when using same .snk file for multiple SharePoint projects in the same solution?

I am trying to find the right way to set up my SharePoint solution with miltiple projects (in VS2012). In that, I am having difficulty understanding the concept of reusing the strong name key file. ...
3
votes
1answer
607 views

Unable to find Event Receiver template in Visual Studio 2012

This would probably be right under my nose but I am having a hard time finding it. I am trying to create an event receiver in Visual Studio 2012. From this video in YouTube I gather that in Visual ...
0
votes
1answer
353 views

Provision a 2013 list using a lookup with content in Visual Studio 2012

I have a list, List A, which contains a lookup column to List B. When I deploy these lists I pr epopulate the lookup list (List B) with some sample items. I also want to deploy List A with some ...
7
votes
4answers
8k views

Feature has already been installed. Use the force attribute to explicitly re-install the feature

We have several SharePoint 2010 solutions which we want to deploy to SharePoint 2013 with Visual Studio 2012 running on Windows Server 2012. Site solutions work. But farm solutions just don't. I get ...
1
vote
2answers
3k views

How to resolve “One or more field types are not installed properly” Error

I have an SP 2010 Visual Studio 2012/13 solution that creates Site Columns and a document library. The site columns are created correctly since I can see and verify them. The problem I have is with ...
1
vote
1answer
71 views

Visualstudio 2012 sharepoint workflow toolbox not visible

I want to create a designer custom action in SharePoint 2013. I use visualstudio 2012 but i can't view SharePoint toolbox . I want to create an activity with createtaskwithcontenttype . Thanks
1
vote
1answer
1k views

Add a visual web part to the default page of the custom site definition via ONET.xml file

We have created a SharePoint solution with custom site definition and a simple visual Webpart using Visual Studio 2012. The purpose of the solution would be to add the custom visual webpart to the ...
0
votes
2answers
646 views

SP 2013 VS Workflow error “MTW Client is invalid”

When deploying a Workflow enabled app from Visual Studio (2012/2013), receive the error "MTW Client is invalid". More of the same error in the ULS logs. SharePoint 2013 designer Workflows deploy ...
0
votes
1answer
319 views

Overriding Sharepoint 2013 Web Parts in VS 2012

I'd like to override Content Search Web Part (SharePoint 2013) and I found following articles on this subject Dev Help: SharePoint 2013 Content Search Web Part (CSWP) in Variation Sites SharePoint ...
1
vote
0answers
180 views

Missing “Deploy”-Button Visual Studio 2012

Yesterday I have installed Visual Studio 2012 Premium on my SharePoint 2013 Development Machine. I also installed the Office Developer Tools to get the SP2013 Project templates. Opening my SP 2010 ...
2
votes
2answers
769 views

Best way to rename a visual studio 2012 sharepoint solution names, project names, namespaces, assembly names

I have created a Visual Studio 2012 solution for SharePoint 2013. In this solution there are 19 projects. In this solution there is some name from some customer. Now I would like to clone this visual ...
1
vote
2answers
290 views

How to get rss feeds programmatically?

I want to get rss feeds from multiple sources and store into the list. Is there anyway to get rss feeds from specified urls and store them in to the list? Please provide reference links or code ...
0
votes
4answers
2k views

Create visual webpart for SharePoint Online

I want to create a visual webpart for SharePoint 2013 Online but I find that the requirement is to install the SharePoint on the local machine. Another thing, do SharePoint 2013 Foundation support ...
0
votes
2answers
233 views

Custom user profile property returns null value

I am accessing the user profile property from code but it returns null value as well as false in the boolean type property. My code is: if (web != null) { SPList list = ...
0
votes
1answer
198 views

How to assign taxonomy field to user profile property?

I want to assign a taxonomy field value to the user profile property which is fetched from ListItem. The taxonomy field is single selection valued. The user profile property name is: Dept. ...
0
votes
1answer
865 views

Users can see (and approve!) each other's tasks

Is there a quick and easy way to prevent users from seeing and approving each other's tasks? I do NOT want to create a task list per user and would like to avoid setting up item level permissions / ...
0
votes
1answer
82 views

How to deploy an application page and set it as introduction/startup page?

I have a Powershell script that creates a web app and a (root) site collection (Sharepoint 2010). In VS2012 I want to deploy an application page that will be a introduction/startup page. How can be ...
0
votes
0answers
40 views

Why I can't access to “these permissions” in my custom workflow activity?

This is my code definition. <RuleDesigner Sentence="Add %1 to Object %2(Output log to %3)"> <FieldBind Field="Permissions" Text="these permissions" Id="1" ...
1
vote
1answer
90 views

Workflow.xaml - Copy to SharePoint root

When I'm writing Assemblies, I can copy to GAC and avoid re-deploying them each time I want to make a code change. When I'm writing ASPX forms, I can copy them to SharePoint root, maybe give an IIS ...
1
vote
1answer
349 views

User profile picture in visual web part

I want to make user upload the profile picture in my web part, I searched over the internet how to accomplish this? I found the this post which describes how to get it. My code is: void ...
0
votes
2answers
821 views

Cannot open SharePoint 2010 Package in visual studio 2012

I tried to use Visual Studio 2012 to develop SharePoint 2010 solution on TFS 2012. I created the project on my Machine & added it to TFS, but when one of my team get latest version and check in ...
1
vote
0answers
37 views

Visual Studio generates 64 errors per custom form for a list

While creating a List Custom Form for Shareppoint 2013, Visual Studio 2012 generates 64 errors, (as visualized below) for every custom form added to the solution. The deployment just works fine as ...