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

learn more… | top users | synonyms (1)

1
vote
1answer
24 views

How to get a Full Trust Proxy to use the correct SharePoint DLL?

I've created a Full Trust Proxy to help out a sandbox feature that needs to deploy a lot of list view web parts on activation, because full trust has access to SPLimitedWebPartManager and sandbox code ...
7
votes
4answers
5k views

What SharePoint 2013 Development can be done in Visual Studio 2010?

It looks like the tools for developing SharePoint 2013 customizations are mostly in Visual Studio 2012 and "Napa for Office 365." If you've tried developing solutions for SharePoint 2013 in Visual ...
0
votes
1answer
886 views

Can I deploy a sandboxed solution from Visual Studio to SharePoint online?

Apps are great for many things but hosting a service for a one-off customization of a host web seem a little overkill. I want to use a sandboxed solution for things like branding and data structure ...
0
votes
0answers
10 views

Where to find proper resource for developing SharePoint forms using Visual Studio

Since Microsoft is not continuing with InfoPath in their next Office, so I wanted to learn proper way of developing forms using Visual Studio. What else- Creating lists using Visual Studio so that ...
0
votes
0answers
21 views

Upgrade Sharepoint 2007 vs2008 projects to Sharepoint 2013 vs2012 projects

My Sharepoint 2007 farm was migrated to Sharepoint 2013, but i have multiple projects which were developed in Visual studio 2008 and i need to upgrade to Visual Studio 2012 (Sharepoint 2013). I try ...
1
vote
2answers
2k views

Custom form for Content Type is being ignored

There seems to be a bunch of ways to add custom forms to list and libraries but the easiest way seems to be to specify it in the Elements.xml file that defines a given ContentType. (If this ...
1
vote
1answer
43 views

Where to store often used class in Sharepoint 2010?

I have a helper class which is often used in number of webparts. The file contains useful methods. Everytime when I create a new webpart in Visual Studio, I need to import this file into the project. ...
1
vote
2answers
16k views

Failed to load receiver assembly when activate feature

I have a problem when activating a Site scoped feature. Every time I try to activate the solution with STSADM or Powershell I get this error: C:\Program Files\Common Files\Microsoft Shared\Web Server ...
1
vote
2answers
631 views

What is the significance of Visual Studio Package File and how to use it?

What is the significance of Visual Studio Package File and how to use it? See the image below. Can any one provide an explanation?
0
votes
0answers
44 views

SP Client PoplePicker set Value from Listem Field

I have a Sharepoint ClientPeoplePicker and in my codebehind I want to set the user displayed in it. I get The user from a Sarepoint List Field of the Typ User and Group: SPFieldUserValue userField =...
0
votes
1answer
2k views

Toolbox controls are disabled in visual studio 2010?

When I create an empty SharePoint 2010 project with Visual Studio 2010, a lot of controls are disabled (chart, sqlDatasource). I try to reinitialize and other stuff but nothing. The controls are ...
0
votes
0answers
43 views

Visual Studio 2013 doesn't allow me to change Target List assignments in workflow

My Visual Studio 2013 (v12.0.30501.00 Update 2) doesn't allow me to change target task list assignments. I can see my new task list among items to choose but after selecting it nothing changes. ...
0
votes
0answers
42 views

Send mail activity after Create task results “Error Occured” in Workflow

I came across very strange behavior of SharePoint workflow (Using Visual Studio). If I add Send Email Activity after Create Task activity, it gives me result- Error Occured . I thought, there will be ...
0
votes
0answers
18 views

FBA web.config Modifications using SPWebConfigModification

General question: Will using SPWebConfigModification deploy the modifications for the membership roles and providers to all 3 web.config files for FBA? I am needing to apply these providers ...
0
votes
0answers
63 views

Visual Studio Sequential Workflow : spexception was unhandled by user code

I have created simple sequential workflow in visual studio with one application page(which has 3 buttons like Approve,Reject & Close buttons) for editing the task. i deployed it to site collection ...
0
votes
1answer
73 views

Cannot validate SharePoint URL in Visual Studio

Using VS 2013 Update 4. Office tools Udpated. SharePoint 2013 installed locally. I can browse the site as expected. However, when I go to VS and try to create a solution I get this I also cannot ...
0
votes
2answers
117 views

Sandboxed Vs Farm solution to create site columns using visual studio

I find this article which describe how i need to create site columns programmatically using visual studio https://msdn.microsoft.com/en-us/library/ee231593.aspx. they mentioned that I should use the "...
0
votes
1answer
45 views

What determine if a farm solution need to be activated at each site collection or not

I am totally confused on how WSP files need to be deployed and activated inside SharePoint 2013.now I have the following three scenarios where i dealt with WSP files inside my SharePoint 2013 :- I ...
0
votes
0answers
469 views

Operation is not valid due to the current state of the object. The Solution installation failed

I have created a new sharepoint 2013 project to add custom site columns by following these steps https://msdn.microsoft.com/en-us/library/ee231593.aspx now i want to deploy the solution to another ...
0
votes
1answer
173 views

Creating site columns using Visual Studio

I am in a situation that i need to create 2 site columns named "Asset Type" of type "Drop-down List" that have the same name (Asset Type), but different choices. But using the CA UI i can not create ...
0
votes
1answer
51 views

Staging Environment & Migration to TFS

My team from Microsoft already has a SharePoint site up and running. My job is to take a portion of it and migrate it to TFS. My Manager told me that I have to find a staging environment for ...
1
vote
1answer
50 views

Deployment time at Visual Studio's output window

I am deploying webpart solution or another wsp project from Visual Studio and i need to see finishing time. Are there any way to see the time when deploy finished or any error occured for interrupt ...
0
votes
0answers
13 views

Need guidance for creating a web part

I wanted to create a SharePoint Visual Web Part using VS2013. Web Part will show some Google Charts. Data is fetched from a SharePoint List and manipulated using DataTable and Data will then bind to ...
1
vote
0answers
123 views

Sharepoint loading slow — blank visual web part — is this normal?

I'm trying to optimize an external/public Sharepoint 2013, on-prem site. Interestingly enough I've found that sandbox visual web parts drastically slow the page down. I know it's not the code in the ...
0
votes
1answer
54 views

how to use update() method instead of add() in SharePoint on Job Timer using visual studio c#

i have created a solution in SharePoint from visual studio C#. I want to create a Job Timer so i have created a c# class too. but now I'm adding a new row to task list but what i want really to do is ...
0
votes
0answers
23 views

Event receiver to update enterprise wiki page's Title once its Name is changed

I need to automatically update the wiki page title when its wiki page name get updated , currently i am doing this using workflow as follow:- so i am checking if the Name != Title, and update the ...
1
vote
1answer
180 views

SharePoint Provider Hosted Apps - Hosting the .net Code

Architecture type question... We are using Office 365 and building numerous event receivers, provider hosted apps etc Currently, each provider hosted app we build has an associated web site where ...
0
votes
1answer
22 views

What's a good tutorial on reading SharePoint 2013 lists from Visual Basic?

I'm a noob starting out with SP development. I'm looking for a tutorial to help me access SharePoint lists from a VB project I'm writing.
0
votes
0answers
68 views

How to show associated list item on out of the box task approval form of Workflow using visual studio

At the time of approval, I want to show list items in non-editable (view) mode. I have created worfklow in Visual studio. It works fine. But I also have to show Associated List items on the approval ...
2
votes
2answers
1k views

How do I enable Intellisense sp.js in VS 2012. TILT

No matter what I try, I keep on getting the yellow triangles with the message "Intellisense was unable to colmplete an accurate...". For example when I type "SP." then among others ClientConetext does ...
0
votes
1answer
20 views

Improper feature Id attribute error

Hi I am getting Improper feature Id attribute error. I try to deploy a feature to a site using visual studio 2013. google cant help me so i ask here. this is my feature.xml: <?xml version="1.0" ...
1
vote
0answers
1k views

How do I create a lookup field for a hyperlink field and display the URL?

I have a regular, out of the box, list of type "Links". I have created a custom list that includes a lookup field to the URL field of the "Links" list. I have created a custom xsl template file for ...
3
votes
1answer
402 views

WebPart do not load a reference dll (RazorEngine.dll)

I have created a sp 2013 webpart. Inside this webpart I am using the RazorEngine.dll. It is included by NuGet and the solution builds. when I deploy and add the webpart to the page I got this error: ...
0
votes
1answer
196 views

No-Code Sandbox solutions NCSS template for visual studio

I working on an solution for SharePoint Online, and would like to be able to not have a virtual machine for developing the NCSS parts of the project. But with the Visual Studio template I would have ...
0
votes
1answer
40 views

Re-Deploying SharePoint List removes all the submitted ListItems

I created a SharePoint List using Visual Studio 2013 and deployed it. Later I had need to add few more columns in the List. So after adding more columns when I deployed it again then what I realized ...
0
votes
1answer
41 views

Sharepoint list item permissions for manager of creator

Im creating a SharePoint application where a user puts their tickets. The ticket will be restricted by permissions to only be accessible by the creator, assignee and group of users which are ...
0
votes
2answers
15 views

Where is the solution's webPart I have published on my sharepoint site?

I work on SharePoint 2013 and with Visual Studio 2013, I have published a SharePoint solution on my SharePoint Site. But in this solution I have created a Web Part in C# and I haven't found this in my ...
1
vote
0answers
279 views

Local App Deployment fails because of an invalid Service Identity

After debugging an provider-hosted App of mine on Office 365, I am now trying to debug it on a local SharePoint Farm. I created a new development site collection just for that and configured ...
0
votes
0answers
165 views

Renaming a file with ItemAdded Event Receiver

I am using an Event Receiver to rename a file in a document library. For some reason this doesn't seem to work. public class EventReceiver1 : SPItemEventReceiver { /// <summary> /// An ...
0
votes
1answer
356 views

SharePoint Connection Error, Microsoft Visual Studio

I am receiving a SharePoint Connection Error when connecting to Visual Studio 2012 Sandbox or Farm Solution when I create a new project. Here is the Error. SharePoint 2013 on Premise, Alternate ...
5
votes
3answers
1k views

Why is Microsoft.SharePoint.Search.dll copied in my project?

When working on a VS project that involves referencing Microsoft.SharePoint.dll, building the project causes Microsoft.SharePoint.Search.dll to be copied to my bin folder. Why is this? Okay, maybe it'...
0
votes
1answer
26 views

Enable programmability in InfoPath 2007

I have a 2007 InfoPath form that I'm hosting on my SharePoint (not web-enabled) to which I'd like to add some C# code to make it more robust. I am well aware that InfoPath 2007 is programmable with a ...
1
vote
0answers
24 views

How to Execute Powershell commands from a Sharepoint Hosted App?

So I need to create a Site Inventory(collection of all documents) as an OOTB Sharepoint Feature. This is the way I thought of doing it. Create a Sharepoint feature in Visual Studio wherein ...
0
votes
1answer
33 views

Stat Workflow after certain time if not started already manually

I have a document library in Sharepoint Online with a Visual Studio Workflow that must be started manually after adding a document to a library. However, I want to automatically start the Workflow ...
0
votes
1answer
21 views

Sharepoint 2007 sequential workflow in VS 2008

I installed Visual Studio 2008. I try to create Sharepoint 2007 sequential workflow. As soon as I hit: New project -> sharepoint 2007 sequential workflow I get the error: could not load file or ...
0
votes
2answers
185 views

Create list intance for all the sites and subistes in a Site Collection - Visual Studio

I created a Visual Studio SharePoint project that has a custom list in it. When I deployed the solution, the list instance is created for only the root site and not for subsites. The feature scope is "...
0
votes
1answer
83 views

Can't debug SharePoint 2010 on a SP 2010 farm environment

I'm told I can't debug on a farm environment - one admin server, one web server, one SQL database, all separate boxes. But it seems like something you'd need to be able to do, so I'm looking for ...
1
vote
1answer
2k views

Recomended starting point for creating custom SharePoint Online workflows with Visual Studio

Not typical question here on StackExchange, but hopefully somebody can point in the right direction to get started. I currently use SPD 2010 to create many workflows on our On Premise instance of ...
17
votes
3answers
6k views

How to access my “Outgoing E-Mail Settings” from code?

Is it possible for me to pull the values that are in: Central Admin -> System Settings -> Configure outgoing e-mail settings from my code behind using the object model?
1
vote
1answer
4k views

Create WSP package in Visual Studio 2013

How to create WSP Package in Sharepoint 2013 by Visual Studio 2013. If I see to bin catalog there are two catalog more. The: Debug Catalog Release Catalog How to prepere a WSP Package, to wsp ...