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

learn more… | top users | synonyms

0
votes
1answer
1k 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
2answers
137 views

Unrecognized tag prefix user control

I'm create default webpart and creat default user control, drug and drop control to designer on web part and it generate code: <%@ Register ...
0
votes
1answer
447 views

SharePoint 2013 workflow not showing up in the associated list's workflow settings page

I followed the steps mentioned by Prabath See steps here However when I deploy the SP 2013 workflow on the server, I can't see it in the 'Workflow Settings' page of the associated list. The ...
1
vote
1answer
53 views

Deploy VS solution (List) to all users' “My Site”

I wrote a custom document library that we use to manage our Proof of Activities at work. I used VS2012 for development and our portal is based on SP2013. Is there any way besides PowerShell to ...
2
votes
3answers
690 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, ...
2
votes
1answer
388 views

download file from OneDrive using Microsoft.SharePoint.Client

I have a winforms application and I need to download files from a SharePoint OneDrive directory. Currently, given my code below, I am able to read the "Title" of the file, but I can't find anything to ...
0
votes
1answer
130 views

Custom SP Workflow within Visual Studio 2012 - Create Doc Set and then move document

First of all my apologies if this has already been asked and answered elsewhere, i have been trawling. I have the task of creating a workflow that is triggered on a specific list upon a items field ...
0
votes
2answers
778 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
229 views

Move pdf files from one library to folder within library in sharepoint 2013

I want to move files from the Library into its folder (Which is in the same library). How can I do this using sharepiont Designer 2013
0
votes
1answer
21 views

debugging SharePoint solution

Is there any reason why deploying solution would not deploy the solution? Adding solution 'Booking.wsp'... Deploying solution 'Booking.wsp'.. When I go to Central admin I see the booking.wsp and I ...
0
votes
2answers
276 views

workflow debugging prerequisites failed to complete - Visual Studio SharePoint hosted Apps

When trying to debug a workflow created in SharePoint 2013 App using Visual Studio 2012 version, i am getting the error "workflow debugging prerequisites failed to complete". I tried to publish the ...
0
votes
2answers
177 views

Linq get Distinct or first from multiple group

Ok, I'm not understanding something here with what I am attempting to query here. I have a list like the following. Title Subject Content Date ...
0
votes
1answer
14 views

Visual Studio 2012 options for webparts

In vS2012 I can see Visual Web Part, Visual Web Part (farm only) and webpart. What is difference between these? What governs the choice of one of these?
0
votes
1answer
94 views

SharePoint 2010 web and load testing with VS2012.4: Recorded upload file doesn't add the file to the project

I have a SharePoint 2010 farm for which I have created a Web Performance and Load Test Project in Visual Studio 2012.4 Ultimate. When adding a web test for uploading a file, the uploaded file is not ...
0
votes
2answers
5k views

Download files from document library using C#

Task: There are some Excel files or documents on SharePoint site that I need to download to my local drive. I'm a newbie to C#, so please give me directions on how to start and complete my task. I ...
1
vote
1answer
87 views

Can't use the Google API's in a SharePoint Online Visual Studio project

I'm developing a SharePoint Online app in Visual Studio 2012. I have added a link to the Google API JavaScript file. And as you can see from the screenshot's below taken from Chrome developer tools ...
0
votes
0answers
1k views

Visual Studio 2012 can't find Microsoft.SharePoint.dll (on 2013)

I'm not sure if this is a problem with VS2012 or with SP2013. We restored a reverted vm yesterday, and there were a ton of weird SP2013 problems we had to overcome. Then after we got a site collection ...
0
votes
1answer
248 views

How do I access a Property argument in a SharePoint 2013 Workflow?

I have a "Property" argument in a workflow. I need to access it and pass it's value to another activity. It seems that I can't do this however. What am I missing? I found this which seems to be ...
2
votes
2answers
2k views

how to specify icon image for 2013 SharePoint custom app built in Visual Studio 2012?

I am creating a "HelloWorld 2013" app in Visual Studio 2012 that deployes to my on-premises developer site. The app deploys to the site with no problems. My goal is to change the app icon (for ...
1
vote
0answers
309 views

What is the correct way to grant permissions needed for Visual Studio 2012/2013 to connect to SharePoint 2013?

I'm attempting to use the "Empty Project" template in Visual Studio 2012 or Visual Studio 2013 and I'm having trouble determining the least-privilege way to do so. When attempting to add an event ...
1
vote
2answers
4k views

the name 'initializecontrol' does not exist in the current context visual studio 2013

I am encountering this error when I create a visual web part in Visual Studio 2012: the name 'initializecontrol' does not exist in the current context visual studio 2013 Edit 1: the error appears ...
1
vote
0answers
105 views

Modify SharePoint sandbox manifest.xml

I need to modify the SharePoint sandbox manifest.xml. Can any one help me with how I can do this?
2
votes
0answers
105 views

Change default publish location in Visual Studio

Whenever I want to publish my SharePoint solution, the Target Location is selected as "C:\Users\Administrator\Documents". Is there a way to change the default value for this option?
1
vote
1answer
2k views

Error while deploying SP2013 Workflow from VS2012: NullReferenceException

I developed two features, one should deploy a workflow. After hitting F5 in Visual Studio 2012, I get a NullReference-Exception. Here is the output shown: ------ Deploy started: Project: ...
0
votes
1answer
39 views

Why isn't my Master Page visible in Designer when I deploy it from Visual Studio 2012?

In a VS 2012 project I created "TestMasterPage.master" (a duplicate of v4.master) and added it to a module named "Module_MasterPage" below are contents of elements.xml <?xml version="1.0" ...
1
vote
0answers
48 views

“Unselect All” features when importing a site template to Visual Studio 2012?

In Visual Studio 2012 I'm importing a WSP of a site template using the "SharePoint Customization Wizard." The list of features displays with all items selected. I only want to import a couple ...
0
votes
1answer
297 views

'Main' method suitable for an entry point error in SharePoint Event receiver

I have created a simple list event receiver with item adding,updating,and deleting events in SharePoint 2013. But some how it is giving me a strange build error when i try to deploy the event ...
1
vote
1answer
313 views

Created a visual webpart for office 365 and getting error

This is the error, It's just a simple visual web part i created as sandbox, please guide Getting Error Message for Exception System.Security.SecurityException: That assembly does not allow ...
0
votes
1answer
506 views

Trying to setup a Provider hosted app

We have an on-premise installation of sharepoint 2013 with an app domain configured. So far so good, I can create a Sharepoint Provider hosted app, where the Web-project runs on a local IIS. The ...
2
votes
1answer
6k views

What is the difference between auto hosted, provider hosted and sharepoint hosted app? [duplicate]

What actually happens when we create apps, and where are three types of apps hosted these apps hosted?
1
vote
1answer
103 views

Ordering Custom Properties

I am working on a Client WebPart, and while doing some simple debugging against office 365, i noticed that no matter how i structured the custom properties in the query string they were always laid ...
1
vote
1answer
26 views

In List Design View, List is disabled

I have two lists that the List toolbar item (Columns/Views/List) is disabled. Attempting to click does nothing. I've also noticed that when I deploy it, they don't render appropriately. For example, ...
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
0answers
68 views

Where i can override the OnInit method

I need to write the following farm solution to override the InInit method as follow:- protected override void OnInit(EventArgs e) { var request = HttpContext.Current.Request; ...
2
votes
0answers
69 views

VS2012 won't deploy my SharePoint 2013 Workflow

Well, I have got the same problem as this guy with the equally titled thread. I want to add a SharePoint 2013 Workflow to my App Web. It is a list Workflow. Workflow Manager and Service Bus are ...
1
vote
2answers
92 views

Visual Studio and Sharepoint development

GIVENS: - We run Sharepoint 2010. - No one here has ever used Visual Studio here to enhance Sharepoint. - They want to stick with SP 2010. QUESTIONS: - Is there any advantage to using Visual Studio ...
5
votes
2answers
6k 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 = ...
4
votes
4answers
1k 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
316 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
3answers
1k 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
446 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
66 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 ...
3
votes
0answers
506 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 ...
1
vote
1answer
68 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 ...
2
votes
2answers
279 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 ...
2
votes
1answer
284 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
2answers
427 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
445 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="<% ...
2
votes
2answers
652 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
363 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 ...