You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
related to this exception I thinks is for this If I'm not wrong this is the validation code:
private static void ValidateOutputItemType(OutputFile output, Project outputProject)
{
if (!string.IsNullOrEmpty(output.ItemType))
{
ICollection itemTypes = GetAvailableItemTypes(outputProject);
if (!itemTypes.Contains(output.ItemType))
{
throw new TransformationException(string.Format(CultureInfo.CurrentCulture, "ItemType {0} specified for output file {1} is not supported for project {2}", output.ItemType, output.Path, outputProject.FullName));
}
}
}
and the values for ItemType are :none, compile, content, and embebedresource.
former version was posible to set to an arbitrary string like "Page", or "ApplicationDefinition" to generate other things like xaml
is it possible to make a workarround of this validation?
thanks
Javier Hermoso
The text was updated successfully, but these errors were encountered:
Hi
related to this exception I thinks is for this If I'm not wrong this is the validation code:
private static void ValidateOutputItemType(OutputFile output, Project outputProject)
{
if (!string.IsNullOrEmpty(output.ItemType))
{
ICollection itemTypes = GetAvailableItemTypes(outputProject);
if (!itemTypes.Contains(output.ItemType))
{
throw new TransformationException(string.Format(CultureInfo.CurrentCulture, "ItemType {0} specified for output file {1} is not supported for project {2}", output.ItemType, output.Path, outputProject.FullName));
}
}
}
and the values for ItemType are :none, compile, content, and embebedresource.
former version was posible to set to an arbitrary string like "Page", or "ApplicationDefinition" to generate other things like xaml
is it possible to make a workarround of this validation?
thanks
Javier Hermoso
The text was updated successfully, but these errors were encountered: