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

learn more… | top users | synonyms (1)

1
vote
1answer
874 views

How can I run post-package commands in Visual Studio 2010?

When building my SharePoint projects with Visual Studio 2010, I prefer to use Package instead of Deploy. Even if I plan to deploy the wsp on my computer, I want to use my PowerShell scripts in order ...
1
vote
2answers
663 views

FlexPaper in SharePoint 2010

I'd like to create a custom web part with the FlexPaper component so we can use it in SharePoint 2010. The user would go to the web part properties to select a SWF file (converted PDF) from the Site ...
1
vote
1answer
2k views

WSDL and DISCO file from webservice

Not so long ago, I've tried creating a webservice for sharepoint. I followed this tutorial. In this tutorial you can see that you also need to create a wsdl and disco file. I didn't do this, and ...
7
votes
1answer
930 views

When to use VS 2010 vs. SP Designer for development

When do we use Visual Studio 2010 for SharePoint 2010 web part development and when do we stick with Designer? Are there pros/cons? As a noob, it seems that for more robust, customized web parts, ...
2
votes
3answers
1k views

Programmatically move a document from one document library to another

How can I programmatically move a document from one document library to another while preserving metadata? Preferably using the server OM.
1
vote
0answers
88 views

Visual Studio 2010 Workflow creation failure

I'm adding na new item do my sharepoint project. It is a sequential workflow, wizard appears and after a screen where he asks about type of workflow List Workflow / Site Workflow it disappears, no ...
5
votes
4answers
11k views

How to fix “A SharePoint server is not installed on this computer”

To do SharePoint custom development, what is the recommended method? I've read this post, and it appears that if you want to use debugging in VS2010, you'd want to have SharePoint on the same machine ...
0
votes
4answers
3k views

How do you do version/source control in SharePoint?

How do you do version/source control in SharePoint Visual Studio projects (I'm using 2010)? Can it be connected to SVN, for example? I'm new to SharePoint.
2
votes
1answer
119 views

Custom content type throwing errors?

I have created a custom content type that uses several custom fields that I created in the same project. When I deploy the content type for the first time it works fine. When I try to deploy ...
1
vote
2answers
853 views

Creating site column without using features

I am trying to create a site column in VS2010 without using features. Is this possible? If yes, please let me know where I can start looking. I don't want to use feature because feature comes with ...
0
votes
3answers
596 views

There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined

I am trying to set up a new dev machine. When I run the wizard to configure SharePoint Foundation 2010 I get the error shown in the title. From searching the net I see that one proposed solution is ...
1
vote
1answer
449 views

How to create Menu Webpart in WSPBuilder

I am using WSPBuilder. I want to create the package that includes the MenuItemList and MenuWebpart. Requirement is create the feature for MenuItemList which holds the menu items. Webpart should fetch ...
2
votes
0answers
6k views

How to create the wsp package in visual studio 2010 with following features? [duplicate]

I want to create a wsp package. When I deploy it, it must add features such as two SharePoint lists, one webpart, one image library sequentially. Can I do this in WSPBuilder? I want to deploy this on ...
3
votes
2answers
1k views

FBA custom login page - membership provider returns “The method or operation is not implemented.”

My SP web application use FBA authentication (AD and aspnetSQLmembership providers). I want log in to SP site from custom SP login page. In code-behind page (my class inherit ...
6
votes
2answers
14k views

Error while referring “/_vti_bin/ListData.svc”

While trying to refer "ListData.svc" service in my VS.NET WinForm project, I am getting an error The HTML document does not contain Web service discovery information. Metadata contains a reference ...
1
vote
1answer
2k views

SharePoint 2010 : Visual Webpart - Multiple User Control

SharePoint 2010: Visual Studio 2010 I have requirement : i have one web part and using custom web part property i load 4 different user control. Solution 1 : I created web part and using custom web ...
1
vote
1answer
1k views

Sharepoint 2010 - wpresources for Bin / web Application Deployment

In SharePoint 2010 , using visual studio 2010 : i have bin / web application deployment. i want to add java script file under Virtual Directories\/wpresources// I cannot use the Resources mapped ...
2
votes
1answer
1k views

Developing customized form and workflow with only visual Studio 2010

I am trying to duplicate a Domino workflow onto sharepoint 2010. The domino workflow that I am trying to port over consist of many section, fields and button. As such I thought of using ASP.NET to ...
1
vote
2answers
7k views

How to get relative path of file in solution?

I have a schema that I have added to my Sequential Workflow solution. Currently, when I access the schema it is hard coded to a location on my c drive. ...
7
votes
6answers
7k views

Where to find PublicKeyToken?

I opened an empty sharepoint project in which I added a new application page. There I wrote some code. Now I need to enter that information under <SafeControls> tag in web.config file. ...
1
vote
3answers
2k views

Good tutorial for my first Custom Service Application in SharePoint 2010?

I found this one, but it has a step that says to "Select the “WCF Service” project template...", which wouldn't make sense for adding a New Item (at least that doesn't sound right to me). I'm curious ...
2
votes
1answer
183 views

character problem in webpart title after exporting a site

After i have creat a site collection (in french), i save it as a model, open it in Visual studio, change the scope of a feature, package it and deploy it on the farm and create a new site collection ...
2
votes
1answer
3k views

How do I get my query results to display in my web part?

I'm working on my very first web part for SharePoint 2010 in Visual Studio 2010. Please keep that in mind as you continue reading. I'm trying to build a web part that runs a simple query against a ...
2
votes
3answers
1k views

Sitemap control in SP 2010

Does SP have sitemap control (or web part or ...) which can be inserted (or turned ON) in some custom web? I would like that people have oportunity to navigate site with that and not just quick ...
4
votes
1answer
692 views

Including Description with Page Layout

I'm deploying a couple of custom page layouts as part of a feature for SharePoint 2010, and am having issues including the description with the page layout. I'm looking to include descriptive text as ...
1
vote
2answers
936 views

How to order a group of web parts added dynamically?

Preface: I did not come up with this implementation, just dealing with it. I have a web part zone that gets 3 content editor web parts loaded into it dynamically through the feature receiver. The ...
1
vote
5answers
850 views

How do I set up VS2010 and SP2010 for development?

We have an installation of SharePoint 2010 running for our intranet at the moment, and I have a copy of Visual Studio 2010 that I use for in-house application development. I'd like to start building ...
0
votes
2answers
889 views

WSPBuilder in Visual Studio 2008 [closed]

I have WSPBuilder 1.06 in Visual Studio 2008 (russian localization) for SharePoint 2007. I created a wsp project and added to it event handler. I tried to build this project using the command WSP ...
2
votes
3answers
2k views

Deploy WSP from Visual Studio 2010 to web application with set host header

I have a demo SharePoint server with multiple web applications created. Each of them has a host header that is entered into company's DNS. All the web applications are on port 80. I changed SiteURL ...
2
votes
3answers
3k views

How can i edit master page in visual studio?

SPD is very uncomfortable for me. I try to open master page ny using the path "\portal\davwwwroot_catalogs\masterpage", but visual studio give the error Microsoft Visual Studio Could not find ...
1
vote
0answers
339 views

Changing the field order after BCS Association? [closed]

I’ve created and deployed an External Content Type with Associations. All of the CRUD methods I’ve implemented are working correctly. Here’s my problem – in the View Item, Edit Item and New Item ...
3
votes
2answers
5k views

Updating a List Instance

I have a List Instance in Visual Studio. However, every time I deploy the solution, Visual Studio says there is already a list instance with the same URL on the site collection and it needs to delete ...
2
votes
3answers
5k views

“Cannot find this file” error when deploying from Visual Studio 2010

I'm getting an error in Visual Studio 2010 after pressing F5 to Debug: Error occurred in deployment step 'Add Solution': Error: Cannot find this file specified in the manifest file: ...
2
votes
4answers
938 views

Can I develop web parts just with WSS 3.0 and Visual Studio Express?

Can I get away with building and testing basic web parts just by installing Windows SharePoint Services 3.0 on a VPC with Visual Studio Express Editions?
18
votes
2answers
6k views

Multiple Sharepoint projects in one solution - how to package correctly?

I have multiple Sharepoint projects in a solution: MySolution.WF MySolution.Webparts MySolution.UI I also have some common code in a MySolution.Common project. All of the aboe projects ...
2
votes
1answer
233 views

Why am I getting issues with a WSP imported into Visual Studio?

I imported a WSP (site template) in VS 2010 and compiled. I then tried to create a package (build > package). I am getting all sorts of issues. Why is that? The site templated was created using an ...
4
votes
2answers
392 views

How to “seed” default content into newly provisioned site definitions in SharePoint 2010?

We have a publishing site definition that we have created in Visual Studio 2010. It is working great and provisions the sites just fine. We have a need to have starter content inside the sites. All ...
5
votes
1answer
7k views

How do I find the ID for associated content type when adding a page layout?

I'm following the creating a page layout in this example http://blog.beckybertram.com/Lists/Posts/Post.aspx?ID=71 It adds a page layout using this xml, <File ...
3
votes
2answers
2k views

Import wsp with studio 2010

I imported a WSP that was in the gallery (put in there by the old developer) into a new studio wsp import project. It looks really noisy (too much stuff that we don't even use when creating a site ...
3
votes
1answer
584 views

Deploy an image in a feature

I am creating a feature which adds an option to the ECB. I want to have a custom icon/image. In my Visual Studio 2010 project I have created a TEMPLATE/IMAGES/proj folders. I have added my image to ...
5
votes
5answers
12k views

Custom web part deployment produces 'Cannot import this webpart' error

I have built an empty SharePoint project in Visual Studio 2010 with some custom web parts in it. When I've tested these on my local development machine they can be added to a page without any trouble. ...
8
votes
4answers
4k views

Files in feature won't update when marked with GhostableInLibrary

Having an issue updating files with a feature. This is for custom branding. here is a sample of the elements.xml file. If I add a new file, it will provision fine, but any changes to existing files ...
24
votes
7answers
6k views

List of best practices on structuring SharePoint 2010 solutions

I am looking for good guidance on how to structure a SharePoint Solution including: Visual Studio Project Structure Features (how to separate features) Namespaces When to use multiple project ...
0
votes
0answers
698 views

using list lookup Fields in SharePoint 2010 programmatically [duplicate]

Possible Duplicate: How to set ListItem Lookup Field value I have a SharePoint list with a lookup field and I want to add values to this list through the SharePoint Object Model. but I ...
9
votes
1answer
264 views

Wizard Installer for a Webpart

I have a Webpart for a Sharepoint 2010, and I would like to create a "Wizard Installer" for this webpart, that a customer can install to his own Sharepoint Server. What is the easiest way to do it? ...
49
votes
5answers
4k views

Migrating a solution from 2007 to 2010

Let's say we have a well-established solution in Visual Studio 2008, using WSPBuilder to bundle it up into a package. It has a handful of features and a whole whack of assets to deploy (.webpart, ...
0
votes
2answers
672 views

SiteUrl BCS deployment error through Visual Studio

Error occurred in deployment step 'Add Solution': The default web application could not be determined. Set the SiteUrl property in feature xxx to the URL of the desired site and retry ...
5
votes
2answers
904 views

How to install a WSP that has dependent assemblies?

I have a solution in Visual Studio 2010 that is made up of 3 projects. I have one project for my SharePoint 2010 custom timer job, one project (Project A) that is used by my custom timer job, and ...
1
vote
1answer
52 views

VS2010 and SP2010, possible to have 2 list instances from 1 list definition?

I would like to reuse my list definition to have 2 list instances of the same thing. Is this possible?
4
votes
2answers
5k views

Workflow action SendEmail does not use “From” field

I have a Visual Studio 2010 workflow for a SharePoint 2010 Server. It uses the default workflow action "SendEmail" to send an e-mail. Everything works out perfectly, but the sender of the e-mail is ...