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

learn more… | top users | synonyms

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
93 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
139 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
42 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
136 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
31 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
129 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
211 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
55 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
160 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
110 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
25 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
125 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
124 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
75 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
29 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
151 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
141 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
4k 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
105 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
126 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
523 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
316 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
7k 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
2k 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
57 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
586 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
286 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
156 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
683 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
276 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
223 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
191 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
794 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
74 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
38 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
88 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
320 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
732 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
35 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 ...
0
votes
1answer
164 views

The “ExpressionTranslationBuildTask” task failed unexpectedly

I'm creating a Visual Studio sharepoint 2013 workflow, and I'm getting this error: The "ExpressionTranslationBuildTask" task failed unexpectedly. System.NullReferenceException: Object reference not ...
10
votes
3answers
2k views

Visual Studio 2012. Visual webpart's ascx.g.cs file empty after registering any control

I've discovered a problem when a Visual webpart's g.cs appears to be empty. I'm using Visual Studio 2012 Update 3 and a project for SharePoint 2010. The steps to reproduce the problem: in Visual ...
0
votes
1answer
660 views

Adding a custom control in visual web part

Can anyone please provide steps or a link for deploying a visual webpart with custom control in sharepoint 2013?
0
votes
1answer
2k views

Creating and deploying a visual webpart using VS 2012

I'm new to sharepoint. I managed to create a visual web part in VS 2012. But I don't know how to deploy it properly. I only added a button control to the webpart page. After that I used F5 to deploy ...
0
votes
1answer
1k views

Error occurred in deployment step 'Activate Features' while trying to deploy an event receiver?

I cant seem to figure out what the issue is while I try to deploy my event receiver targeted at a particular list on my site. All I am trying to do in the event receiver is to check (on ...
0
votes
1answer
77 views

wsp activation does nothing

I have created a site template, downloaded and imported my WSP into Visual Studio 2012, selected the needed lists and dependent columns. When I deploy to a new site collection from Visual Studio ...
0
votes
1answer
105 views

How to get Last Modified Timestamp of a file from sharepoint?

I am creating a Web Application in ASP.NET wherein I need to find out Last Modified Timestamp of a file (the path of file is given). But, I could not figure out How to do It. I have written below ...