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

learn more… | top users | synonyms (1)

1
vote
2answers
495 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
3k 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
491 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
531 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
280 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 ...
2
votes
2answers
908 views

Understanding Sharepoint feature scopes

I have read the article about Understanding Scope of SharePoint Features and the MSDN documentation on Feature Scope. So from what I understand you can activate a feature for the following scopes: ...
2
votes
1answer
549 views

Visual Studio 2010 Intellisense Breaks after Deploying to Sharepoint Site

I've ran in to this in two completely different environments now. I can build the solution and not have any problems with intellisense. If I deploy our Web Parts project to my local SharePoint 2010 ...
1
vote
2answers
315 views

Debugging SP2007 Event Receiver in Visual Studio 2005

I am trying to debug an event receiver by attaching to the SP sites w3wp.exe process, however the breakpoints are not being hit, and VS2005 is telling me no symbols have been loaded. The Event ...
0
votes
2answers
455 views

Using Web Part when adding document to a library

When a user uploads a document to a SharePoint library, I need to present them with a few dropdowns and text fields where they can provide some extra info. The dropdowns are going to be populated from ...
0
votes
3answers
1k views

Does Visual Studio 2010 work with SharePoint 2007?

Does Visual Studio 2010 work with MOSS 2007?
3
votes
2answers
4k views

How to delete site columns, deployed via feature (not visible in Sharepoint UI)?

Well it seems like this is a problem some people are having, but I can't seem to find the definite solution. I deployed some Site Columns to Sharepoint using a feature, let's go with the following ...
0
votes
3answers
4k views

How to add SP2010 module elements with “published” state?

I use a feature to deploy a master page to a SharePoint 2010 publishing site. I use VS 2010 SharePoint projects. The feature deploys the .master , some CSS files and some images. Everything works OK ...
1
vote
2answers
733 views

CKSDEV tools - problem with debugging

I use CKS devtools version 1.1(latest). Problem is: I installed tools and everything was ok relating to debug (VS2010 - Tools - CKSDEV -Attach to IIS Worker Processes) but after I changed ...
2
votes
2answers
8k views

Add fields to New/Edit form with custom list definition (document library)

I'm using Visual Studio 2010's template "List Definition" to create a new list definition for a document library. Nothing fancy at all - I only want to add a couple of fields to the list and to the ...
1
vote
2answers
966 views

unable to retract Sharepoint solutions

I am having trouble retracting solutions in SharePoint 2007. I used both the retract solution button and the stsadm command in command line. The timer job was created in both instances, but it never ...
1
vote
1answer
976 views

Create WorkflowHistory list during Workflow deployment?

How do you deploy your custom Visual Studio Workflows to automatically create a WorkflowHistory and task list (Creating a List programmatically using the object model)? I know I can first deploy the ...
3
votes
2answers
650 views

Best Practices for updating Content Types in SharePoint

Recently, we came across a severe problem in production farm with the Content Types. I would like to explain the background of this problem first. We have nice working feature for Content Types ...
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
912 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 ...
1
vote
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
2
votes
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
428 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
339 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
299 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
954 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
710 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
621 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
325 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
302 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
643 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
493 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
677 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
2k 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
549 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
654 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 ...