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

learn more… | top users | synonyms (1)

0
votes
1answer
163 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
396 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
411 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
367 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
515 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
367 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 ...
0
votes
3answers
2k views

Custom Webpart doesn't show up in Sharepoint 2010 after deploying from VS2010

Full disclosure: Sharepoint development noob. I currently have 3 custom web parts built in an SP solution in VS2010. I build and deploy my project out to our local Sharepoint dev box. However, after ...
0
votes
1answer
784 views

Adding list forms in Visual Studio 2010

In SharePoint Desinger it is possible to add a new forms to a list (example CustomeEditForm.aspx). Is there some method of doing this in Visual Studio 2010 and how is that done? And is ther some blog ...
1
vote
7answers
8k views

Deploying columns with content types in Visual Studio 2010

I've written a feature that deploys new columns along with a content type containing the columns. The feature is Site scoped and written in Visual Studio 2010 to deploy to SharePoint 2010. When the ...
3
votes
4answers
11k views

Error message: “A sharepoint server is not installed…”

Im trying to develop a Visual Web Part using Visual Studio 2010 RC. I have not installed SharePoint 2010 locally on my developer box, but I have installed it on my Windows 2008 Server VPC. When I try ...
3
votes
3answers
2k views

ASP.NET User Control in SharePoint WebPart

I want to use the Visual Studio designer to make controls for my WebPart... I've been pointed to two approaches that seem ok. First, SmartParts... which I'll look into later. Second was to create an ...
1
vote
2answers
108 views

visual designer for MOSS 2007 webparts in visual studio

How do I develop MOSS 2007 WebParts with a visual designer? So far, I've only figured out how to put together these parts from the code behind... which has been a pain. Am I just overlooking some ...
1
vote
1answer
336 views

How to deploy to path returned by GetClassResourcePath?

I'm using VS 2010 to create a SP 2010 web part. I want to include my images, css files and js files in the VS project, and have them be deployed to the correct location. My understanding is that I ...
1
vote
1answer
4k views

Deploying dll's in a Sandboxed solution from VS 2010

I am testing out Visual Studio 2010. I have created a sandboxed solution with a webpart. It deployed OK. I then tried adding a dll to the solution that would contain the business logic. This dll is ...
2
votes
1answer
396 views

Deploying webparts to default.aspx with a SiteDefinition feature dependency

I tried deploying a Site Definition with a custom default.aspx page. Within the <WebFeatures> node of the Site Definition's Onet.xml I tried to reference a Feature which would get a web part ...
2
votes
2answers
2k views

Visual Studio 2010 Site Column template?

I noticed there are a lot of new project and item templates in Visual Studio 2010, but I'm unable to find one for Site Columns. Is there none? What's the suggested way of making a site column in ...
3
votes
2answers
2k views

How can I get rid of the ListFormWebPart in a custom form?

I'm pretty new to SP, but I had to bite the bullet and create a custom new form for a custom list schema. I mirrored the field structure with textboxes and such, added some custom javascript, ...
3
votes
2answers
1k views

Convert SharePoint 2007 features in VS2010 feature designer

Does anybody have experience moving SharePoint 2007 features from VS2008 to VS2010 using the new feature designer? I currently have a C# class library project that has a "12" folder with a bunch of ...
5
votes
2answers
83 views

Why does SharePoint Workflow Project in VS 2008 get modified every time it's opened?

The same goes for the workflow source files -- every time I open the project or go to the source file, it's indicating (by the asterisk) that the file has been modified. Which means two things: when ...
1
vote
3answers
606 views

When is Visual Studio required for creating workflows?

Are there any real world scenarios where we cannot do without Visual Studio workflow? That is where default SharePoint workflows or Sharepoint Designer won't suffice?
1
vote
1answer
735 views

Cannot access SharePoint from Visual Studio Add-In (SPFarm.Local is null)

I have a weird problem so I'm going to see if the SharePoint community can help shed some light on this. I am developing a Visual Studio 2008 Add-In which creates some menu items on the 'Project' ...
1
vote
1answer
409 views

Visual Studio reports fake schema validation errors. How to clean SharePoint schema cache?

I have recently generated a couple of ListDefinitions using both SPSource and VSeWSS SharePoint Solution Generator. In both cases, surpisingly, Visual Studio reports fake schema validation errors in ...
1
vote
5answers
4k views

Packaging with WSPBuilder and missing project/DLL dependencies

I'm working on a SharePoint solution containing five Visual Studio projects. One is a "common library"-type of project and the other four are features with code that depend on the library. The issue ...
0
votes
3answers
821 views

Deploy a solution package from command prompt

We are trying to automate the solution deployment to a test environment. We are using vsewss 1.3. To do this we are trying to run the following command from the visual studio command prompt: devenv ...
5
votes
3answers
943 views

Why is Microsoft.SharePoint.Search.dll copied in my project?

When working on a VS project that involves referencing Microsoft.SharePoint.dll, building the project causes Microsoft.SharePoint.Search.dll to be copied to my bin folder. Why is this? Okay, maybe ...