diff --git a/lib/Microsoft.TextTemplating.Build.Tasks.dll b/lib/Microsoft.TextTemplating.Build.Tasks.dll
new file mode 100644
index 000000000..7426b3b3e
Binary files /dev/null and b/lib/Microsoft.TextTemplating.Build.Tasks.dll differ
diff --git a/lib/Microsoft.TextTemplating.targets b/lib/Microsoft.TextTemplating.targets
new file mode 100644
index 000000000..f7727d5fc
--- /dev/null
+++ b/lib/Microsoft.TextTemplating.targets
@@ -0,0 +1,535 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ $(T4BuildTasksPath)Microsoft.TextTemplating.Build.Tasks.dll
+
+
+ false
+
+
+ true
+
+
+ false
+
+
+ false
+
+
+ $(IntermediateOutputPath)
+
+ true
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(Registry:HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\14.0@InstallDir)
+ $(Registry:HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\VisualStudio\14.0@InstallDir)
+
+
+ $(VsIdePath)Extensions\Microsoft\DSL SDK\Dsl Designer\$(VisualStudioVersion)\
+
+
+ $(IncludeFolders);$(DslDesignerInstallPath)TextTemplates\
+
+
+
+
+
+ Microsoft.VisualStudio.Modeling.DslDefinition.DslDirectiveProcessor
+
+ $(Registry:HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\14.0@InstallDir)Extensions\Microsoft\DSL SDK\DSL Designer\$(VisualStudioVersion)\Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.$(VisualStudioVersion).dll
+
+
+
+
+
+
+
+ $(RootNamespace)
+
+
+
+
+ $(T4DslToolsNamespace)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ProcessTransformResults
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ TextTemplatingFileGenerator
+ TextTemplatingFilePreprocessor
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(RootNamespace)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ TransformDuringBuild;$(BuildDependsOn)
+
+
+
+
+
+
+
+
+
diff --git a/lib/Microsoft.VisualStudio.TextTemplating.Sdk.Host.14.0.dll b/lib/Microsoft.VisualStudio.TextTemplating.Sdk.Host.14.0.dll
new file mode 100644
index 000000000..64579110c
Binary files /dev/null and b/lib/Microsoft.VisualStudio.TextTemplating.Sdk.Host.14.0.dll differ
diff --git a/src/GitHub.Exports/GitHub.Exports.csproj b/src/GitHub.Exports/GitHub.Exports.csproj
index a52a1429a..94e3facff 100644
--- a/src/GitHub.Exports/GitHub.Exports.csproj
+++ b/src/GitHub.Exports/GitHub.Exports.csproj
@@ -197,6 +197,9 @@
+
+
+
+
+
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
diff --git a/src/GitHub.VisualStudio/Settings/PackageSettingsGen.cs b/src/GitHub.VisualStudio/Settings/PackageSettingsGen.cs
index 00e6b4d2b..7e80570c4 100644
--- a/src/GitHub.VisualStudio/Settings/PackageSettingsGen.cs
+++ b/src/GitHub.VisualStudio/Settings/PackageSettingsGen.cs
@@ -1,4 +1,16 @@
// This is an automatically generated file, based on settings.json and PackageSettingsGen.tt
+/* settings.json content:
+{
+ "settings": [
+ {
+ "name": "CollectMetrics",
+ "type": "bool",
+ "default": 'true'
+ }
+ ]
+}
+*/
+
using GitHub.Settings;
namespace GitHub.VisualStudio.Settings {
diff --git a/src/GitHub.VisualStudio/Settings/PackageSettingsGen.tt b/src/GitHub.VisualStudio/Settings/PackageSettingsGen.tt
index ab2403c14..595e74f9a 100644
--- a/src/GitHub.VisualStudio/Settings/PackageSettingsGen.tt
+++ b/src/GitHub.VisualStudio/Settings/PackageSettingsGen.tt
@@ -3,7 +3,7 @@
<#@ import namespace="System.Linq" #>
<#@ import namespace="System.Collections.Generic" #>
<#@ import namespace="System.IO" #>
-<#@ assembly name="$(TargetDir)\Newtonsoft.Json.Dll" #>
+<#@ assembly name="$(PackageDir)\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll" #>
<#@ import namespace="Newtonsoft.Json.Linq" #>
<#@ output extension=".cs" #>
<#
@@ -11,6 +11,10 @@ var file = this.Host.ResolvePath(@"..\..\common\settings.json");
var json = JObject.Parse(File.ReadAllText(file));
#>
// This is an automatically generated file, based on settings.json and PackageSettingsGen.tt
+/* settings.json content:
+<#@ include file="..\..\common\settings.json" #>
+*/
+
using GitHub.Settings;
namespace GitHub.VisualStudio.Settings {
@@ -19,7 +23,7 @@ namespace GitHub.VisualStudio.Settings {
{
<#
-foreach (var j in json.Children().Children().Children()) {
+foreach (var j in json["settings"].Children()) {
#>
public <#= j["type"] #> <#= j["name"] #> { get; set; }
<#
diff --git a/src/common/settings.json b/src/common/settings.json
index b295d7c2e..560118c8a 100644
--- a/src/common/settings.json
+++ b/src/common/settings.json
@@ -3,7 +3,7 @@
{
"name": "CollectMetrics",
"type": "bool",
- "default": "true"
+ "default": 'true'
}
]
}
\ No newline at end of file
diff --git a/src/common/t4.targets b/src/common/t4.targets
new file mode 100644
index 000000000..a956c7404
--- /dev/null
+++ b/src/common/t4.targets
@@ -0,0 +1,14 @@
+
+
+
+ true
+ true
+ $(SolutionDir)\packages
+
+
+
+
+ $(PackageDir)
+
+
+
\ No newline at end of file