[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 565
  • Last Modified:

XSLT file reference in an Assembly which is referenced in SharePoint

I have a XSLT file referenced in an Assembly which is referenced in SharePoint and WCF service.

This assembly has to go in GAC but I can't put the XSLT file in GAC, I have to put in with WCF Service.

How do I refer the XSLT file referenced in this assembly.
0
nsdlsandy
Asked:
nsdlsandy
  • 2
1 Solution
 
Rainer JeschorCommented:
Hi,
depending on your environment / SharePoint farm / WCF service location you would have three options:
- Place the file in a programs folder on the server
- Put (upload) it in a central document library of your SharePoint server
- Include it as an embedded resource in your DLL / project
  http://stackoverflow.com/questions/258291/best-way-to-deploy-and-reference-an-xslt-file
  http://www.brandonmartinez.com/2009/07/06/xmlurlresolver-using-embedded-xslt-resources-in-c/

HTH
Rainer
0
 
nsdlsandyAuthor Commented:
thanks for your response.. I am looking at these options and will get back soon.
0
 
nsdlsandyAuthor Commented:
Thanks for the info.
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now