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

learn more… | top users | synonyms

0
votes
1answer
207 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
967 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
86 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
94 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
378 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
883 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
192 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
3k 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
784 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
78 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
117 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 ...
10
votes
0answers
315 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
57 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
387 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
62 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 ...
1
vote
0answers
125 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
94 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
244 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
700 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
173 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: ...
4
votes
3answers
6k 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
296 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
67 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
142 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
506 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
53 views

visual studio workflow

So I tried to follow the tutorial on the following site: ...
2
votes
1answer
340 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
2k 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
285 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
290 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.
-1
votes
1answer
2k views

Visual studio 2012 cannot find SharePoint Server 2013

I have installed SharePoint server 2013 on my dev machine and it is working fine when I login as an administrator. and after that I installed Visual studio 2012 professional on the same machine. But ...
0
votes
2answers
356 views

Build SharePoint 2013 solutions by simply copying the assemblies to your machine

Let me start off by saying that I know you can't install SharePoint 2013 on a Windows 7 machine (confirmed here). However my situation is this: I am in the process of upgrading a large SharePoint ...
0
votes
2answers
42 views

Using sharepoint 2010 on another server in VS?

How can I use sharepoint 2010 that is on another server in VS? When I try to create a new project for creating visual web part, A message "Sharepoint not installed on this client" is showed.
0
votes
0answers
265 views

Object refenrece not set to instance of an object - list template items

This may be a duplicate, because this error is pretty common in every part of sharepoint. However, the search function didn't find anything for my particular problem. To the problem: I have a List ...
0
votes
1answer
194 views

How to organize source control for multiple projects depending on common projects in Sharepoint 2013

I am just to start a new big sp 2013 project, I am studying different ways to organize the vs structure and one of the ways I liked is to separate for example webparts in different solutions: ...
2
votes
1answer
1k views

Where to put my custom.xsl for my List View's XslLink?

I'm in the process of creating my first App for SharePoint 2013 and after following this tutorial (using Visual Studio 2012), I now wish to create a custom XSLT file and apply it to my ...
0
votes
2answers
414 views

Sharepoint 2013 App won't retract when debugging stopped

I'm trying out simple SP 2013 SharePoint hosted apps against an Office 365 2013 dev site. When I start debugging the apps install fine; when I stop debugging no retraction occurs, I'm having to ...
0
votes
1answer
207 views

Deploying BDC Model Problem

I created empty Sharepoint 2013 Project and added BDC Model into Project. It is a farm solution. There is 2 Feature. In both of them I put BDC into Items in the Feature in Feature.feature My ...
3
votes
2answers
841 views

What version of Visual Studio 2012 needed for SP Dev

I have been researching the different versions of VS2012 for use in developing in a SP2010 (Foundation) and possibly SP2013 environment. I asked two separate MS employees about which version of VS I ...
0
votes
1answer
267 views

Problem with Adding Custom Web Part

I'm new at developing an web part with Visual Studio. I want a weather web part. I created an empty SP 2013 Project, added Web Part item. But when I deploy it and add the custom webpart into my site. ...
0
votes
1answer
88 views

Templated projects for autohosted or provider apps don't have TokenHelper and aren't set up correctly

When I add new project to my solution, select SharePoint 2013 App, then choose Autohosted or Provider hosted and create it, the created web project is completely empty and the projects are not set up ...
0
votes
1answer
198 views

Connecting to SP from virtual machine

I've installed SharePoint and Visual studio on a virtual machine. Now I'm trying to add a SharePoint connection in the server explorer but it says "The site does not exist or is unavailable". I've ...
0
votes
1answer
162 views

Visual Studio 2012 deploying workflow

I uploaded the wsp file of a visual studio 2012 workflow to galleries->solutions in central admin. The feature appears in manage features on central admin but does not show up in site settings on ...
0
votes
1answer
629 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
0answers
322 views

Upload clickonce to sharepoint

I'm following this tutorial to upload a clickonce application to sharepoint. This is my Elements.xml: <?xml version="1.0" encoding="utf-8"?> <Elements ...
2
votes
2answers
2k views

Error occurred in deployment step 'Activate Features': The parent content type specified by content type identifier 0x0101 does not exist

I have created 80 content types. some of them are inherited from some other content types. I have placed all the content types in feature in such an order that parent content types are at top. But ...
2
votes
3answers
1k views

Simultaneous development environment for SP2010 and SP2013 in single OS

I have on my laptop a development environment as win7 with std IIS, SharePoint 2010 Server, SQL 2008 R2 and Visual Studio 2010. I already installed Visual Studio 2012 side by side. But what about ...