Saturday, March 24, 2012

TagPrefix and Assemblies

I'm trying to get something to work based on an existing application. In the existing web.config, there's are assemblies like this one:

<addassembly="Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"/>

Can I copy and paste these assemblies into my web.config or were these generated some way that I need to generate them.

Also, in the master page, there's this tag prefix:

<%@dotnet.itags.org.RegisterTagprefix="SharePoint"Namespace="Microsoft.SharePoint.WebControls"Assembly="Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

Can I just copy and paste this into mine, or do I have to create a unique one...and how would I do that?

Thanks!

Yupp! Go ahead use them. They'll work.


Unless an assembly is of different build/version, you can simply copy && paste.

0 comments:

Post a Comment