Tagged Questions

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

learn more… | top users | synonyms (1)

1
vote
1answer
2k views

ListAdded Event Receiver not Firing for List Instances

I have a List definition in Visual Studio which is instantiated using a List Instance. This list definition has an event receiver which overrides the ListAdded event. I am able to get the ListAdded ...
3
votes
3answers
907 views

SharePoint 2010 VS development: Intellisense for ASPX files

I'm using Visual Studio 2010 to develop a SharePoint Server 2010 solution. Part of this includes custom Page Layouts, but when editing them, intellisense is completely broken, since Visual Studio ...
0
votes
2answers
2k views

Which Feature Scopes are right for me?

I'm developing a site using SharePoint Server 2010 in Visual Studio 2010. I'm having trouble determining which Feature Scopes are right for my features. I have a feature which includes a custom ...
1
vote
1answer
87 views

SP 2010 Debuging problem

Please HELP, I creating custom SP2010 intranet site for last few months. During development i didn't have any particular problem with debuging except this one and now I can't figure where's the catch. ...
5
votes
3answers
2k views

Can you use Visual Studio 2008 to develop for SharePoint 2010?

Can I continue to use Visual Studio 2008 to develop for SharePoint 2010? Or do I need Visual Studio 2010? I understand that VS2010 makes it easier to deploy and debug but other than that what are the ...
0
votes
1answer
111 views

Multiple visual WebPart

i have created a sharepoint 2010 project, under this project i want to add multiple visual webparts but i want to deploy just one not all. it'is possible ? and how thx
1
vote
2answers
1k views

Missing 'Workflow Association Form' from SharePoint 2010 templates in VS2010

I am trying follow a tutorial on creating a Workflow using VS2010: http://msdn.microsoft.com/en-us/library/ee231590.aspx However under the section 'Adding an Association Form to the Workflow', I need ...
1
vote
1answer
410 views

Changing directory name of features in SharePoint 14 Hive - Impact on already deployed features?

I'm moving from a WSPBuilder based SharePoint 2010 solution to a Visual Studio 2010 based solution. After porting the WSPBuilder based solution to a plain Visual Studio based solution I tried to ...
3
votes
2answers
3k views

Error occurred in deployment step 'Add Solution': Sandboxed code execution request failed

Whenever I try to debug (i.e. F5) a SharePoint 2010 Project I get this error. All the SharePoint services are running. Messages in Output window: Add solution Adding solution 'my solution.wsp'... ...
1
vote
1answer
327 views

How to turn back on prompt for conflict resolution during deployment vs/wss 2010

I managed to turn off prompt for conflict resolution during deployment. How can I turn this back on? Thanks
0
votes
1answer
294 views

Access Secure Store credentials from 32bit Application

I am trying to get some Secure Store credentials from SharePoint via a Visual Studio Extension but I am having an issue with the fact that Visual Studio is 32bit and SharePoint is 64bit. The examples ...
2
votes
3answers
3k views

How to deploy a web-scoped feature in visual studio SharePoint Project to a specific site in the Site collection?

I have a visual studio SharePoint site that contains a list definition and content type. I need this feature to be activated on a specific site in the site collection. I set the feature scope to ...
1
vote
1answer
930 views

Deploying WSP from saved as template - editing binary serialized web part in Visual Studio

I have deployed a WSP site template that originally came from "Save Site as Template" (our site was customized from a team site - STS#0). Now, we're making changes to it in in Visual Studio (as it's ...
0
votes
2answers
703 views

How to do site provisioning in VS 2010 and Sharepoint 2010

When developing for WSS 3 and 2007 Sharepoint, I used the siteprovisioning.cs file quite a bit. I am unable to locate that functionality in VS 2010 and Foundation 2010. Is it gone? Do you do it ...
0
votes
2answers
1k views

Error Creating Deployment Package in Visual Studio 2010

I am attempting to create a deployment package through Visual Studio 2010 When right-clicking my project and selecting "Package" from the context menu I receive the following error: Error 1 The ...
2
votes
1answer
1k views

Adding a class library to a Visual Web Part

I have created a SharePoint 2010 web part through Visual Studio 2010. All works nicely. However, I have several web parts to build in total and I have a class library that will contain standard ...
1
vote
1answer
617 views

PowerShell PostBuild Script - VS2010 Deployment

I am unable to use default Deploy Feature in VS2010, for SharePoint 2010 deployment most of the times due to complicated setup we have here. I usually have to run STSADM commands, one at a time to ...
1
vote
1answer
324 views

What's the best way to auto deploy resources in SP 2010?

I was wondering if there some automatic way to deploy resources (images / resource files) to IIS virutal directory from visual studio/ deployment instead of having to manually copy it to the virtual ...
0
votes
2answers
301 views

WebPart made of user controls

I have a number of custom web parts which have similar functions and properties shared through each of them. Each have a subset of a larger set of functions, rather than redevelop the same controls ...
1
vote
1answer
634 views

Convert Sharepoint Designer 2007 workflows to Visual Studio solutions

Does anyone have experience or know of how to convert workflows created in SPD 2007 (moderate complexity -10 steps) to Visual Studio? This blog almost has the answer except for the caveat it doesnt ...
1
vote
2answers
3k views

Unknown server tag 'asp:ListView' error with Sharepoint 2010 / .Net 3.5

I'm developing a visual web part in Visual Studio 2010 for sharepoint and i have a listview control embedded. I keep getting this error message in runtime even though I made sure it's namespaces are ...
1
vote
1answer
113 views

what are the best distributed development methodologies for sharepoint

Let's say we have some distributed developers in different countries working on the same sharepoint project problems that they might face including (but not limited to): 1. webparts deployment & ...
1
vote
2answers
2k views

Visual Studio 2010: firefox as browser

Is there a way to use firefox as the standard browser with visual studio 2010? I have some problems when logging with internet explorer, so i use firefox for testing my sharepoint webparts. But when ...
1
vote
1answer
1k views

Workflow: Show initiation form after creating new item?

I want to start my Visual Studio 2010 sequential workflow automatically after adding a a new form (or any document for that matter) to a form library. This works flawlessly as long as I don't have an ...
3
votes
4answers
2k views

How Can I Add a New Column to All Document Library Lists in SharePoint 2010 Using Visual Studio 2010?

I can't figure out how to create a solution in Visual Studio 2010 that will allow me to alter existing lists in a SharePoint 2010 site. Specifically, I want to add a new column, which contains a small ...
0
votes
1answer
487 views

File Not Found Exception on Running InfoPath 2007 Form accessing SharePoint Site

Hi there I'm trying to access a SharePoint 2007 site with VSTA and InfoPath 2007 On this line of code: Dim aSite As String = "http://win-gqnf6n2p9dt/Sites/ESP" WxJobSite = New SPSite(aSite) It ...
1
vote
1answer
672 views

Error during solution import in Visual Studio 2010 and when applying a web template

I'm trying to import a solution from a wsp-file into a SharePoint 2010 project in Visual Studio 2010. The solution file results from a site template I exported using the "safe as template" option of a ...
0
votes
3answers
3k views

SharePoint 2010 Workflow - Creating multiple tasks

I'm working on a SharePoint 2010 workflow which will assign multiple tasks to a list of users. I'm using the Multiple Tasks webcast from Scot Hillier as a guideline ...
0
votes
2answers
1k views

How do I deploy a web part to the bin folder?

I developed a test web part and everything worked well. Now I try to deploy another webpart without using GAC (several websites, including Microsoft's, say that the web part dll must either be in /bin ...
0
votes
2answers
547 views

How do I convert a web part created in Visual Studio 2008 to Visual Studio 2010?

How to convert a web part project created in VS 2008 to VS 2010?
1
vote
1answer
247 views

limit visual studio workflow to base content type “document”

i want to limit my sharepoint 2010 workflow, which i developed in visual studio 2010, to the base content type "Document". Is there a way to accomplish that? i searched the sdk but have not found ...
2
votes
2answers
679 views

Deploy a visual web part developed with VS2010 to SharePoint 2007

I developed a simple webpart using the Visual Web Part template in Visual Studio 2010 and have been testing it within SharePoint 2010. I want to know if this web part could be deployed to SharePoint ...
1
vote
1answer
649 views

How to use resource files in webtemp xml

Probably another easy question, but I've been working on it this morning and haven't been able to get it to work. I have a site definition that I am attempting to move the string literals to a ...
1
vote
3answers
382 views

How to display a database table in a page, based on the current Site Collection Subsite

being new to the Sharepoint scene, I was wondering what the best approach was in this situation. I have a few customers, who all login into the Main Home site, and then get a link to their resp. ...
0
votes
1answer
164 views

Can WebProvisioningProvider assembly version be automated in webtemp xml file?

I have a basic site site definition I am attempting to provision with a custom SPWebProvisioningProvider. I have the following attributes set in the webtemp xml file ProvisionAssembly="{assembly ...
6
votes
3answers
399 views

Ups and Downs of Content Type Creation Methods

There are several places online I've read to only create content types in feature XML. However, the reason for this seems to be to keep the content type as deployed in a feature. As I understand it, ...
2
votes
3answers
5k views

Creating a document library list definition in visual studio 2010

In visual studio 2010 I create a new empty sharepoint project. I then add a new list definition selected document library as the type of list. It generates the def and I then change the type in the ...
6
votes
3answers
2k views

Content Type Inheritance

In simplified form, I have the following situation. A Parent content type <ContentType ID="0x0100db5b9dac9c5f4d098820f922eebf3b39" Name="Parent" Group="Example Content ...
1
vote
3answers
2k views

Copy to 14 / Copy to GAC functionality in Visual Studio 2010

Hey there, for those used to working with WSP Builder, does anyone know of a way to get the same "Copy to hive" and "Copy to GAC" functionality in SP 2010 and VS 2010 that was in WSP Builder?
0
votes
2answers
1k views

SharePoint 2007 + Visual Studio 2010 + 64bit : SharePoint toolbox items disabled

In order to develop SharePoint 2007 workflows in Visual Studio 2008 on 64 bit, I would create a new (non-SharePoint) Workflow project. Then, I would add the appropriate onWorkflowActivated activities, ...
0
votes
2answers
2k views

Creating a calendar event with recurrence and all day event enabled programmatically?

I'm trying to creat a calender event that will be an all day event and will repeat every year from a list that has everyone's birthday. The recurrence works great and so does the All day event. The ...
1
vote
1answer
158 views

What is the different between Deploy Solution and Deploy?

I have been developing WP's for SP 2010 for some time now, and have not thought about a simple concept. What is the difference between deploying the solution vs deploy? What files are included when ...
0
votes
2answers
1k views

Workflow stuck in 'Starting' status - MOSS 2007

Maybe someone can help me debug this I've created a simple sequential workflow in VS2008 on server 2003(64 bit) and wspbuilder workflow feature tempalte. When I trigger the workflow manually it ...
2
votes
0answers
1k views

Debugging XSLT in Visual Studio 2010 [closed]

I'm trying to debug XSLT for CQWP. I followed this guide. So I'm able to retrieve the XML, and link the files temporarily together using xsl:import. But then Visual Studio can't find the schema for ...
0
votes
3answers
1k views

Can I target .NET Framework 3.5 when creating a MOSS 2007 web part?

I'm creating a web part in Visual Studio 2008 that involves using the Open XML SDK 2.0. I'm getting an error saying I need to add a reference to the WindowsBase assembly. However, I can only add ...
1
vote
1answer
2k views

How to retrieve User Information List data

I would like to filter a list based upon a user group that the user may belong to and a specific value found in the User Information List for that user. I tried doing this with CAML in SharePoint ...
2
votes
1answer
416 views

how to map sharepoint mapped resource folder to app_globalResources folder in VS 2010?

how to map sharepoint mapped resource folder to app_globalResources folder ??
0
votes
1answer
368 views

Unit test for creating a SharePoint site fails

I have some code that creates a SharePoint site. When the code runs as part of the solution it works. However, when I run it as a unit test I get the following error: The test adapter ...
3
votes
1answer
516 views

How to deploy a workflow as part of a site definition?

We have a customer that will be creating many sites based on a site definition. The sites include a list. We would like to connect a workflow to that list such that the workflow starts whenever a new ...
0
votes
1answer
378 views

Missing finished tasks and successful workflows

We have a InfoPath Form Library with Visual Studio Workflows on an MOSS 2007. Now to some of the form we're missing tasks in the tasklist and there isn't a status in the column of the workflow. But ...