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

learn more… | top users | synonyms

1
vote
2answers
230 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
8k 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
179 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
197 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
870 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
419 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 ...
9
votes
4answers
12k 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
4k 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
113 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
2k 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
816 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
369 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
206 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
1k 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
348 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 ...
1
vote
4answers
3k 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
330 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
255 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
1k 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
91 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 ...
1
vote
1answer
104 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
424 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
1k 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 ...
0
votes
1answer
221 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 ...
11
votes
3answers
4k 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
919 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
2k 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
81 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
126 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 ...
11
votes
1answer
364 views

Invoking an ActivityAction in a SharePoint workflow

In a Visual Studio, SharePoint 2013 workflow, the "IF" Activity provided by Microsoft can take a condition and two activities as parameters: I want to write a custom activity that can similarly ...
0
votes
1answer
63 views

Use site theme elements in emails sent by workflow

I am creating a SharePoint 2010 workflow in Visual Studio 2012. I would like to use colors and fonts from the site's theme to style the emails. Because the customers may change the site theme, I'd ...
1
vote
0answers
412 views

Create list/app on SharePoint 2013 Online using Visual Studio 2013 [closed]

I'm working on sharePoint 2013 Online. I try to create list using Visual Studio 2013. Only way that I have found is to create an app. But how I can build app without this address: and how to display ...
0
votes
1answer
67 views

Next button is disabled while creating provided hosted app for sharepoint in visual studio

While creating a new SharePoint Provided hosted App in VS 2012, next button on 'Specify the app for SharePoint settings' page is disabled for me. Due to which I am not able to navigate to 'Configure ...
2
votes
1answer
142 views

How to send the Assignment Email with a link to the task in it SharePoint 2013 Visual Studio Workflow

I have developed a Visual Studio 2012 workflow for SharePoint 2013. I am trying to find a way to simply send a link to the actual Task in the Assignment email. I have created a variable and set the ...
0
votes
1answer
101 views

SharePoint 2010 Visual Web Part development @_parser.AddParsedSubObject LiteralControl WebPartPageUserException

I am using SharePoint 2010 Foundation on a vmware virtual machine. I am using Visual Studio 2012 update 3. I am working on a visual web part project. I have so far in this project only used asp.net ...
0
votes
1answer
268 views

Best way to copy a site from one farm to another

I have to make a specific site with very easy requirements, one content type, one document library, and some columns are tied to managed metadata terms. I dont see the need to make everything with ...
1
vote
0answers
756 views

Visual Studio 2012 not deploying SharePoint 2013 Workflow

I am trying to deploy a workflow (list or site) to an app web via a SharePoint Hosted App solution in Visual Studio 2012. Once I deploy the app, I noticed that the workflow isn't available in the ...
1
vote
0answers
182 views

Sharepoint List with Custom Form: setting the Content Type

I've been developing a list with custom forms using Sharepoint 2010 using this excellent article: ...
5
votes
3answers
7k views

Error occurred in deployment step 'Recycle IIS Application Pool': Object reference not set to an instance of an object

I get this error in the deployment step of a share-point farm based project. Most of the suggested solutions on the net are a simple Visual Studio re-start, however, a simple VS restart won't fix ...
2
votes
1answer
362 views

How to disable project migration dialogue when opening a SharePoint 2010 project?

We need to develop for SharePoint 2013 and SharePoint 2010 concurrently, so I installed Windows Server 2012 on my machine with a SharePoint 2013 installed, because of the downward compatibility of ...
0
votes
1answer
68 views

Deployment dedicated project does not work with VS 2012

I have a complex application that is split into two projects, and a deployment project. MySolution.sln Core.csproj Client.csproj Deployment.csproj The deployment project is setup to include all ...
3
votes
1answer
151 views

Open Source SharePoint Project

Goal: Learn real-based SharePoint project based on customization with Visual Studio. I wanna learn the source code, architecture, N-tier etc of a completed SP project. Problem: Is there one or many ...
1
vote
1answer
561 views

Create document library structure in a Vs2012 project

Is it possible to create a Visual Studio 2012 project containing multiple document libraries with folders and subfolders that can be builded/deployed to a sharepoint site? My need is to deploy the ...
2
votes
0answers
55 views

visual studio workflow

So I tried to follow the tutorial on the following site: ...
2
votes
1answer
372 views

Visual studio 2012 Workflow 2013 to change file permissions in SharePoint 2013 Document?

Possible to change file level permission on a document (in document library) with Visual studio 2012 workflow for SharePoint Online 2013?
7
votes
4answers
3k views

SharePoint project builds but will not package

I have a SharePoint project that references (and includes in its package) a non-SharePoint project. There is a class in my SharePoint project that references the non-SharePoint project, so has a ...
2
votes
1answer
331 views

SharePoint Online 2013 Workflow to change file permission in Document Library?

1.What are my options with SPD 2013 If I want to change file permission in a workflow? 2.Where does SPO host 2013 Workfows? 3.If connecting to SPO Can I use Worklow Manager 1.0? 4.Will I need to ...
-1
votes
1answer
305 views

Sequential workflow for retrieving list items

How can i get the list items in sequential workflow on visual studio? Note: list is also created on visual studio in the same project.