Skip to content
This repository
Browse code

Adding lanwin's VSTemplate changes

  • Loading branch information...
commit 7486601d4031ecde0a97ad254c75047794a653dc 1 parent b19681e
Frank Laub authored

Showing 49 changed files with 26,276 additions and 26,276 deletions. Show diff stats Hide diff stats

  1. +16 16 DotWeb.Installer/DotWeb.TemplateConfigurator/ClassLibraryTemplateWizard.cs
  2. +81 81 DotWeb.Installer/DotWeb.TemplateConfigurator/DotWeb.TemplateConfigurator.csproj
  3. +20 20 DotWeb.Installer/DotWeb.TemplateConfigurator/DotWeb.TemplateConfigurator.sln
  4. +20 20 DotWeb.Installer/DotWeb.TemplateConfigurator/MvcTemplateWizard.cs
  5. +35 35 DotWeb.Installer/DotWeb.TemplateConfigurator/Properties/AssemblyInfo.cs
  6. +39 39 DotWeb.Installer/DotWeb.TemplateConfigurator/Tasks/AddBuildDependencyTask.cs
  7. +45 45 DotWeb.Installer/DotWeb.TemplateConfigurator/Tasks/ChangeOutputPathTask.cs
  8. +31 31 DotWeb.Installer/DotWeb.TemplateConfigurator/Tasks/ChangeStartupProjectTask.cs
  9. +67 67 DotWeb.Installer/DotWeb.TemplateConfigurator/Tasks/FixDotWebInstallationPathTask.cs
  10. +6 6 DotWeb.Installer/DotWeb.TemplateConfigurator/Tasks/ITasks.cs
  11. +87 87 DotWeb.Installer/DotWeb.TemplateConfigurator/WizardBase.cs
  12. +25 25 DotWeb.Installer/VSTemplate/ClassLibrary/AssemblyInfo.cs
  13. +14 14 DotWeb.Installer/VSTemplate/ClassLibrary/Class1.cs
  14. +55 55 DotWeb.Installer/VSTemplate/ClassLibrary/ClassLibrary.csproj
  15. +22 22 DotWeb.Installer/VSTemplate/ClassLibrary/ClassLibrary.vstemplate
  16. +25 25 DotWeb.Installer/VSTemplate/MvcWebApplication/ClassLibrary/AssemblyInfo.cs
  17. +14 14 DotWeb.Installer/VSTemplate/MvcWebApplication/ClassLibrary/Class1.cs
  18. +55 55 DotWeb.Installer/VSTemplate/MvcWebApplication/ClassLibrary/ClassLibrary.csproj
  19. +18 18 DotWeb.Installer/VSTemplate/MvcWebApplication/ClassLibrary/ClassLibrary.vstemplate
  20. +317 317 DotWeb.Installer/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Content/Site.css
  21. +296 296 ...staller/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Controllers/AccountController.cs
  22. +24 24 ....Installer/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Controllers/HomeController.cs
  23. +3 3 DotWeb.Installer/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Default.aspx
  24. +22 22 DotWeb.Installer/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Default.aspx.cs
  25. +1 1  DotWeb.Installer/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Global.asax
  26. +31 31 DotWeb.Installer/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Global.asax.cs
  27. +134 134 DotWeb.Installer/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/MvcApplication.csproj
  28. +84 84 ...late/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/MvcWebApplicationProjectTemplate.cs.vstemplate
  29. +35 35 DotWeb.Installer/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Properties/AssemblyInfo.cs
  30. +6,850 6,850 ...Installer/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Scripts/MicrosoftAjax.debug.js
  31. +7 7 DotWeb.Installer/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Scripts/MicrosoftAjax.js
  32. +337 337 ...taller/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Scripts/MicrosoftMvcAjax.debug.js
  33. +1 1  ...eb.Installer/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Scripts/MicrosoftMvcAjax.js
  34. +6,255 6,255 ....Installer/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Scripts/jquery-1.3.2-vsdoc.js
  35. +4,410 4,410 DotWeb.Installer/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Scripts/jquery-1.3.2.js
  36. +6,255 6,255 ...taller/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Scripts/jquery-1.3.2.min-vsdoc.js
  37. +52 52 ...eb.Installer/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Scripts/jquery-1.3.2.min.js
  38. +42 42 ...taller/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Views/Account/ChangePassword.aspx
  39. +12 12 ...VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Views/Account/ChangePasswordSuccess.aspx
  40. +37 37 DotWeb.Installer/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Views/Account/LogOn.aspx
  41. +47 47 ...eb.Installer/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Views/Account/Register.aspx
  42. +12 12 DotWeb.Installer/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Views/Home/About.aspx
  43. +12 12 DotWeb.Installer/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Views/Home/Index.aspx
  44. +11 11 DotWeb.Installer/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Views/Shared/Error.aspx
  45. +14 14 ...aller/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Views/Shared/LogOnUserControl.ascx
  46. +41 41 DotWeb.Installer/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Views/Shared/Site.Master
  47. +34 34 DotWeb.Installer/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Views/Web.config
  48. +195 195 DotWeb.Installer/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.cs/Web.config
  49. +30 30 DotWeb.Installer/VSTemplate/MvcWebApplication/MvcWebApplicationProjectTemplatev1.vstemplate
32 DotWeb.Installer/DotWeb.TemplateConfigurator/ClassLibraryTemplateWizard.cs
... ... @@ -1,17 +1,17 @@
1   -using DotWeb.TemplateConfigurator.Tasks;
2   -
3   -namespace DotWeb.TemplateConfigurator
4   -{
5   - public class ClassLibraryTemplateWizard : WizardBase
6   - {
7   - /// <summary>
8   - /// Runs custom wizard logic when the wizard has completed all tasks.
9   - /// </summary>
10   - public override void RunFinished()
11   - {
12   - var scriptProject = FindProject(name => name.Equals(ProjectName));
13   -
14   - new FixDotWebInstallationPathTask(scriptProject).Execute();
15   - }
16   - }
  1 +using DotWeb.TemplateConfigurator.Tasks;
  2 +
  3 +namespace DotWeb.TemplateConfigurator
  4 +{
  5 + public class ClassLibraryTemplateWizard : WizardBase
  6 + {
  7 + /// <summary>
  8 + /// Runs custom wizard logic when the wizard has completed all tasks.
  9 + /// </summary>
  10 + public override void RunFinished()
  11 + {
  12 + var scriptProject = FindProject(name => name.Equals(ProjectName));
  13 +
  14 + new FixDotWebInstallationPathTask(scriptProject).Execute();
  15 + }
  16 + }
17 17 }
162 DotWeb.Installer/DotWeb.TemplateConfigurator/DotWeb.TemplateConfigurator.csproj
... ... @@ -1,82 +1,82 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3   - <PropertyGroup>
4   - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5   - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6   - <ProductVersion>9.0.30729</ProductVersion>
7   - <SchemaVersion>2.0</SchemaVersion>
8   - <ProjectGuid>{605DAB6C-352C-4F59-9DD1-D9EBCD738BF3}</ProjectGuid>
9   - <OutputType>Library</OutputType>
10   - <AppDesignerFolder>Properties</AppDesignerFolder>
11   - <RootNamespace>DotWeb.TemplateConfigurator</RootNamespace>
12   - <AssemblyName>DotWeb.TemplateConfigurator</AssemblyName>
13   - <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
14   - <FileAlignment>512</FileAlignment>
15   - <SignAssembly>true</SignAssembly>
16   - <AssemblyOriginatorKeyFile>StrongName.snk</AssemblyOriginatorKeyFile>
17   - </PropertyGroup>
18   - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
19   - <DebugSymbols>true</DebugSymbols>
20   - <DebugType>full</DebugType>
21   - <Optimize>false</Optimize>
22   - <OutputPath>bin\Debug\</OutputPath>
23   - <DefineConstants>DEBUG;TRACE</DefineConstants>
24   - <ErrorReport>prompt</ErrorReport>
25   - <WarningLevel>4</WarningLevel>
26   - <PlatformTarget>x86</PlatformTarget>
27   - </PropertyGroup>
28   - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
29   - <DebugType>pdbonly</DebugType>
30   - <Optimize>true</Optimize>
31   - <OutputPath>bin\Release\</OutputPath>
32   - <DefineConstants>TRACE</DefineConstants>
33   - <ErrorReport>prompt</ErrorReport>
34   - <WarningLevel>4</WarningLevel>
35   - </PropertyGroup>
36   - <ItemGroup>
37   - <Reference Include="EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
38   - <SpecificVersion>False</SpecificVersion>
39   - <HintPath>..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies\EnvDTE.dll</HintPath>
40   - </Reference>
41   - <Reference Include="Microsoft.VisualStudio.TemplateWizardInterface, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
42   - <Reference Include="System" />
43   - <Reference Include="System.Core">
44   - <RequiredTargetFramework>3.5</RequiredTargetFramework>
45   - </Reference>
46   - <Reference Include="System.Windows.Forms" />
47   - <Reference Include="System.Xml.Linq">
48   - <RequiredTargetFramework>3.5</RequiredTargetFramework>
49   - </Reference>
50   - <Reference Include="System.Data.DataSetExtensions">
51   - <RequiredTargetFramework>3.5</RequiredTargetFramework>
52   - </Reference>
53   - <Reference Include="System.Data" />
54   - <Reference Include="System.Xml" />
55   - <Reference Include="VSLangProj, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
56   - <SpecificVersion>False</SpecificVersion>
57   - <HintPath>..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies\VSLangProj.dll</HintPath>
58   - </Reference>
59   - </ItemGroup>
60   - <ItemGroup>
61   - <Compile Include="ClassLibraryTemplateWizard.cs" />
62   - <Compile Include="Tasks\AddBuildDependencyTask.cs" />
63   - <Compile Include="Tasks\ChangeOutputPathTask.cs" />
64   - <Compile Include="Tasks\ChangeStartupProjectTask.cs" />
65   - <Compile Include="Tasks\FixDotWebInstallationPathTask.cs" />
66   - <Compile Include="Tasks\ITasks.cs" />
67   - <Compile Include="MvcTemplateWizard.cs" />
68   - <Compile Include="Properties\AssemblyInfo.cs" />
69   - <Compile Include="WizardBase.cs" />
70   - </ItemGroup>
71   - <ItemGroup>
72   - <None Include="StrongName.snk" />
73   - </ItemGroup>
74   - <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
75   - <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
76   - Other similar extension points exist, see Microsoft.Common.targets.
77   - <Target Name="BeforeBuild">
78   - </Target>
79   - <Target Name="AfterBuild">
80   - </Target>
81   - -->
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3 + <PropertyGroup>
  4 + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  5 + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  6 + <ProductVersion>9.0.30729</ProductVersion>
  7 + <SchemaVersion>2.0</SchemaVersion>
  8 + <ProjectGuid>{605DAB6C-352C-4F59-9DD1-D9EBCD738BF3}</ProjectGuid>
  9 + <OutputType>Library</OutputType>
  10 + <AppDesignerFolder>Properties</AppDesignerFolder>
  11 + <RootNamespace>DotWeb.TemplateConfigurator</RootNamespace>
  12 + <AssemblyName>DotWeb.TemplateConfigurator</AssemblyName>
  13 + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
  14 + <FileAlignment>512</FileAlignment>
  15 + <SignAssembly>true</SignAssembly>
  16 + <AssemblyOriginatorKeyFile>StrongName.snk</AssemblyOriginatorKeyFile>
  17 + </PropertyGroup>
  18 + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  19 + <DebugSymbols>true</DebugSymbols>
  20 + <DebugType>full</DebugType>
  21 + <Optimize>false</Optimize>
  22 + <OutputPath>bin\Debug\</OutputPath>
  23 + <DefineConstants>DEBUG;TRACE</DefineConstants>
  24 + <ErrorReport>prompt</ErrorReport>
  25 + <WarningLevel>4</WarningLevel>
  26 + <PlatformTarget>x86</PlatformTarget>
  27 + </PropertyGroup>
  28 + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  29 + <DebugType>pdbonly</DebugType>
  30 + <Optimize>true</Optimize>
  31 + <OutputPath>bin\Release\</OutputPath>
  32 + <DefineConstants>TRACE</DefineConstants>
  33 + <ErrorReport>prompt</ErrorReport>
  34 + <WarningLevel>4</WarningLevel>
  35 + </PropertyGroup>
  36 + <ItemGroup>
  37 + <Reference Include="EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
  38 + <SpecificVersion>False</SpecificVersion>
  39 + <HintPath>..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies\EnvDTE.dll</HintPath>
  40 + </Reference>
  41 + <Reference Include="Microsoft.VisualStudio.TemplateWizardInterface, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
  42 + <Reference Include="System" />
  43 + <Reference Include="System.Core">
  44 + <RequiredTargetFramework>3.5</RequiredTargetFramework>
  45 + </Reference>
  46 + <Reference Include="System.Windows.Forms" />
  47 + <Reference Include="System.Xml.Linq">
  48 + <RequiredTargetFramework>3.5</RequiredTargetFramework>
  49 + </Reference>
  50 + <Reference Include="System.Data.DataSetExtensions">
  51 + <RequiredTargetFramework>3.5</RequiredTargetFramework>
  52 + </Reference>
  53 + <Reference Include="System.Data" />
  54 + <Reference Include="System.Xml" />
  55 + <Reference Include="VSLangProj, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
  56 + <SpecificVersion>False</SpecificVersion>
  57 + <HintPath>..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies\VSLangProj.dll</HintPath>
  58 + </Reference>
  59 + </ItemGroup>
  60 + <ItemGroup>
  61 + <Compile Include="ClassLibraryTemplateWizard.cs" />
  62 + <Compile Include="Tasks\AddBuildDependencyTask.cs" />
  63 + <Compile Include="Tasks\ChangeOutputPathTask.cs" />
  64 + <Compile Include="Tasks\ChangeStartupProjectTask.cs" />
  65 + <Compile Include="Tasks\FixDotWebInstallationPathTask.cs" />
  66 + <Compile Include="Tasks\ITasks.cs" />
  67 + <Compile Include="MvcTemplateWizard.cs" />
  68 + <Compile Include="Properties\AssemblyInfo.cs" />
  69 + <Compile Include="WizardBase.cs" />
  70 + </ItemGroup>
  71 + <ItemGroup>
  72 + <None Include="StrongName.snk" />
  73 + </ItemGroup>
  74 + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  75 + <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  76 + Other similar extension points exist, see Microsoft.Common.targets.
  77 + <Target Name="BeforeBuild">
  78 + </Target>
  79 + <Target Name="AfterBuild">
  80 + </Target>
  81 + -->
82 82 </Project>
40 DotWeb.Installer/DotWeb.TemplateConfigurator/DotWeb.TemplateConfigurator.sln
... ... @@ -1,20 +1,20 @@
1   -
2   -Microsoft Visual Studio Solution File, Format Version 10.00
3   -# Visual Studio 2008
4   -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotWeb.TemplateConfigurator", "DotWeb.TemplateConfigurator.csproj", "{605DAB6C-352C-4F59-9DD1-D9EBCD738BF3}"
5   -EndProject
6   -Global
7   - GlobalSection(SolutionConfigurationPlatforms) = preSolution
8   - Debug|Any CPU = Debug|Any CPU
9   - Release|Any CPU = Release|Any CPU
10   - EndGlobalSection
11   - GlobalSection(ProjectConfigurationPlatforms) = postSolution
12   - {605DAB6C-352C-4F59-9DD1-D9EBCD738BF3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13   - {605DAB6C-352C-4F59-9DD1-D9EBCD738BF3}.Debug|Any CPU.Build.0 = Debug|Any CPU
14   - {605DAB6C-352C-4F59-9DD1-D9EBCD738BF3}.Release|Any CPU.ActiveCfg = Release|Any CPU
15   - {605DAB6C-352C-4F59-9DD1-D9EBCD738BF3}.Release|Any CPU.Build.0 = Release|Any CPU
16   - EndGlobalSection
17   - GlobalSection(SolutionProperties) = preSolution
18   - HideSolutionNode = FALSE
19   - EndGlobalSection
20   -EndGlobal
  1 +
  2 +Microsoft Visual Studio Solution File, Format Version 10.00
  3 +# Visual Studio 2008
  4 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotWeb.TemplateConfigurator", "DotWeb.TemplateConfigurator.csproj", "{605DAB6C-352C-4F59-9DD1-D9EBCD738BF3}"
  5 +EndProject
  6 +Global
  7 + GlobalSection(SolutionConfigurationPlatforms) = preSolution
  8 + Debug|Any CPU = Debug|Any CPU
  9 + Release|Any CPU = Release|Any CPU
  10 + EndGlobalSection
  11 + GlobalSection(ProjectConfigurationPlatforms) = postSolution
  12 + {605DAB6C-352C-4F59-9DD1-D9EBCD738BF3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
  13 + {605DAB6C-352C-4F59-9DD1-D9EBCD738BF3}.Debug|Any CPU.Build.0 = Debug|Any CPU
  14 + {605DAB6C-352C-4F59-9DD1-D9EBCD738BF3}.Release|Any CPU.ActiveCfg = Release|Any CPU
  15 + {605DAB6C-352C-4F59-9DD1-D9EBCD738BF3}.Release|Any CPU.Build.0 = Release|Any CPU
  16 + EndGlobalSection
  17 + GlobalSection(SolutionProperties) = preSolution
  18 + HideSolutionNode = FALSE
  19 + EndGlobalSection
  20 +EndGlobal
40 DotWeb.Installer/DotWeb.TemplateConfigurator/MvcTemplateWizard.cs
... ... @@ -1,21 +1,21 @@
1   -using DotWeb.TemplateConfigurator.Tasks;
2   -
3   -namespace DotWeb.TemplateConfigurator
4   -{
5   - public class MvcTemplateWizard : WizardBase
6   - {
7   - /// <summary>
8   - /// Runs custom wizard logic when the wizard has completed all tasks.
9   - /// </summary>
10   - public override void RunFinished()
11   - {
12   - var scriptProject = FindProject(name => name.Equals(ProjectName + ".Script"));
13   - var mvcProject = FindProject(name => name.Equals(ProjectName));
14   -
15   - new FixDotWebInstallationPathTask(scriptProject).Execute();
16   - new ChangeStartupProjectTask(mvcProject).Execute();
17   - new AddBuildDependencyTask(mvcProject, scriptProject).Execute();
18   - new ChangeOutputPathTask(scriptProject,mvcProject).Execute();
19   - }
20   - }
  1 +using DotWeb.TemplateConfigurator.Tasks;
  2 +
  3 +namespace DotWeb.TemplateConfigurator
  4 +{
  5 + public class MvcTemplateWizard : WizardBase
  6 + {
  7 + /// <summary>
  8 + /// Runs custom wizard logic when the wizard has completed all tasks.
  9 + /// </summary>
  10 + public override void RunFinished()
  11 + {
  12 + var scriptProject = FindProject(name => name.Equals(ProjectName + ".Script"));
  13 + var mvcProject = FindProject(name => name.Equals(ProjectName));
  14 +
  15 + new FixDotWebInstallationPathTask(scriptProject).Execute();
  16 + new ChangeStartupProjectTask(mvcProject).Execute();
  17 + new AddBuildDependencyTask(mvcProject, scriptProject).Execute();
  18 + new ChangeOutputPathTask(scriptProject,mvcProject).Execute();
  19 + }
  20 + }
21 21 }
70 DotWeb.Installer/DotWeb.TemplateConfigurator/Properties/AssemblyInfo.cs
... ... @@ -1,35 +1,35 @@
1   -using System.Reflection;
2   -using System.Runtime.InteropServices;
3   -
4   -// General Information about an assembly is controlled through the following
5   -// set of attributes. Change these attribute values to modify the information
6   -// associated with an assembly.
7   -[assembly: AssemblyTitle("DotWebTemplateWizard")]
8   -[assembly: AssemblyDescription("")]
9   -[assembly: AssemblyConfiguration("")]
10   -[assembly: AssemblyCompany("")]
11   -[assembly: AssemblyProduct("DotWebTemplateWizard")]
12   -[assembly: AssemblyCopyright("")]
13   -[assembly: AssemblyTrademark("")]
14   -[assembly: AssemblyCulture("")]
15   -
16   -// Setting ComVisible to false makes the types in this assembly not visible
17   -// to COM components. If you need to access a type in this assembly from
18   -// COM, set the ComVisible attribute to true on that type.
19   -[assembly: ComVisible(false)]
20   -
21   -// The following GUID is for the ID of the typelib if this project is exposed to COM
22   -[assembly: Guid("6cca0f7a-dd12-4702-b3aa-4ed50b476d1a")]
23   -
24   -// Version information for an assembly consists of the following four values:
25   -//
26   -// Major Version
27   -// Minor Version
28   -// Build Number
29   -// Revision
30   -//
31   -// You can specify all the values or you can default the Build and Revision Numbers
32   -// by using the '*' as shown below:
33   -// [assembly: AssemblyVersion("1.0.*")]
34   -[assembly: AssemblyVersion("1.0.0.0")]
35   -[assembly: AssemblyFileVersion("1.0.0.0")]
  1 +using System.Reflection;
  2 +using System.Runtime.InteropServices;
  3 +
  4 +// General Information about an assembly is controlled through the following
  5 +// set of attributes. Change these attribute values to modify the information
  6 +// associated with an assembly.
  7 +[assembly: AssemblyTitle("DotWebTemplateWizard")]
  8 +[assembly: AssemblyDescription("")]
  9 +[assembly: AssemblyConfiguration("")]
  10 +[assembly: AssemblyCompany("")]
  11 +[assembly: AssemblyProduct("DotWebTemplateWizard")]
  12 +[assembly: AssemblyCopyright("")]
  13 +[assembly: AssemblyTrademark("")]
  14 +[assembly: AssemblyCulture("")]
  15 +
  16 +// Setting ComVisible to false makes the types in this assembly not visible
  17 +// to COM components. If you need to access a type in this assembly from
  18 +// COM, set the ComVisible attribute to true on that type.
  19 +[assembly: ComVisible(false)]
  20 +
  21 +// The following GUID is for the ID of the typelib if this project is exposed to COM
  22 +[assembly: Guid("6cca0f7a-dd12-4702-b3aa-4ed50b476d1a")]
  23 +
  24 +// Version information for an assembly consists of the following four values:
  25 +//
  26 +// Major Version
  27 +// Minor Version
  28 +// Build Number
  29 +// Revision
  30 +//
  31 +// You can specify all the values or you can default the Build and Revision Numbers
  32 +// by using the '*' as shown below:
  33 +// [assembly: AssemblyVersion("1.0.*")]
  34 +[assembly: AssemblyVersion("1.0.0.0")]
  35 +[assembly: AssemblyFileVersion("1.0.0.0")]
78 DotWeb.Installer/DotWeb.TemplateConfigurator/Tasks/AddBuildDependencyTask.cs
... ... @@ -1,40 +1,40 @@
1   -using System;
2   -using EnvDTE;
3   -
4   -namespace DotWeb.TemplateConfigurator.Tasks
5   -{
6   - public class AddBuildDependencyTask : ITasks
7   - {
8   - private readonly Project _project1;
9   - private readonly Project _project2;
10   -
11   - /// <summary>
12   - /// Initializes a new instance of the <see cref="AddBuildDependencyTask"/> class.
13   - /// </summary>
14   - /// <param name="project1">The project1.</param>
15   - /// <param name="project2">The project2.</param>
16   - public AddBuildDependencyTask(Project project1,Project project2)
17   - {
18   - if(project1 == null)
19   - throw new ArgumentNullException("project1");
20   - if(project2 == null)
21   - throw new ArgumentNullException("project2");
22   -
23   - _project1 = project1;
24   - _project2 = project2;
25   - }
26   -
27   - /// <summary>
28   - /// Executes this instance.
29   - /// </summary>
30   - public void Execute()
31   - {
32   - var dte = _project1.DTE;
33   - var solutionBuild = dte.Solution.SolutionBuild;
34   - var dependencies = solutionBuild.BuildDependencies;
35   -
36   - var mvcDependencys = dependencies.Item(_project1.UniqueName);
37   - mvcDependencys.AddProject(_project2.UniqueName);
38   - }
39   - }
  1 +using System;
  2 +using EnvDTE;
  3 +
  4 +namespace DotWeb.TemplateConfigurator.Tasks
  5 +{
  6 + public class AddBuildDependencyTask : ITasks
  7 + {
  8 + private readonly Project _project1;
  9 + private readonly Project _project2;
  10 +
  11 + /// <summary>
  12 + /// Initializes a new instance of the <see cref="AddBuildDependencyTask"/> class.
  13 + /// </summary>
  14 + /// <param name="project1">The project1.</param>
  15 + /// <param name="project2">The project2.</param>
  16 + public AddBuildDependencyTask(Project project1,Project project2)
  17 + {
  18 + if(project1 == null)
  19 + throw new ArgumentNullException("project1");
  20 + if(project2 == null)
  21 + throw new ArgumentNullException("project2");
  22 +
  23 + _project1 = project1;
  24 + _project2 = project2;
  25 + }
  26 +
  27 + /// <summary>
  28 + /// Executes this instance.
  29 + /// </summary>
  30 + public void Execute()
  31 + {
  32 + var dte = _project1.DTE;
  33 + var solutionBuild = dte.Solution.SolutionBuild;
  34 + var dependencies = solutionBuild.BuildDependencies;
  35 +
  36 + var mvcDependencys = dependencies.Item(_project1.UniqueName);
  37 + mvcDependencys.AddProject(_project2.UniqueName);
  38 + }
  39 + }
40 40 }
90 DotWeb.Installer/DotWeb.TemplateConfigurator/Tasks/ChangeOutputPathTask.cs
... ... @@ -1,46 +1,46 @@
1   -using System;
2   -using System.IO;
3   -using EnvDTE;
4   -
5   -namespace DotWeb.TemplateConfigurator.Tasks
6   -{
7   - public class ChangeOutputPathTask : ITasks
8   - {
9   - private readonly Project _projectSource;
10   - private readonly Project _projectTarget;
11   -
12   - /// <summary>
13   - /// Initializes a new instance of the <see cref="ChangeOutputPathTask"/> class.
14   - /// </summary>
15   - /// <param name="projectSource">The project source.</param>
16   - /// <param name="projectTarget">The project target.</param>
17   - public ChangeOutputPathTask(Project projectSource,Project projectTarget)
18   - {
19   - if(projectSource == null)
20   - throw new ArgumentNullException("projectSource");
21   - if(projectTarget == null)
22   - throw new ArgumentNullException("projectTarget");
23   -
24   - _projectSource = projectSource;
25   - _projectTarget = projectTarget;
26   - }
27   -
28   - /// <summary>
29   - /// Executes this instance.
30   - /// </summary>
31   - public void Execute()
32   - {
33   - var targetOutputPath = _projectTarget.ConfigurationManager.ActiveConfiguration.Properties.Item("OutputPath");
34   - var sourceOutputPath = _projectSource.ConfigurationManager.ActiveConfiguration.Properties.Item("OutputPath");
35   -
36   - var targetProjectFileInfo = new FileInfo(_projectTarget.FileName);
37   -
38   - var targetDirectory = targetProjectFileInfo.Directory;
39   -
40   - if(targetDirectory == null)
41   - return;
42   -
43   - sourceOutputPath.Value = Path.Combine(@"..\" + targetDirectory.Name, Convert.ToString(targetOutputPath.Value));
44   - }
45   - }
  1 +using System;
  2 +using System.IO;
  3 +using EnvDTE;
  4 +
  5 +namespace DotWeb.TemplateConfigurator.Tasks
  6 +{
  7 + public class ChangeOutputPathTask : ITasks
  8 + {
  9 + private readonly Project _projectSource;
  10 + private readonly Project _projectTarget;
  11 +
  12 + /// <summary>
  13 + /// Initializes a new instance of the <see cref="ChangeOutputPathTask"/> class.
  14 + /// </summary>
  15 + /// <param name="projectSource">The project source.</param>
  16 + /// <param name="projectTarget">The project target.</param>
  17 + public ChangeOutputPathTask(Project projectSource,Project projectTarget)
  18 + {
  19 + if(projectSource == null)
  20 + throw new ArgumentNullException("projectSource");
  21 + if(projectTarget == null)
  22 + throw new ArgumentNullException("projectTarget");
  23 +
  24 + _projectSource = projectSource;
  25 + _projectTarget = projectTarget;
  26 + }
  27 +
  28 + /// <summary>
  29 + /// Executes this instance.
  30 + /// </summary>
  31 + public void Execute()
  32 + {
  33 + var targetOutputPath = _projectTarget.ConfigurationManager.ActiveConfiguration.Properties.Item("OutputPath");
  34 + var sourceOutputPath = _projectSource.ConfigurationManager.ActiveConfiguration.Properties.Item("OutputPath");
  35 +
  36 + var targetProjectFileInfo = new FileInfo(_projectTarget.FileName);
  37 +
  38 + var targetDirectory = targetProjectFileInfo.Directory;
  39 +
  40 + if(targetDirectory == null)
  41 + return;
  42 +
  43 + sourceOutputPath.Value = Path.Combine(@"..\" + targetDirectory.Name, Convert.ToString(targetOutputPath.Value));
  44 + }
  45 + }
46 46 }
62 DotWeb.Installer/DotWeb.TemplateConfigurator/Tasks/ChangeStartupProjectTask.cs
... ... @@ -1,32 +1,32 @@
1   -using System;
2   -using EnvDTE;
3   -
4   -namespace DotWeb.TemplateConfigurator.Tasks
5   -{
6   - public class ChangeStartupProjectTask : ITasks
7   - {
8   - private readonly Project _project;
9   -
10   - /// <summary>
11   - /// Initializes a new instance of the <see cref="ChangeStartupProjectTask"/> class.
12   - /// </summary>
13   - /// <param name="project">The project.</param>
14   - public ChangeStartupProjectTask(Project project)
15   - {
16   - if(project == null)
17   - throw new ArgumentNullException("project");
18   -
19   - _project = project;
20   - }
21   -
22   - /// <summary>
23   - /// Executes this instance.
24   - /// </summary>
25   - public void Execute()
26   - {
27   - var solutionBuild = _project.DTE.Solution.SolutionBuild;
28   -
29   - solutionBuild.StartupProjects = _project.FileName;
30   - }
31   - }
  1 +using System;
  2 +using EnvDTE;
  3 +
  4 +namespace DotWeb.TemplateConfigurator.Tasks
  5 +{
  6 + public class ChangeStartupProjectTask : ITasks
  7 + {
  8 + private readonly Project _project;
  9 +
  10 + /// <summary>
  11 + /// Initializes a new instance of the <see cref="ChangeStartupProjectTask"/> class.
  12 + /// </summary>
  13 + /// <param name="project">The project.</param>
  14 + public ChangeStartupProjectTask(Project project)
  15 + {
  16 + if(project == null)
  17 + throw new ArgumentNullException("project");
  18 +
  19 + _project = project;
  20 + }
  21 +
  22 + /// <summary>
  23 + /// Executes this instance.
  24 + /// </summary>
  25 + public void Execute()
  26 + {
  27 + var solutionBuild = _project.DTE.Solution.SolutionBuild;
  28 +
  29 + solutionBuild.StartupProjects = _project.FileName;
  30 + }
  31 + }
32 32 }
134 DotWeb.Installer/DotWeb.TemplateConfigurator/Tasks/FixDotWebInstallationPathTask.cs
... ... @@ -1,68 +1,68 @@
1   -using System;
2   -using System.Collections.Generic;
3   -using System.IO;
4   -using EnvDTE;
5   -using VSLangProj;
6   -
7   -namespace DotWeb.TemplateConfigurator.Tasks
8   -{
9   - public class FixDotWebInstallationPathTask : ITasks
10   - {
11   - private readonly VSProject _project;
12   -
13   - /// <summary>
14   - /// Initializes a new instance of the <see cref="FixDotWebInstallationPathTask"/> class.
15   - /// </summary>
16   - /// <param name="project">The project.</param>
17   - public FixDotWebInstallationPathTask(Project project)
18   - {
19   - if(project == null)
20   - throw new ArgumentNullException("project");
21   -
22   - _project = (VSProject)project.Object;
23   - }
24   -
25   - /// <summary>
26   - /// Gets the installation path from registry.
27   - /// </summary>
28   - /// <returns></returns>
29   - private static string GetInstallationPathFromRegistry()
30   - {
31   - // put registry loading code here
32   - return null;
33   - }
34   -
35   - /// <summary>
36   - /// Gets the dot web references.
37   - /// </summary>
38   - /// <returns></returns>
39   - private IEnumerable<Reference> GetDotWebReferences()
40   - {
41   - foreach(Reference reference in _project.References)
42   - if(reference.Path.Contains(@"\DotWeb\"))
43   - yield return reference;
44   - }
45   -
46   - /// <summary>
47   - /// Executes this instance.
48   - /// </summary>
49   - public void Execute()
50   - {
51   - var dotWebPath = GetInstallationPathFromRegistry();
52   -
53   - if(dotWebPath == null) // no registry entry provided, leave default
54   - return;
55   -
56   - foreach(var reference in GetDotWebReferences())
57   - {
58   - var oldPath = reference.Path;
59   - var referenceFileName = Path.GetFileName(oldPath);
60   - var newPath = Path.Combine(dotWebPath, referenceFileName);
61   -
62   - reference.Remove();
63   - var newReference = _project.References.Add(newPath);
64   - newReference.CopyLocal = true;
65   - }
66   - }
67   - }
  1 +using System;
  2 +using System.Collections.Generic;
  3 +using System.IO;
  4 +using EnvDTE;
  5 +using VSLangProj;
  6 +
  7 +namespace DotWeb.TemplateConfigurator.Tasks
  8 +{
  9 + public class FixDotWebInstallationPathTask : ITasks
  10 + {
  11 + private readonly VSProject _project;
  12 +
  13 + /// <summary>
  14 + /// Initializes a new instance of the <see cref="FixDotWebInstallationPathTask"/> class.
  15 + /// </summary>
  16 + /// <param name="project">The project.</param>
  17 + public FixDotWebInstallationPathTask(Project project)
  18 + {
  19 + if(project == null)
  20 + throw new ArgumentNullException("project");
  21 +
  22 + _project = (VSProject)project.Object;
  23 + }
  24 +
  25 + /// <summary>
  26 + /// Gets the installation path from registry.
  27 + /// </summary>
  28 + /// <returns></returns>
  29 + private static string GetInstallationPathFromRegistry()
  30 + {
  31 + // put registry loading code here
  32 + return null;
  33 + }
  34 +
  35 + /// <summary>
  36 + /// Gets the dot web references.
  37 + /// </summary>
  38 + /// <returns></returns>
  39 + private IEnumerable<Reference> GetDotWebReferences()
  40 + {
  41 + foreach(Reference reference in _project.References)
  42 + if(reference.Path.Contains(@"\DotWeb\"))
  43 + yield return reference;
  44 + }
  45 +
  46 + /// <summary>
  47 + /// Executes this instance.
  48 + /// </summary>
  49 + public void Execute()
  50 + {
  51 + var dotWebPath = GetInstallationPathFromRegistry();
  52 +
  53 + if(dotWebPath == null) // no registry entry provided, leave default
  54 + return;
  55 +
  56 + foreach(var reference in GetDotWebReferences())
  57 + {
  58 + var oldPath = reference.Path;
  59 + var referenceFileName = Path.GetFileName(oldPath);
  60 + var newPath = Path.Combine(dotWebPath, referenceFileName);
  61 +
  62 + reference.Remove();
  63 + var newReference = _project.References.Add(newPath);
  64 + newReference.CopyLocal = true;
  65 + }
  66 + }
  67 + }
68 68 }
12 DotWeb.Installer/DotWeb.TemplateConfigurator/Tasks/ITasks.cs
... ... @@ -1,7 +1,7 @@
1   -namespace DotWeb.TemplateConfigurator.Tasks
2   -{
3   - public interface ITasks
4   - {
5   - void Execute();
6   - }
  1 +namespace DotWeb.TemplateConfigurator.Tasks
  2 +{
  3 + public interface ITasks
  4 + {
  5 + void Execute();
  6 + }
7 7 }
174 DotWeb.Installer/DotWeb.TemplateConfigurator/WizardBase.cs
... ... @@ -1,88 +1,88 @@
1   -using System;
2   -using System.Collections.Generic;
3   -using System.Linq;
4   -using EnvDTE;
5   -using Microsoft.VisualStudio.TemplateWizard;
6   -
7   -namespace DotWeb.TemplateConfigurator
8   -{
9   - public abstract class WizardBase : IWizard
10   - {
11   - protected string ProjectName { get; private set; }
12   -
13   - protected _DTE Dte { get; private set; }
14   -
15   - /// <summary>
16   - /// Runs custom wizard logic at the beginning of a template wizard run.
17   - /// </summary>
18   - /// <param name="automationObject">The automation object being used by the template wizard.</param>
19   - /// <param name="replacementsDictionary">The list of standard parameters to be replaced.</param>
20   - /// <param name="runKind">A <see cref="T:Microsoft.VisualStudio.TemplateWizard.WizardRunKind"/> indicating the type of wizard run.</param>
21   - /// <param name="customParams">The custom parameters with which to perform parameter replacement in the project.</param>
22   - public virtual void RunStarted(object automationObject,
23   - Dictionary<string, string> replacementsDictionary,
24   - WizardRunKind runKind,
25   - object[] customParams)
26   - {
27   - Dte = ( (_DTE)automationObject );
28   - ProjectName = replacementsDictionary.First(e => e.Key == "$projectname$").Value;
29   - }
30   -
31   - /// <summary>
32   - /// Runs custom wizard logic when a project has finished generating.
33   - /// </summary>
34   - /// <param name="project">The project that finished generating.</param>
35   - public virtual void ProjectFinishedGenerating(Project project)
36   - {
37   - }
38   -
39   - /// <summary>
40   - /// Runs custom wizard logic when a project item has finished generating.
41   - /// </summary>
42   - /// <param name="projectItem">The project item that finished generating.</param>
43   - public virtual void ProjectItemFinishedGenerating(ProjectItem projectItem)
44   - {
45   - }
46   -
47   - /// <summary>
48   - /// Indicates whether the specified project item should be added to the project.
49   - /// </summary>
50   - /// <param name="filePath">The path to the project item.</param>
51   - /// <returns>
52   - /// true if the project item should be added to the project; otherwise, false.
53   - /// </returns>
54   - public virtual bool ShouldAddProjectItem(string filePath)
55   - {
56   - return true;
57   - }
58   -
59   - /// <summary>
60   - /// Runs custom wizard logic before opening an item in the template.
61   - /// </summary>
62   - /// <param name="projectItem">The project item that will be opened.</param>
63   - public virtual void BeforeOpeningFile(ProjectItem projectItem)
64   - {
65   - }
66   -
67   - /// <summary>
68   - /// Runs custom wizard logic when the wizard has completed all tasks.
69   - /// </summary>
70   - public virtual void RunFinished()
71   - {
72   - }
73   -
74   - /// <summary>
75   - /// Finds the project.
76   - /// </summary>
77   - /// <param name="filter">The filter.</param>
78   - /// <returns></returns>
79   - protected Project FindProject(Predicate<string> filter)
80   - {
81   - foreach(Project project in Dte.Solution.Projects)
82   - if(filter(project.Name))
83   - return project;
84   -
85   - return null;
86   - }
87   - }
  1 +using System;
  2 +using System.Collections.Generic;
  3 +using System.Linq;
  4 +using EnvDTE;
  5 +using Microsoft.VisualStudio.TemplateWizard;
  6 +
  7 +namespace DotWeb.TemplateConfigurator
  8 +{
  9 + public abstract class WizardBase : IWizard
  10 + {
  11 + protected string ProjectName { get; private set; }
  12 +
  13 + protected _DTE Dte { get; private set; }
  14 +
  15 + /// <summary>
  16 + /// Runs custom wizard logic at the beginning of a template wizard run.
  17 + /// </summary>
  18 + /// <param name="automationObject">The automation object being used by the template wizard.</param>
  19 + /// <param name="replacementsDictionary">The list of standard parameters to be replaced.</param>
  20 + /// <param name="runKind">A <see cref="T:Microsoft.VisualStudio.TemplateWizard.WizardRunKind"/> indicating the type of wizard run.</param>
  21 + /// <param name="customParams">The custom parameters with which to perform parameter replacement in the project.</param>
  22 + public virtual void RunStarted(object automationObject,
  23 + Dictionary<string, string> replacementsDictionary,
  24 + WizardRunKind runKind,
  25 + object[] customParams)
  26 + {
  27 + Dte = ( (_DTE)automationObject );
  28 + ProjectName = replacementsDictionary.First(e => e.Key == "$projectname$").Value;
  29 + }
  30 +
  31 + /// <summary>
  32 + /// Runs custom wizard logic when a project has finished generating.
  33 + /// </summary>
  34 + /// <param name="project">The project that finished generating.</param>
  35 + public virtual void ProjectFinishedGenerating(Project project)
  36 + {
  37 + }
  38 +
  39 + /// <summary>
  40 + /// Runs custom wizard logic when a project item has finished generating.
  41 + /// </summary>
  42 + /// <param name="projectItem">The project item that finished generating.</param>
  43 + public virtual void ProjectItemFinishedGenerating(ProjectItem projectItem)
  44 + {
  45 + }
  46 +
  47 + /// <summary>
  48 + /// Indicates whether the specified project item should be added to the project.
  49 + /// </summary>
  50 + /// <param name="filePath">The path to the project item.</param>
  51 + /// <returns>
  52 + /// true if the project item should be added to the project; otherwise, false.
  53 + /// </returns>
  54 + public virtual bool ShouldAddProjectItem(string filePath)
  55 + {
  56 + return true;
  57 + }
  58 +
  59 + /// <summary>
  60 + /// Runs custom wizard logic before opening an item in the template.
  61 + /// </summary>
  62 + /// <param name="projectItem">The project item that will be opened.</param>
  63 + public virtual void BeforeOpeningFile(ProjectItem projectItem)
  64 + {
  65 + }
  66 +
  67 + /// <summary>
  68 + /// Runs custom wizard logic when the wizard has completed all tasks.
  69 + /// </summary>
  70 + public virtual void RunFinished()
  71 + {
  72 + }
  73 +
  74 + /// <summary>
  75 + /// Finds the project.
  76 + /// </summary>
  77 + /// <param name="filter">The filter.</param>
  78 + /// <returns></returns>
  79 + protected Project FindProject(Predicate<string> filter)
  80 + {
  81 + foreach(Project project in Dte.Solution.Projects)
  82 + if(filter(project.Name))
  83 + return project;
  84 +
  85 + return null;
  86 + }
  87 + }
88 88 }
50 DotWeb.Installer/VSTemplate/ClassLibrary/AssemblyInfo.cs
... ... @@ -1,25 +1,25 @@
1   -using System;
2   -using System.Reflection;
3   -
4   -// General Information about an assembly is controlled through the following
5   -// set of attributes. Change these attribute values to modify the information
6   -// associated with an assembly.
7   -[assembly: AssemblyTitle("$projectname$")]
8   -[assembly: AssemblyDescription("")]
9   -[assembly: AssemblyConfiguration("")]
10   -[assembly: AssemblyCompany("$registeredorganization$")]
11   -[assembly: AssemblyProduct("$projectname$")]
12   -[assembly: AssemblyCopyright("Copyright © $registeredorganization$ $year$")]
13   -[assembly: AssemblyTrademark("")]
14   -[assembly: AssemblyCulture("")]
15   -
16   -// Version information for an assembly consists of the following four values:
17   -// Major Version
18   -// Minor Version
19   -// Build Number
20   -// Revision
21   -//
22   -// You can specify all the values or you can default the Revision and Build Numbers
23   -// by using the '*' as shown below:
24   -[assembly: AssemblyVersion("1.0.0.0")]
25   -[assembly: AssemblyFileVersion("1.0.0.0")]
  1 +using System;
  2 +using System.Reflection;
  3 +
  4 +// General Information about an assembly is controlled through the following
  5 +// set of attributes. Change these attribute values to modify the information
  6 +// associated with an assembly.
  7 +[assembly: AssemblyTitle("$projectname$")]
  8 +[assembly: AssemblyDescription("")]
  9 +[assembly: AssemblyConfiguration("")]
  10 +[assembly: AssemblyCompany("$registeredorganization$")]
  11 +[assembly: AssemblyProduct("$projectname$")]
  12 +[assembly: AssemblyCopyright("Copyright © $registeredorganization$ $year$")]
  13 +[assembly: AssemblyTrademark("")]
  14 +[assembly: AssemblyCulture("")]
  15 +
  16 +// Version information for an assembly consists of the following four values:
  17 +// Major Version
  18 +// Minor Version
  19 +// Build Number
  20 +// Revision
  21 +//
  22 +// You can specify all the values or you can default the Revision and Build Numbers
  23 +// by using the '*' as shown below:
  24 +[assembly: AssemblyVersion("1.0.0.0")]
  25 +[assembly: AssemblyFileVersion("1.0.0.0")]
28 DotWeb.Installer/VSTemplate/ClassLibrary/Class1.cs
... ... @@ -1,14 +1,14 @@
1   -using System;
2   -using DotWeb.Client;
3   -using DotWeb.Client.Dom;
4   -
5   -namespace $safeprojectname$
6   -{
7   - public class Class1
8   - {
9   - public Class1()
10   - {
11   - Global.Window.alert("Hello World!");
12   - }
13   - }
14   -}
  1 +using System;
  2 +using DotWeb.Client;
  3 +using DotWeb.Client.Dom;
  4 +
  5 +namespace $safeprojectname$
  6 +{
  7 + public class Class1
  8 + {
  9 + public Class1()
  10 + {
  11 + Global.Window.alert("Hello World!");
  12 + }