CSC510401. Unresolved token $SharePoint.Project.AssemblyFullName$.

Description

By default in Visual Studio the only following extensions are supported:
  • XML
  • ASCX
  • ASPX
  • Webpart
  • DWP

If you use for example ASMX web service the following definition will be failed:
 <%@ WebService Language="C#" Debug="true" Class="MySolution.Code.AjaxWebService, $SharePoint.Project.AssemblyFullName$" %>
As an outcome, you get *.wsp with token $SharePoint.Project.AssemblyFullName$ inside page.

Resolution

Project file (.csproj) should contain required file extension to replace $SharePoint.Project.AssemblyFullName$" into the full assembly name. Example:
<PropertyGroup>
<TokenReplacementFileExtensions>asmx;</TokenReplacementFileExtensions>
</PropertyGroup>

Links

Replaceable Parameters

Last edited Mar 17, 2014 at 11:59 AM by dvd73, version 4

Comments

No comments yet.