The assembly-references tag has no wiki summary.
1
vote
1answer
23 views
Can I use a .net 4.0 dll assembly reference in a .net 3.5 sharepoint web part?
I am using some dll's from the crm 2011 sdk in a .NET 3.5 web part.The target is for SharePoint 2010 online. When I try to build it gives me the following error:
The primary reference ...
0
votes
2answers
30 views
Failed to load receiver assembly, missing service recycle?
I'm activating a feature using PowerShell and every "once in a while" it fails with the error "Failed to load receiver assembly". It seems to be complaining because some service or application is ...
0
votes
2answers
24 views
The assembly is created after its built or deployment?
I was wondering when do the runtime create the assembly of my sharepoint project, is it after building it or after it deployment ??
0
votes
1answer
26 views
Setting binding redirects for owstimer on multiple WFE
We have code similar to what is described in this blog post to set binding redirects in owstimer.exe.config using the FeatureInstalled event; the post specifically states that this event should run on ...
1
vote
2answers
33 views
How to pull SharePoint 2010 Reference assemblies for dedicated build server
I am trying to build my SP2010 projects on a clean build server. All of my project's are building fine with one exception. One Visual Web Part project fails with the following error on the build ...
1
vote
1answer
25 views
Strange issue with feature activation
I'm having a problem while activating a feature. I have a custom dll that I referenced in this new project, and I'm trying to execute some code on the feature activation. The problem is that I get the ...
0
votes
1answer
90 views
How to reference/write the file path in Elements.xml for UserControl in Sandbox Solution?
I have 1 solution (which is deploying as SandBox Solution).
I have added JavaScript files, Images, Application Page & UserControl in one Module under project folder.
I have one Element.xml file ...
0
votes
2answers
68 views
Add call to static method in master page
I have an branding solution with custom master page. I have also utilities assembly, which is deployed into GAC.
I have a button in my master page and I'd like to bind it's navigate URL to result of ...
2
votes
1answer
52 views
Using C++ dlls in event receiver
I am trying to use a legacy C++ dll that has around 5 C/C++ dependencies in SharePoint. I created a wrapper for the dll and it works fine in a test desktop program. I added the wrapper and all C++ ...
1
vote
1answer
190 views
Load resource strings (in .resx file) from other assembly
We are seeking to gradually move custom artifacts to new solutions (wsp's) and I'm stuggling with loading resource strings from xml/code in original package (XXX.Package.wsp).Resource files are now ...
0
votes
2answers
49 views
Changing a web part assembly name
I have recently decided that the assembly name for my solution needs to be changed. The issue is that this solution has tons of web parts active in all different site collections and none will work if ...
2
votes
3answers
265 views
SharePoint 2010: System DLL (System.Collections.Generic) is not in the GAC - how do I add it?
I have a SharePoint project (named MyProject for this example) with an Application Page that references the namespace System.Collections.Generic. When I try to deploy the project, I get this error ...
0
votes
1answer
192 views
Failed to load receiver assembly
Hi I´m working with 3 WFE, I´m, trying to deploy a solution with 2 master pages, also with a feature that will help us to change the master when we active it or de acitvate it.
The solutions has been ...
2
votes
1answer
316 views
This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded
I created a project on Sharepoint 2010.
I need a Third Part dll reference in order to solve a problem.
After downloading the dll, putting it in the project, add the reference to this library and ...
3
votes
2answers
74 views
How could I put a references of Ajax Control Toolkit in a GAC
How Could i put a references to the Gac. I want to putting a dll file to the AjaxControl Toolkit.
0
votes
1answer
118 views
How to add and use external assemblies in solutions?
I need to use DocumentFormat.OpenXml.dll in my code. In the solution package, I included this external dll in the Additional Assemblies. It looks like this:
I also need to reference it, so that I ...
0
votes
1answer
51 views
Adding EventReceiver to Dynamic List
I am trying to add a Event Receiver to a list that is dynamically created (by code).
So i cannot add a event receiver on the list directly.
I found a way to attach a Event Receiver to the list by ...
0
votes
1answer
238 views
How do I add a user control from a separate assembly onto a Sharepoint application page?
Note: This question was originally posted in Stackoverflow and I was recommended to ask it here instead.
There is probably a very simple solution to this problem but since I do not know Sharepoint at ...
1
vote
1answer
165 views
Adding and referencing an additional assembly in sandboxed solution
I'm writing a feature to my sandboxed web part with an event receiver that would parse a html website and add the results to a sharepoint list.
The thing is I'll need to use the HTML Agility Pack and ...
1
vote
1answer
219 views
Using Web services - could not load type
I have written a bridge between my application and the Sharepoint webservices, to return the data to my project in a useful format. However When any line tries to create a new instance of this ...
1
vote
1answer
141 views
HTTP Handler not working for MS office extensions
I am trying to map a custom HTTP handler for *.pptx files and for some reason this is not working.
My HTTP handler does nothing else other than sending an email when a powerpoint file is accessed. I ...
1
vote
2answers
498 views
SharePoint 2010: Saving file to local folder: Access Denied
in SharePoint 2010, I created a DLL that I deploy to the GAC. From this assembly, I try to save a file then access the file I just saved in a temporary location, such as C:\temp. Everytime I try to do ...
2
votes
1answer
1k views
SharePoint 2010 still looking for old version of solution assembly
We have a SharePoint 2010 solution developed in Visual Studio, which when deployed adds an assembly to the GAC (let's say MySolution.dll, version = 1.0.0.0).
We make some changes and redeploy the ...
0
votes
3answers
102 views
Run an aspx page and have dlls in layouts folder instead of GAC - sharepoint
I have created an asp.net project . i want to run that project in SharePoint (2007) site. unfortunately i have no rights to deploy WSP files in sharepoint server. it is a share hosting. i can access ...
1
vote
3answers
1k views
How to Add Reference for Microsoft.Sharepoint to a Web-Application
Salve! Having created a web-application under the Sharepoint (2010) Site's directory in iis7, I now need to use the assemble microsoft.sharepoint in my web-application. How can I reference that?
I ...
1
vote
2answers
1k views
Is it possible to use a DLL in a webpart that does not have a strong name?
My Sharepoint project has a webpart, which references dlls without strong names, which in turn further reference other dlls without strong names.
Is it possible to add these dlls to sharepoint ...
1
vote
3answers
352 views
Why does this third-party library throw a FileNotFoundException?
I'm in the process of building a custom web part in Visual Studio 2010 designed simply to report the user ID of anyone who is logged in to one of six computers on my office's network. I have found a ...
0
votes
3answers
347 views
Visual Studio assembly references form common assemblies and SharePoint
I have some logging and other common libraries that i want to use in my SharePoint solutions. These common dlls will be deployed to the GAC, i was thinking of creating a .wsp for them just on there ...
2
votes
1answer
430 views
Assembly binding failure for all old Microsoft.SharePoint (version 12.0.0.0) dlls
My SharePoint 2010 dev box seems to have gone crazy today. I started to get an error when using U2U's CAML builder and trying to connect to a site using the Object Model.
The error message is as ...
1
vote
2answers
874 views
The type or namespace name 'X' could not be found (are you missing a using directive or an assembly reference?)
I have a weird problem I just can't place.
I have a SP 2010 project which contains two sub-projects of type class library (FirstLib and SecondLib).
The project build fine, no errors whatsoever, ...
2
votes
1answer
885 views
SharePoint 2010 - Add WebPart reference to PowerShell script
I want to add a new developed WebPart to a SharePoint site with PowerShell.
How it is possible to add the WebPart reference from my WebPart to the PowerShell script?
$web = Get-SPWeb $urlWeb
...
1
vote
4answers
1k views
Problem with HTTP handler in Sharepoint 2010
I'm developing a visual web part for Sharepoint 2010. This webpart needs to get some data via AJAX. So I went for the HTTP handler + jQuery solution posted here.
But I'm getting a problem when trying ...
2
votes
1answer
237 views
Assembly has no strong name though i added dll in advanced Package mode
I want to user Twitterizer for posting Status Updates through a WPF-Form. Since i need the Twitterizer2.dll to do this i first included it and then added it to the package using the advanced package ...
2
votes
1answer
569 views
Deploying DevExpress (third party) controls on SharePoint
I don't know whether anyone is familiar with DevExpress controls, but I am trying to implement their ASPxScheduler within SharePoint.
What I have done so far is:
Register the required assemblies in ...
1
vote
2answers
799 views
SharePoint 2010 Foundation Microsoft.SharePoint.Taxonomy.dll
Is Microsoft.SharePoint.Taxonomy.dll available with SharePoint 2010 Foundation?
1
vote
0answers
310 views
Exception loading SharePoint dependent assembly using reflection [closed]
I've created a custom Central Admin .aspx page that inherits from the OperationsPage base class, which is defined in Microsoft.SharePoint.ApplicationPages.Administration.dll. Naturally, I added a ...
10
votes
4answers
872 views
Mutliple solutions using shared dlls can cause havoc when individual solutions are retracted
Problem: Multiple solutions using shared dll's can cause havoc when individual solutions are retracted.
Example: You have a web part helper dll used by all your web part code. If you retract a ...
