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

learn more… | top users | synonyms

4
votes
1answer
488 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 ...
3
votes
4answers
7k views

“The name 'InitializeControl' does not exist in the current context” error when trying to create Visual Web Part with VS 2012 for SP 2010 Foundation

I'm trying to create a blank Visual Web Part project with VS 2012 (on Windows 7) for a site on SP 2010 Foundation. When I build the project, it throws this error "The name 'InitializeControl' does not ...
2
votes
2answers
911 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 ...
0
votes
0answers
5 views

Custom initiation form for sequential work-flow?

I am creating a custom initiation form my sequential work-flow using visual studio. In that form i have two people picker fields one with multiple selects and other with single select. I want to ...
0
votes
0answers
20 views

Workflow codeactivity to download file from document library

The following code works in a console application but returns a 401 error from a workflow code activity. The aim is to download and process a .eml file from a Sharepoint 2013 document library. SP and ...
0
votes
1answer
21 views

how to install “Microsoft Office Developer Tools for Visual Studio 2012” without “Web Platform Installer”?

I have visual studio 2012 ultimate for practice , now I want to do SharePoint 2013 development through that. Generally I should download "Microsoft Office Developer Tools for Visual Studio 2012" ...
6
votes
2answers
5k views

Error occurred in deployment step Install App for SharePoint 2013

I got this error while trying to deploy an App in SharePoint 2013. The full error message is Error occurred in deployment step 'Install App for SharePoint': Failed to install App for SharePoint
1
vote
2answers
22 views

VS Package Designer File Icons - What do they mean?

In a Mapped Folder what do these two different icons indicate about each file? This is just for illustration, the same file is not being deployed twice SharePoint 2013 Visual Studio 2012 Thanks
2
votes
4answers
514 views

“The activity named 'WorkflowXaml_GUID' from scope was not found” when deploying SP 2013 Workflow

Ok. I have been getting this issue once in a while and I need to know how to fix it. Scenario: I wanted some custom actions performed on my workflow. So created an activity library and a class that ...
0
votes
1answer
928 views

SharePoint 2013 workflow stuck in started stage

I got the setup recently with workflow client and manager installed(on different servers). I started with developing a simplest of the workflow with just one activity "WriteToHistory". But upon ...
0
votes
1answer
448 views

Calling a WCF web service from a SharePoint 2013 Visual Studio Workflow

I have a scenario where I need to access a WCF web service (locally hosted) from a SharePoint 2013 Visual Studio workflow. Below given is what I have done so far: This is what the workflow does: ...
0
votes
3answers
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 ...
2
votes
3answers
564 views

Getting Minor Version, Major Version, TimeCreated, TimeModified of document using CSOM

As a follow up to this post, I have a document that I am downloading from OneDrive library using CSOM. private static void DownloadFile(ClientContext context, string listTitle, int listItemId, ...
0
votes
0answers
34 views

Edit list form with Visual Studio

I'm trying to figure out how I can edit the list forms in Visual Studio instead of SP designer, but seem unable to find anything about this, only how to create a new form. Please tell me it's possible ...
0
votes
0answers
10 views

How to create Data Driven Custom Web Application in Sharepoint

I wanted to create dynamic web page and application based on my Excel or XML data. Is it possible to do in Sharepoint? How should I do?
0
votes
2answers
45 views

Error occurred in deployment step Uninstall app for SharePoint.The local SharePoint server is not available

Check that server is running and connected to SharePoint farm. After giving database owner rights and farm administrator rights to the user. Yet it is not working. And giving the same Exception.
10
votes
3answers
4k 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 ...
7
votes
3answers
9k 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 ...
0
votes
1answer
18 views

What to Import from WSP to build Web Template solution in Visual Studio?

I'm trying to create a custom web template for SharePoint 2010. The client has already configured a prototype web site in SharePoint, which is essentially a standard blog site, with some ...
2
votes
3answers
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 ...
0
votes
2answers
643 views

List fields missing in SharePoint 2013 workflow Activity window properties [Visual Studio 2012]

I am creating a sample workflow project in SharePoint 2013 using Visual Studio 2012. An Announcement based List instance is also created. The workflow is linked to this list. In my Sequence window, i ...
0
votes
1answer
84 views

Creating app scoped external content type using Provider Hosted App in sharepoint 2013 using visual studio 2012

I am creating provider hosted app in Visual Studio 2012 using app scoped external content type having OData with Northwind url App manifest start page url : ODataNewAppWeb/Pages/Default.aspx ...
1
vote
2answers
2k views

The name 'SharePointContextProvider' does not exist in the current context

I have a Basic Provider Hosted App (which is an on premise hosted app). It has been integrated with SP2013 and hello world Page is working fine. But when I wanted to develop the actual part, I have to ...
1
vote
2answers
507 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
2k views

visual basic in sharepoint 2010

I am new to SharePoint. My head in the office told me that if you want to learn SharePoint, you have to learn ASP.Net first because we need to add webparts to the portal. I installed visual ...
1
vote
1answer
2k 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 / ...
4
votes
2answers
5k views

Get a users Name from their ID

As part of my Sharepoint hosted App i am using a list which contains a Person or Group. I am getting the ID of the person by using the following. var ApproverID = ...
11
votes
5answers
17k 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 ...
0
votes
3answers
48 views

SP2013 - Console app on DEV server unable to connect to PROD site

I'm working on a console application in VS2012 installed on my SP2013 dev server. The app is called from a command line and sets up a new FBA account using info provided by the user. When it reaches ...
3
votes
1answer
568 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 ...
1
vote
1answer
68 views

Deploying workflows from Visual Studio problems

I recently ran into a problem while trying to deploy WSP containing workflow 2013 SPIs. Visual Studio 2012 couldn't delete workflows and workflow associations during deployment process.
1
vote
1answer
94 views

SharePoint 2010 Farm Solution Deployment Error Using Non-admin Accounts

I am trying to deploy a farm solution using Visual Studio 2012 on SharePoint 2010. I receive the following error when I try to build or deploy using any admin group accounts other than the Farm Admin ...
-1
votes
1answer
380 views

Custom Workflow Task with custom content type not working in VS 2012

I have created custom content type inherited from Workflow Task (SharePoint 2013) as i have to remove and add fields according to use. I also created a custom workflow task list, which uses ...
1
vote
1answer
227 views

How to Add Custom Action To Task List in SharePoint 2013?

In one of my POC, there is a requirement to create custom action Ribbon menu for Task List. After lot of research I have tried below code snippet in empty module to add custom action. ...
1
vote
0answers
120 views

Sharepoint 2013 workflow internal status goes to Canceled with a System.FormatException

I am running a workflow attached with task pages. The workflow has been designed in visual studio 2012. After completing the first task page, the internal status of the workflow will change to ...
0
votes
1answer
224 views

C# - Creating new SharePoint user in .Net Membership provider

I have an external-facing SharePoint site that uses a .Net membership database to house claims user accounts. I'm attempting to build a solution in C# that creates a new user account in the database ...
1
vote
1answer
174 views

ActivityNotFoundException during feature activation

I have a workflow 2013 included in Full trust solution (WSP). When I add a variable of type DynamicValue to the workflow and try to deploy the solution using VS 2012 I get the error during feature ...
0
votes
0answers
70 views

Workflow Custom Activity deploy in multi server environment

I have been working on a project that involves developing a custom workflow activity for SharePoint 2013. I am developing it in a single server environment working with http. My problem occurs when ...
0
votes
1answer
121 views

Unable to fetch the SPWorkflow object programmatically

I have a requirement of fetching the SPWorkflow object on a SPListItem object. The assocaiated workflow is a sharepoint 2013 visual studio workflow. I have tried the following approaches, but none of ...
0
votes
0answers
19 views

Creating new feature for list each time when we create a list with same ListTemplate attribure

We are facing following issues in SharePoint, when we create a custom list in visual studio a separate feature is created for each list automatically and type attribute in ListTemplate tag is set to ...
2
votes
1answer
205 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 ...
1
vote
2answers
53 views

SharePoint 2010 web part on 2013 SharePoint environment

Can I create a 2010 visual web part on SharePoint 2013 environment using visual studio 2012
0
votes
1answer
3k 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
189 views

Microsoft.SharePoint.Security namespace missing

I am making a custom timer job in VS 2012 that targets .Net Framework 4.5. I am using namespace Microsoft.SharePoint and Microsoft.SharePoint.Security but problem is it is showing following error: ...
2
votes
1answer
265 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
1answer
120 views

SP 2013 workflow initiation form people picker

Using a WorkflowInitiationForm in an VisualStudio workflow for SharePoint 2013 I wonder how to get the Information from people picker. Adding to the project the form delivers code examples for string, ...
11
votes
1answer
383 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 ...
1
vote
0answers
101 views

SharePoint 2013 task url issue

Possible Duplicate I am working on SharePoint 2013 visual studio workflow, while creating the single task activity email body, I am using '%TaskSpecial: TaskUrl%' token <a ...
0
votes
2answers
868 views

Get rid of a TimerJob/Feature which throws an exception

I created a TimerJob which is activated upon Feature activation. Because I didn't know better, I forgot to add an public default constructor and now I always get this exception: "Error occurred in ...
1
vote
1answer
38 views

Cancel a save of a list item, but still run the workflow

Is it possible to cancel a save of a list item but still run the workflow. How would I go about doing this? Example: I save an item in a list. It runs the workflow, but the save item does not appear ...