This project is read-only.

$SharePoint.Project.AssemblyFullName$ Token not replaced


As already discussed in the forum ( by another user, it seems like the $SharePoint.Project.AssemblyFullName$ token is no longer replaced using SPSF. In my case also not in an Elemnts.xml of a Event Receiver.

file attachments


matein78 wrote Aug 29, 2013 at 8:46 AM

Thanks, but that is not a SPSF but a Visual Studio issue.

SPSF is not replacing any of these replaceable parameters mentioned on

So it doesn't matter if you create such code with SPSF or for example use the VS2012 OOTB ItemTemplate UserControl. VS just doesn't replace this token in the file.



pberger wrote Aug 29, 2013 at 9:29 AM

I don't know yet what the exact reason is why the token is not replaced, but it works for me in a different project which was not created with SPSF (for the same file). Same with aspx files.

matein78 wrote Aug 29, 2013 at 9:48 AM

Hm, that sounds indeed odd.

Usually the filetypes should be replaced before packaging by the Microsoft.VisualStudio.SharePoint.targets file, located in the …\
\MSBuild\Microsoft\VisualStudio\v11.0\SharePointTools folder.

SPSF calls the packaging target from there on each build and that should do the trick.

I will check on that! Maybe I am wrong...

danielsirz wrote Aug 21, 2014 at 2:06 PM

I'm exactly facing the same Problem. I'm using Version:

in *.csproj file of SPSF project:

None of my aspx or ashx file are replaced.
At least aspx files should be replaced because of: Microsoft.VisualStudio.SharePoint.targets

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\SharePointTools\Microsoft.VisualStudio.SharePoint.targets

See attached screenshot.