Couldn't find similar problem post so didn't know if others have solved this

Thanks for any help

robG

---- I've paste items here, these are from samplelibrary example in GP dev solution with my minor changes

Should this work
Unbound project template, r-click on soultion folder and chose myproject
Get Project setup UI
Enter project name: MyTrans
//I want to use as a root name for other things so I want to add "service" to this before is gets created

Enter location: ... all our projects live in real folders matching solutionfolders

Wizard UI pops up
I display a ProjectNameService made with evaluator from projectname and "service"
I have them enter the solution folder name (not full path) say "TransMgt"
I show Builtup TargetNamespace monitors foldername
so this shows Company.Product.TransMgt.MyTransService

The * csproj file gets the project name they typed and not my ammended name
The default namespace inside csproj is Company.Product.T.MyTransService missing rest of TransMgt word
The Assembly name gets the project name they typed and not my ammended name
We have a standard of naming DLLs off Namespace...ProjectnameService

the class files gets the right name
I use projectname and different suffix MyTransSvc

Inside Class
Namespace is wrong ... see above
Interface is ok as it get projectname & suffix

-------------test_gp.xml
<?xml version="1.0" encoding="utf-8" ?>
<GuidancePackage xmlns="http://schemas.microsoft.com/pag/gax-core"
Name="TEST_GP"
Caption="TEST_GP"
Description="test_gp sample for forum questions"
BindingRecipe="BindingRecipe"
Guid="45c1b768-b72e-44a7-af24-35925e1d22b6"
SchemaVersion="1.0">
<Recipes>
<Recipe Name="BindingRecipe">
<Types>
<TypeAlias Name="RefCreator" Type="Microsoft.Practices.RecipeFramework.Library.Actions.CreateUnboundReferenceAction, Microsoft.Practices.RecipeFramework.Library"/>
</Types>
<Caption>Creates unbound references to the guidance package</Caption>
<Actions>
<Action Name="CreateSampleUnboundTemplateRef" Type="RefCreator" AssetName="Projects\SampleLibrary\SampleLibrary.vstemplate"
ReferenceType="TEST_GP.References.SolutionFolderAReference, TEST_GP" />
</Actions>
</Recipe>
<Recipe Name="CreateServiceProjectII" Recurrent="true">
<xi:include href="TypeAlias.xml" originalAttribute="href" originalPath="TypeAlias.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<Caption>Collects Parms for CreateServiceProjectII</Caption>
<Description>Get add'l fields to help build Namespace, interface names...</Description>
<Arguments>
<!-- Trying to change project name they typed by adding "Service" to end -->
<Argument Name="Service">
<ValueProvider Type="Evaluator" Expression="Service" />
</Argument>
<Argument Name="ProjectNameService">
<Converter Type="Microsoft.Practices.RecipeFramework.Library.Converters.NamespaceStringConverter, Microsoft.Practices.RecipeFramework.Library" />
<ValueProvider Type="Evaluator" Expression="$(ProjectName)$(Service)" />
</Argument>
<!-- trying to build up Ns Company.Product.SolutionFolderAsGroupName.ProjectNamewithserviceadded-->
<Argument Name="RootNS">
<ValueProvider Type="Evaluator" Expression="Company.Product" />
</Argument>
<!-- ?? r-cliked on solution folder to add project, but VS doesn't seem to offer this info-->
<!-- Force dev to enter solutionfolder they just chose -->
<Argument Name="FolderName" Type="System.String" Required="true" />
<!-- This shows correct in Wizard as folder is typed this shows text,-->
<!-- When it is used in *.cs it seems to have only 1st char of folder ?-->
<Argument Name="TargetNamespace">
<Converter Type="Microsoft.Practices.RecipeFramework.Library.Converters.NamespaceStringConverter, Microsoft.Practices.RecipeFramework.Library" />
<ValueProvider Type="Evaluator" Expression="$(RootNS).$(FolderName).$(ProjectNameService)">
<MonitorArgument Name="FolderName" />
</ValueProvider>
</Argument>
</Arguments>
<GatheringServiceData>
<Wizard xmlns="http://schemas.microsoft.com/pag/gax-wizards" SchemaVersion="1.0">
<Pages>
<Page>
<Title>Collect information using editors, converters and value providers.</Title>
<Fields>
<Field ValueName="ProjectNameService" Label="ProjectName w/Service" />
<Field ValueName="FolderName" Label="Solutionfolder">
<Tooltip>Please Type in Solutionfolder Name for namespace</Tooltip>
<Editor Type="TEST_GP.Editors.MessageEditor, TEST_GP" />
</Field>
<Field ValueName="TargetNamespace" Label="Target Namespace">
<Tooltip>This should be company.product.yourfoldername.yourprojectname w/ Service suffix</Tooltip>
</Field>
</Fields>
</Page>
</Pages>
</Wizard>
</GatheringServiceData>
</Recipe>


<Recipe Name="AddMainClass" Recurrent="false">
<Types>
<TypeAlias Name="Evaluator" Type="Microsoft.Practices.RecipeFramework.Library.ValueProviders.ExpressionEvaluatorValueProvider,Microsoft.Practices.RecipeFramework.Library" />
</Types>
<Caption>Add class with Main method</Caption>
<HostData>
<Icon ID="630" />
<CommandBar Name="Project" />
</HostData>
<Arguments>
<Argument Name="CurrentProject" Type="EnvDTE.Project, EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<ValueProvider Type="Microsoft.Practices.RecipeFramework.Library.ValueProviders.FirstSelectedProject, Microsoft.Practices.RecipeFramework.Library" />
</Argument>
<Argument Name="ClassName">
<Converter Type="Microsoft.Practices.RecipeFramework.Library.Converters.CodeIdentifierStringConverter, Microsoft.Practices.RecipeFramework.Library"/>
</Argument>
<Argument Name="TargetFile">
<ValueProvider Type="Evaluator"
Expression="$(ClassName).cs">
<MonitorArgument Name="ClassName" />
</ValueProvider>
</Argument>
<Argument Name="TargetNamespace">
<Converter Type="Microsoft.Practices.RecipeFramework.Library.Converters.NamespaceStringConverter, Microsoft.Practices.RecipeFramework.Library"/>
<ValueProvider Type="Evaluator"
Expression="$(CurrentProject.Properties.Item('DefaultNamespace').Value)" />
</Argument>
<Argument Name="HelloMessage">
<Converter Type="TEST_GP.Converters.HelloWorldConverter, TEST_GP" />
</Argument>
</Arguments>
<GatheringServiceData>
<Wizard xmlns="http://schemas.microsoft.com/pag/gax-wizards" SchemaVersion="1.0">
<Pages>
<Page>
<Title>Hello World</Title>
<Fields>
<Field ValueName="ClassName" Label="Class Name" />
<Field ValueName="TargetNamespace" Label="Namespace" />
<Field ValueName="HelloMessage" Label="Message" />
</Fields>
</Page>
</Pages>
</Wizard>
</GatheringServiceData>
<Actions>
<Action Name="GenerateMainClass" Type="Microsoft.Practices.RecipeFramework.VisualStudio.Library.Templates.TextTemplateAction, Microsoft.Practices.RecipeFramework.VisualStudio.Library"
Template="Text\Program.cs.t4">
<Input Name="Hello" RecipeArgument="HelloMessage" />
<Input Name="ClassName" RecipeArgument="ClassName"/>
<Input Name="TargetNamespace" RecipeArgument="TargetNamespace"/>
<Output Name="Content" />
</Action>
<Action Name="AddMainClass" Type="Microsoft.Practices.RecipeFramework.Library.Actions.AddItemFromStringAction, Microsoft.Practices.RecipeFramework.Library"
Open="true">
<!--Shows how to specify a property as a fixed value in config-->
<Input Name="Content" ActionOutput="GenerateMainClass.Content" />
<Input Name="TargetFileName" RecipeArgument="TargetFile" />
<Input Name="Project" RecipeArgument="CurrentProject" />
</Action>
</Actions>
</Recipe>
</Recipes>
</GuidancePackage>


------ SampleLibrary.vstemplate
<VSTemplate Version="2.0.0" Type="Project" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005">
<TemplateData>
<Name>Sample Service Project</Name>
<Description>Sample Service library project </Description>
<Icon Package="{FAE04EC1-301F-11d3-BF4B-00C04F79EFBC}" ID="4547" />
<ProjectType>CSharp</ProjectType>
<SortOrder>20</SortOrder>
<CreateNewFolder>true</CreateNewFolder>
<DefaultName>MyPostingService</DefaultName>
<ProvideDefaultName>true</ProvideDefaultName>
<LocationField>Enabled</LocationField>
<EnableLocationBrowseButton>true</EnableLocationBrowseButton>
</TemplateData>
<TemplateContent>
<!-- trying to use projectname that is the prject name they typed plus "Service" suffix -->
<Project TargetFileName="$ProjectNameService$.csproj" File="SampleLibrary.csproj" ReplaceParameters="true">
<ProjectItem ReplaceParameters="true">Properties\AssemblyInfo.cs</ProjectItem>
<!-- use typed projectname and append "Svc" suffix-->
<ProjectItem ReplaceParameters="true" TargetFileName="$safeprojectname$Svc.cs">SampleClass.cs</ProjectItem>
</Project>
</TemplateContent>
<WizardExtension>
<Assembly>Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</Assembly>
<FullClassName>Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate</FullClassName>
</WizardExtension>
<WizardData>
<Template xmlns="http://schemas.microsoft.com/pag/gax-template"
SchemaVersion="1.0"
Recipe="CreateServiceProjectII" />
</WizardData>
</VSTemplate>

-------- samplelibrary.csproj
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>$guid1$</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>$TargetNamespace$</RootNamespace>
<AssemblyName>$TargetNamespace$</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System"/>
<Reference Include="System.Data"/>
<Reference Include="System.Xml"/>
</ItemGroup>
<ItemGroup>
<Compile Include="$safeprojectname$Svc.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
</Project>

-----------sampleclass.cs

using System;
using System.Collections.Generic;
using System.Text;

namespace $TargetNamespace$
{
public class $safeprojectname$Svc : I$safeprojectname$Svc
{
#region I$safeprojectname$Svc Members
#endregion

}
}