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

learn more… | top users | synonyms (1)

1
vote
2answers
833 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
583 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
446 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
690 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
933 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
845 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
871 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
338 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
4k 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
934 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
391 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
576 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
5k 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
263 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? ...
48
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
667 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
900 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 ...
1
vote
2answers
1k views

How should I programmatically customize the “My Profile” page (person.aspx)?

I am trying to customize the "my profile" page (person.aspx, "my site host" site collection) in SharePoint 2010. For example, I would like to: Add/delete some webparts Delete links from top ...
0
votes
2answers
233 views

SharePoint Source control plugin for VS?

Yes, it might sound like a strange thing to ask for. We're a team of 3-4 person working on a sln that is only developed using the Client Object Model. So we rather have no deployment, just a bunch of ...
0
votes
1answer
859 views

Programmatically assign custom xslt to search result webpart

How can I programmatically assign some custom rendering xslt to a search results webpart using Visual Studio? I'm working with SharePoint 2010
6
votes
1answer
554 views

Moq'ing SharePoint for Unit tests

Everything i read about unit testing mentions TypeMock isolator. thats good when you can control what unit testing and mocking tools you are using in the project but I am unable to use TypeMock. ...
1
vote
2answers
527 views

Dynamically create and monitor a variable number of tasks

I have an InfoPath document which submits to a SharePoint library. Once a new item is submitted, I am wanting to create tasks based on data in the filled out form. For example, a user is able to ...
0
votes
3answers
4k views

How do I run some JavaScript in a web part?

I found some JavaScript code on the web that I want to add to my custom web part so that I can modify a PageViewerWebPart's height to 100%. I just need to know what steps to take to call it. I added ...
0
votes
1answer
528 views

How to pause Workflow for longer duration (i.e. weeks)?

I want to pause a workflow for 6 weeks. After that duration it checks a specific list for an item and sends an email when found - very simple. There are two activities in Visual Studio: delayActivity ...
3
votes
4answers
535 views

Improving SharePoint 2010 performance in a VM

I have created a virtual machine with windows server 2008, Visual Studio 2010, and SharePoint 2010 for development and testing. The machine is configured in VMWare with 40gb hdd, 2gb ram, and 4 ...
3
votes
1answer
344 views

Time conversion via ClientContext

In native SP list I have item with datetime field which shows 24.1.2010. 00:00:00. When I try get it with ClientContext, I got that item field with the time 23.1.2010. 23:00:00. I understand that ...