From 2c27bc7176ec001e503cd2315d329c42482b763e Mon Sep 17 00:00:00 2001 From: Kal Ahmed Date: Mon, 29 Jun 2015 15:37:15 +0100 Subject: [PATCH] Initial work Now getting an error resolving a method in the Roslyn DLLs when the template runs in a test VS environment. --- .gitattributes | 63 ++++ .../BrightstarCodegenEntityContext.csproj | 110 +++++++ .../BrightstarCodegenEntityContext.ico | Bin 0 -> 48931 bytes .../BrightstarCodegenEntityContext.vstemplate | 27 ++ .../EntityContext.tt | 143 +++++++++ .../Properties/AssemblyInfo.cs | 36 +++ .../EntityFrameworkCodegen.sln | 34 ++ .../EntityFrameworkCodegen.csproj | 92 ++++++ .../Properties/AssemblyInfo.cs | 33 ++ .../source.extension.vsixmanifest | 20 ++ .../EntityItemTemplate.csproj | 106 +++++++ .../EntityItemTemplate/EntityItemTemplate.ico | Bin 0 -> 48931 bytes .../EntityItemTemplate.vstemplate | 16 + .../EntityItemTemplate/IMyEntity.cs | 19 ++ .../Properties/AssemblyInfo.cs | 36 +++ ...BrightstarDB.CodeGeneration.Console.csproj | 282 ++++++++--------- .../BrightstarDB.CodeGeneration.T4.csproj | 290 ++++++++--------- .../BrightstarDB.CodeGeneration.csproj | 292 +++++++++--------- .../Resources/Resource.designer.cs | 114 +++---- .../Properties/AssemblyInfo.cs | 2 +- 20 files changed, 1225 insertions(+), 490 deletions(-) create mode 100644 .gitattributes create mode 100644 installer/EntityFrameworkCodegen/BrightstarCodegenEntityContext/BrightstarCodegenEntityContext.csproj create mode 100644 installer/EntityFrameworkCodegen/BrightstarCodegenEntityContext/BrightstarCodegenEntityContext.ico create mode 100644 installer/EntityFrameworkCodegen/BrightstarCodegenEntityContext/BrightstarCodegenEntityContext.vstemplate create mode 100644 installer/EntityFrameworkCodegen/BrightstarCodegenEntityContext/EntityContext.tt create mode 100644 installer/EntityFrameworkCodegen/BrightstarCodegenEntityContext/Properties/AssemblyInfo.cs create mode 100644 installer/EntityFrameworkCodegen/EntityFrameworkCodegen.sln create mode 100644 installer/EntityFrameworkCodegen/EntityFrameworkCodegen/EntityFrameworkCodegen.csproj create mode 100644 installer/EntityFrameworkCodegen/EntityFrameworkCodegen/Properties/AssemblyInfo.cs create mode 100644 installer/EntityFrameworkCodegen/EntityFrameworkCodegen/source.extension.vsixmanifest create mode 100644 installer/EntityFrameworkCodegen/EntityItemTemplate/EntityItemTemplate.csproj create mode 100644 installer/EntityFrameworkCodegen/EntityItemTemplate/EntityItemTemplate.ico create mode 100644 installer/EntityFrameworkCodegen/EntityItemTemplate/EntityItemTemplate.vstemplate create mode 100644 installer/EntityFrameworkCodegen/EntityItemTemplate/IMyEntity.cs create mode 100644 installer/EntityFrameworkCodegen/EntityItemTemplate/Properties/AssemblyInfo.cs diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..1ff0c423 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,63 @@ +############################################################################### +# Set default behavior to automatically normalize line endings. +############################################################################### +* text=auto + +############################################################################### +# Set default behavior for command prompt diff. +# +# This is need for earlier builds of msysgit that does not have it on by +# default for csharp files. +# Note: This is only used by command line +############################################################################### +#*.cs diff=csharp + +############################################################################### +# Set the merge driver for project and solution files +# +# Merging from the command prompt will add diff markers to the files if there +# are conflicts (Merging from VS is not affected by the settings below, in VS +# the diff markers are never inserted). Diff markers may cause the following +# file extensions to fail to load in VS. An alternative would be to treat +# these files as binary and thus will always conflict and require user +# intervention with every merge. To do so, just uncomment the entries below +############################################################################### +#*.sln merge=binary +#*.csproj merge=binary +#*.vbproj merge=binary +#*.vcxproj merge=binary +#*.vcproj merge=binary +#*.dbproj merge=binary +#*.fsproj merge=binary +#*.lsproj merge=binary +#*.wixproj merge=binary +#*.modelproj merge=binary +#*.sqlproj merge=binary +#*.wwaproj merge=binary + +############################################################################### +# behavior for image files +# +# image files are treated as binary by default. +############################################################################### +#*.jpg binary +#*.png binary +#*.gif binary + +############################################################################### +# diff behavior for common document formats +# +# Convert binary document formats to text before diffing them. This feature +# is only available from the command line. Turn it on by uncommenting the +# entries below. +############################################################################### +#*.doc diff=astextplain +#*.DOC diff=astextplain +#*.docx diff=astextplain +#*.DOCX diff=astextplain +#*.dot diff=astextplain +#*.DOT diff=astextplain +#*.pdf diff=astextplain +#*.PDF diff=astextplain +#*.rtf diff=astextplain +#*.RTF diff=astextplain diff --git a/installer/EntityFrameworkCodegen/BrightstarCodegenEntityContext/BrightstarCodegenEntityContext.csproj b/installer/EntityFrameworkCodegen/BrightstarCodegenEntityContext/BrightstarCodegenEntityContext.csproj new file mode 100644 index 00000000..dbb9fbb6 --- /dev/null +++ b/installer/EntityFrameworkCodegen/BrightstarCodegenEntityContext/BrightstarCodegenEntityContext.csproj @@ -0,0 +1,110 @@ + + + + 14.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 14.0 + + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {947BB231-EC4F-45AD-90BF-44121DBD3FE7} + Library + Properties + BrightstarCodegenEntityContext + BrightstarCodegenEntityContext + v4.5.2 + 512 + false + false + false + false + false + false + false + false + false + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + + + + + + + + + + + + + + + Designer + + + + + False + Microsoft .NET Framework 4.5.2 %28x86 and x64%29 + true + + + False + .NET Framework 3.5 SP1 + false + + + + + + + + + \ No newline at end of file diff --git a/installer/EntityFrameworkCodegen/BrightstarCodegenEntityContext/BrightstarCodegenEntityContext.ico b/installer/EntityFrameworkCodegen/BrightstarCodegenEntityContext/BrightstarCodegenEntityContext.ico new file mode 100644 index 0000000000000000000000000000000000000000..0e06851ca3748a60d3afad5ae2669f9f46d45036 GIT binary patch literal 48931 zcmeG_2_V$j|8K@PDutz$4y5z9skBO$t5&zDEtSnxQrg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-fB62?**Kp6zT@9_{&(dXz}H`AuXkKOZojRu z!*3g~;kOGo9gW*6kK4!n>uemi-&X&L*a_HHdE9v(bdxPP6ERr_-31ac@`HlJPQ)Te4hY^p z*z`G2N96-Qjvb}9r|9X6zv=U=o^sqe%Fou0e{0VJ`1t{US%STF>(*xXe29kT_{nuQ zdRya%zox;4zqrvXZamM32k~~dcyWK)5GOT@H_brb@$Xyz z_!{WVc+=J2eE;jsv7^}f;%}OP-hRCC_?kxFeEs+I>w9bd_r>2d1Ni!AEq^_IzG?J* z>mNViNAo|2f10t^MHOKQ3ZB0 z*oohXppStF*1Gb%$4qw!+ULLE`*?>W98*HhKYq{H5ja^tX1YUAvi^?n7uP}7-ysfT zO33exl>r+WFm5UcPp&HUHsXZWicTi}=3Qm-fiFKP<|jXYdaM8VdD2~R ze);dN{^EZ10{<1b)nVXkAvqNtKF)2>*xMkg(^7<88}`OJElG%A4PSTd#WA%4qwTea z%L!}{VrasUBj1n@AGeR^r?c_yW}lp!t{CI-cZE%| z4cvZbA8%ZLce783GI^h{_$bjUI=;%2GdMu#`JMo-Cn+6fA zk$vVj#zdN+NQPK@ydauyB7h-XA1ue=k7hA$%o6VvKYUHDTl$2tvN2A+m>b zqI5#&6(1kp_?zJ9_r4J>h|LE1Mp+^kNJmTZgnbr^rHJ?lIWlZXo|yYu`$YWc9)|c$ zbOZ&xr$O?lL4UjmpU9AilON + + + Brightstar Codegen Entity Context + A project item for generating a strongly-typed EntityContext class and BrightstarDB persistence-aware classes using the BrightstarDB Roslyn code generator. + BrightstarCodegenEntityContext.ico + 289eae03-0382-4b26-9f72-42361074eadf + CSharp + 4.0 + 1 + EntityContext.tt + + + EntityContext.tt + + + NuGet.VisualStudio.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + NuGet.VisualStudio.TemplateWizard + + + + + + + + \ No newline at end of file diff --git a/installer/EntityFrameworkCodegen/BrightstarCodegenEntityContext/EntityContext.tt b/installer/EntityFrameworkCodegen/BrightstarCodegenEntityContext/EntityContext.tt new file mode 100644 index 00000000..971de483 --- /dev/null +++ b/installer/EntityFrameworkCodegen/BrightstarCodegenEntityContext/EntityContext.tt @@ -0,0 +1,143 @@ +<#@ template debug="true" hostspecific="true" language="C#" #> +<#@ CleanupBehavior processor="T4VSHost" CleanupAfterProcessingtemplate="true" #> +<#@ assembly name="System.Core" #> +<#@ assembly name="EnvDTE" #> +<#@ import namespace="System.IO" #> +<#@ import namespace="System.Linq" #> +<#@ import namespace="System.Reflection" #> +<#@ import namespace="EnvDTE" #> +<# +// set this to either "CSharp" or "VisualBasic" +var language = "CSharp"; + +// you can move the .tt file to a different folder in your project to have the entity context's namespace change accordingly +// or, you could just set it manually here +var contextNamespace = this.Host.ResolveParameterValue("directiveId", "namespaceDirectiveProcessor", "namespaceHint") ?? "Default.Namespace"; + +var solutionPath = this.DTE.Solution.FileName; + +this.SetFileExtensionForLanguage(language); +this.HookAssemblyResolution(); +var generator = Type.GetType("BrightstarDB.CodeGeneration.Generator, BrightstarDB.CodeGeneration"); +var generateMethod = generator.GetMethod("Generate"); +var result = (string)generateMethod.Invoke(null, new[] { language, solutionPath, contextNamespace, "EntityContext", null, null, null }); + +this.WriteLine(result); +#> +<#+ +private DTE dte; + +private DTE DTE +{ + get + { + if (this.dte == null) + { + var hostServiceProvider = (IServiceProvider)this.Host; + this.dte = (DTE)hostServiceProvider.GetService(typeof(DTE)); + } + + return this.dte; + } +} + +private void SetFileExtensionForLanguage(string language) +{ + switch (language) + { + case "CSharp": + this.Host.SetFileExtension(".g.cs"); + break; + case "VisualBasic": + this.Host.SetFileExtension(".g.vb"); + break; + default: + this.Host.SetFileExtension(".g"); + break; + } +} + +private void HookAssemblyResolution() +{ + var templateDirectory = Path.GetDirectoryName(this.Host.TemplateFile); + var currentDirectory = templateDirectory; + string packagesDirectory = null; + + while (Path.GetPathRoot(currentDirectory) != currentDirectory) + { + var packagesDirectories = Directory.GetDirectories(currentDirectory, "packages"); + + if (packagesDirectories.Length == 0) + { + currentDirectory = Path.GetDirectoryName(currentDirectory); + continue; + } + else if (packagesDirectories.Length > 1) + { + throw new InvalidOperationException("More than one packages directory detected - aborting."); + } + else + { + packagesDirectory = packagesDirectories[0]; + break; + } + } + + if (packagesDirectory == null) + { + throw new InvalidOperationException("Could not find packages directory relative to the template's directory (" + templateDirectory + ")."); + } + + this.Debug("packages directory: {0}", packagesDirectory); + + var packageDirectories = Directory.GetDirectories(packagesDirectory, "BrightstarDB.CodeGeneration.T4.*"); + + if (packageDirectories.Length == 0) + { + throw new InvalidOperationException("Could not find BrightstarDB.CodeGeneration.T4 package in packages directory (" + packagesDirectory + ")."); + } + else if (packageDirectories.Length > 1) + { + throw new InvalidOperationException("More than 1 version of the BrightstarDB.CodeGeneration.T4 package was found in the packages directory (" + packagesDirectory + "). You must choose 1 version and remove the others."); + } + + var packageDirectory = packageDirectories.First(); + this.Debug("package directory: {0}", packageDirectory); + + var assembliesDirectory = Path.Combine(packageDirectory, "tools"); + this.Debug("assemblies directory: {0}", assembliesDirectory); + + if (!Directory.Exists(assembliesDirectory)) + { + throw new InvalidOperationException("Package directory " + packageDirectory + " was found but no 'tools' subdirectory was found within."); + } + + AppDomain.CurrentDomain.AssemblyResolve += (s, e) => + { + this.Debug("resolve: {0}", e.Name); + + var matches = Directory.GetFiles(assembliesDirectory, e.Name + ".dll", SearchOption.TopDirectoryOnly); + + if (matches.Length == 0) + { + this.Debug("Failed to find assembly in assemblies directory ({0}) named '{1}'.", assembliesDirectory, e.Name); + return null; + } + else if (matches.Length > 1) + { + this.Debug("Found more than one potential match for '{0}' in assemblies directory ({0}). Bailing.", e.Name, assembliesDirectory); + return null; + } + + var match = matches.First(); + this.Debug("match: {0}", match); + + return Assembly.LoadFrom(match); + }; +} + +private void Debug(string format, params object[] args) +{ + //this.WriteLine("// " + string.Format(format, args)); +} +#> \ No newline at end of file diff --git a/installer/EntityFrameworkCodegen/BrightstarCodegenEntityContext/Properties/AssemblyInfo.cs b/installer/EntityFrameworkCodegen/BrightstarCodegenEntityContext/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..a9d13a67 --- /dev/null +++ b/installer/EntityFrameworkCodegen/BrightstarCodegenEntityContext/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("BrightstarCodegenEntityContext")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Kal Ahmed")] +[assembly: AssemblyProduct("BrightstarCodegenEntityContext")] +[assembly: AssemblyCopyright("Copyright © Kal Ahmed 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("947bb231-ec4f-45ad-90bf-44121dbd3fe7")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/installer/EntityFrameworkCodegen/EntityFrameworkCodegen.sln b/installer/EntityFrameworkCodegen/EntityFrameworkCodegen.sln new file mode 100644 index 00000000..b2a48f89 --- /dev/null +++ b/installer/EntityFrameworkCodegen/EntityFrameworkCodegen.sln @@ -0,0 +1,34 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.22823.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EntityFrameworkCodegen", "EntityFrameworkCodegen\EntityFrameworkCodegen.csproj", "{4B020226-2574-4AF7-A477-7A1319F8D223}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EntityItemTemplate", "EntityItemTemplate\EntityItemTemplate.csproj", "{0F1616CB-6DDA-4164-81B7-360FB8782E00}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BrightstarCodegenEntityContext", "BrightstarCodegenEntityContext\BrightstarCodegenEntityContext.csproj", "{947BB231-EC4F-45AD-90BF-44121DBD3FE7}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4B020226-2574-4AF7-A477-7A1319F8D223}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4B020226-2574-4AF7-A477-7A1319F8D223}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4B020226-2574-4AF7-A477-7A1319F8D223}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4B020226-2574-4AF7-A477-7A1319F8D223}.Release|Any CPU.Build.0 = Release|Any CPU + {0F1616CB-6DDA-4164-81B7-360FB8782E00}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0F1616CB-6DDA-4164-81B7-360FB8782E00}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0F1616CB-6DDA-4164-81B7-360FB8782E00}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0F1616CB-6DDA-4164-81B7-360FB8782E00}.Release|Any CPU.Build.0 = Release|Any CPU + {947BB231-EC4F-45AD-90BF-44121DBD3FE7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {947BB231-EC4F-45AD-90BF-44121DBD3FE7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {947BB231-EC4F-45AD-90BF-44121DBD3FE7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {947BB231-EC4F-45AD-90BF-44121DBD3FE7}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/installer/EntityFrameworkCodegen/EntityFrameworkCodegen/EntityFrameworkCodegen.csproj b/installer/EntityFrameworkCodegen/EntityFrameworkCodegen/EntityFrameworkCodegen.csproj new file mode 100644 index 00000000..38f61e0b --- /dev/null +++ b/installer/EntityFrameworkCodegen/EntityFrameworkCodegen/EntityFrameworkCodegen.csproj @@ -0,0 +1,92 @@ + + + + 14.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + Debug + AnyCPU + 2.0 + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {4B020226-2574-4AF7-A477-7A1319F8D223} + Library + Properties + EntityFrameworkCodegen + EntityFrameworkCodegen + v4.5.2 + false + false + false + false + false + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + Always + true + + + Always + true + + + Always + true + + + Always + true + + + Designer + + + + + {947BB231-EC4F-45AD-90BF-44121DBD3FE7} + BrightstarCodegenEntityContext + ItemTemplates + false + TemplateProjectOutputGroup%3b + + + {0F1616CB-6DDA-4164-81B7-360FB8782E00} + EntityItemTemplate + ItemTemplates + false + TemplateProjectOutputGroup%3b + + + + + + \ No newline at end of file diff --git a/installer/EntityFrameworkCodegen/EntityFrameworkCodegen/Properties/AssemblyInfo.cs b/installer/EntityFrameworkCodegen/EntityFrameworkCodegen/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..9bfca747 --- /dev/null +++ b/installer/EntityFrameworkCodegen/EntityFrameworkCodegen/Properties/AssemblyInfo.cs @@ -0,0 +1,33 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("EntityFrameworkCodegen")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("EntityFrameworkCodegen")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/installer/EntityFrameworkCodegen/EntityFrameworkCodegen/source.extension.vsixmanifest b/installer/EntityFrameworkCodegen/EntityFrameworkCodegen/source.extension.vsixmanifest new file mode 100644 index 00000000..b66d1239 --- /dev/null +++ b/installer/EntityFrameworkCodegen/EntityFrameworkCodegen/source.extension.vsixmanifest @@ -0,0 +1,20 @@ + + + + + BrightstarDB EntityFramework + Installs project and item templates for the Roslyn-based Entity Framework code generator.I + + + + + + + + + + + + + + diff --git a/installer/EntityFrameworkCodegen/EntityItemTemplate/EntityItemTemplate.csproj b/installer/EntityFrameworkCodegen/EntityItemTemplate/EntityItemTemplate.csproj new file mode 100644 index 00000000..5597612a --- /dev/null +++ b/installer/EntityFrameworkCodegen/EntityItemTemplate/EntityItemTemplate.csproj @@ -0,0 +1,106 @@ + + + + 14.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 14.0 + + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {0F1616CB-6DDA-4164-81B7-360FB8782E00} + Library + Properties + EntityItemTemplate + EntityItemTemplate + v4.5.2 + 512 + false + false + false + false + false + false + false + false + false + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + + + + + + + + + + + + + + + + + + + False + Microsoft .NET Framework 4.5.2 %28x86 and x64%29 + true + + + False + .NET Framework 3.5 SP1 + false + + + + + + \ No newline at end of file diff --git a/installer/EntityFrameworkCodegen/EntityItemTemplate/EntityItemTemplate.ico b/installer/EntityFrameworkCodegen/EntityItemTemplate/EntityItemTemplate.ico new file mode 100644 index 0000000000000000000000000000000000000000..0e06851ca3748a60d3afad5ae2669f9f46d45036 GIT binary patch literal 48931 zcmeG_2_V$j|8K@PDutz$4y5z9skBO$t5&zDEtSnxQrg(G$jx-8wzM6hh_a>CMw_Aw zleVOUvZ$P0RC0wG_x#_R@zvKe!w?pKuikv#=kq@I_kG{@JKy=t0DuAp0stf-q=7sU z0Ma0)qQb>3A$~^`07XSE{+}1z@89F>t>h08_s~@?88PFuL`_x-cy<;xxBi(h9}B{_*J zZhmmLZpPu!dDa;bv(_7WXPg}e^vcp-3;>CvfTS)^^a0u`6uKD|+@*n?{QylGh>dMN zQ8&YdQgBP&xwgW&qS_>=vVD_qtl!Y!xZHcRJ*(WL9j zkIiLuj@uhcXw*AL$veAl0EflvqO3FOo#dwk2KfN>pWkbZ60w`=2F_?yDmZ!VkW{(# zCtJ$KIQ^sq8}bce9~MoTY5|yT3O|>m*k2&;s9R+Z(BtZC0Qs?)ulMFyX8{*f=Cmj;U>GEu@l?n{Z9md9xf{ zE@wr+HvQkiEWmu%0QN;W)<2amh0XHbd`@sN*S#Dqe%wYko0TQIf9LQzP4@E3dZ1t2 z+ua)9A6BC*yipyqI+VT(IY&MF(2K0NmKl=(C^yn z#MH6CKyLK|6v!%;&>C-x>a`ZPt2fQ8cB>Ei$sdFyvUg~tpbQjJmrcu`;`BgcO0+k{ zr_@LN&6y#lkHN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VvKYUHDTl$2tvN2A+m>b zqI5#&6(1kp_?zJ9_r4J>h|LE1Mp+^kNJmTZgnbr^rHJ?lIWlZXo|yYu`$YWc9)|c$ zbOZ&xr$O?lL4UjmpU9AilON + + + Brightstar Entity Definition + A project item for a BrightstarDB entity definition interface. + EntityItemTemplate.ico + 85bdfe6e-d81e-42dd-a8c5-70c55b4fb742 + CSharp + 4.0 + 1 + IMyEntity.cs + + + IMyEntity.cs + + \ No newline at end of file diff --git a/installer/EntityFrameworkCodegen/EntityItemTemplate/IMyEntity.cs b/installer/EntityFrameworkCodegen/EntityItemTemplate/IMyEntity.cs new file mode 100644 index 00000000..b677c651 --- /dev/null +++ b/installer/EntityFrameworkCodegen/EntityItemTemplate/IMyEntity.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using BrightstarDB.EntityFramework; + +namespace $rootnamespace$ +{ + [Entity] + public interface $safeitemname$ + { + /// + /// Get the persistent identifier for this entity + /// + string Id { get; } + + // TODO: Add other property references here + } +} diff --git a/installer/EntityFrameworkCodegen/EntityItemTemplate/Properties/AssemblyInfo.cs b/installer/EntityFrameworkCodegen/EntityItemTemplate/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..1849863c --- /dev/null +++ b/installer/EntityFrameworkCodegen/EntityItemTemplate/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("EntityItemTemplate")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Kal Ahmed")] +[assembly: AssemblyProduct("EntityItemTemplate")] +[assembly: AssemblyCopyright("Copyright © Kal Ahmed 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("0f1616cb-6dda-4164-81b7-360fb8782e00")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/core/BrightstarDB.CodeGeneration.Console/BrightstarDB.CodeGeneration.Console.csproj b/src/core/BrightstarDB.CodeGeneration.Console/BrightstarDB.CodeGeneration.Console.csproj index f8996920..39bf9cec 100644 --- a/src/core/BrightstarDB.CodeGeneration.Console/BrightstarDB.CodeGeneration.Console.csproj +++ b/src/core/BrightstarDB.CodeGeneration.Console/BrightstarDB.CodeGeneration.Console.csproj @@ -1,142 +1,142 @@ - - - - - Debug - AnyCPU - {F1F4ADB7-96E9-41F2-941A-581D5A9EDB66} - Exe - Properties - BrightstarDB.CodeGeneration.Console - BrightstarDB.CodeGeneration.Console - v4.5 - 512 - ..\ - true - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\packages\Microsoft.CodeAnalysis.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.dll - - - ..\packages\Microsoft.CodeAnalysis.CSharp.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.dll - - - ..\packages\Microsoft.CodeAnalysis.CSharp.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.Desktop.dll - - - ..\packages\Microsoft.CodeAnalysis.CSharp.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.Workspaces.dll - - - ..\packages\Microsoft.CodeAnalysis.CSharp.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.Workspaces.Desktop.dll - - - ..\packages\Microsoft.CodeAnalysis.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.Desktop.dll - - - ..\packages\Microsoft.CodeAnalysis.VisualBasic.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.dll - - - ..\packages\Microsoft.CodeAnalysis.VisualBasic.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.Desktop.dll - - - ..\packages\Microsoft.CodeAnalysis.VisualBasic.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.Workspaces.dll - - - ..\packages\Microsoft.CodeAnalysis.VisualBasic.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.Workspaces.Desktop.dll - - - ..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.Workspaces.dll - - - ..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.Workspaces.Desktop.dll - - - ..\packages\PowerArgs.2.6.0.1\lib\net40\PowerArgs.dll - - - - True - ..\packages\System.Collections.Immutable.1.1.33-beta\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll - - - ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.AttributedModel.dll - - - ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Convention.dll - - - ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Hosting.dll - - - ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Runtime.dll - - - ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.TypedParts.dll - - - - ..\packages\System.Reflection.Metadata.1.0.18-beta\lib\portable-net45+win8\System.Reflection.Metadata.dll - - - - - - - - - - - - - - - - - - - - - - - {5ef2500f-67e0-421e-a4a6-ff4675a84d1d} - BrightstarDB.CodeGeneration - - - - - - - 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}. - - - - + + + + + Debug + AnyCPU + {F1F4ADB7-96E9-41F2-941A-581D5A9EDB66} + Exe + Properties + BrightstarDB.CodeGeneration.Console + BrightstarDB.CodeGeneration.Console + v4.5 + 512 + ..\ + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + false + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\packages\Microsoft.CodeAnalysis.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.dll + + + ..\packages\Microsoft.CodeAnalysis.CSharp.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.dll + + + ..\packages\Microsoft.CodeAnalysis.CSharp.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.Desktop.dll + + + ..\packages\Microsoft.CodeAnalysis.CSharp.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.Workspaces.dll + + + ..\packages\Microsoft.CodeAnalysis.CSharp.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.Workspaces.Desktop.dll + + + ..\packages\Microsoft.CodeAnalysis.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.Desktop.dll + + + ..\packages\Microsoft.CodeAnalysis.VisualBasic.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.dll + + + ..\packages\Microsoft.CodeAnalysis.VisualBasic.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.Desktop.dll + + + ..\packages\Microsoft.CodeAnalysis.VisualBasic.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.Workspaces.dll + + + ..\packages\Microsoft.CodeAnalysis.VisualBasic.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.Workspaces.Desktop.dll + + + ..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.Workspaces.dll + + + ..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.Workspaces.Desktop.dll + + + ..\packages\PowerArgs.2.6.0.1\lib\net40\PowerArgs.dll + + + + True + ..\packages\System.Collections.Immutable.1.1.33-beta\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll + + + ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.AttributedModel.dll + + + ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Convention.dll + + + ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Hosting.dll + + + ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Runtime.dll + + + ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.TypedParts.dll + + + + ..\packages\System.Reflection.Metadata.1.0.18-beta\lib\portable-net45+win8\System.Reflection.Metadata.dll + + + + + + + + + + + + + + + + + + + + + + + {5ef2500f-67e0-421e-a4a6-ff4675a84d1d} + BrightstarDB.CodeGeneration + + + + + + + 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}. + + + + \ No newline at end of file diff --git a/src/core/BrightstarDB.CodeGeneration.T4/BrightstarDB.CodeGeneration.T4.csproj b/src/core/BrightstarDB.CodeGeneration.T4/BrightstarDB.CodeGeneration.T4.csproj index 5a32f5a1..047c836d 100644 --- a/src/core/BrightstarDB.CodeGeneration.T4/BrightstarDB.CodeGeneration.T4.csproj +++ b/src/core/BrightstarDB.CodeGeneration.T4/BrightstarDB.CodeGeneration.T4.csproj @@ -1,146 +1,146 @@ - - - - - Debug - AnyCPU - {D502DFEA-862E-4A30-98A0-3AD350725C20} - Library - Properties - BrightstarDB.CodeGeneration.T4 - BrightstarDB.CodeGeneration.T4 - v4.5 - 512 - ..\ - true - true - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\packages\Microsoft.CodeAnalysis.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.dll - - - ..\packages\Microsoft.CodeAnalysis.CSharp.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.dll - - - ..\packages\Microsoft.CodeAnalysis.CSharp.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.Desktop.dll - - - ..\packages\Microsoft.CodeAnalysis.CSharp.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.Workspaces.dll - - - ..\packages\Microsoft.CodeAnalysis.CSharp.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.Workspaces.Desktop.dll - - - ..\packages\Microsoft.CodeAnalysis.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.Desktop.dll - - - ..\packages\Microsoft.CodeAnalysis.VisualBasic.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.dll - - - ..\packages\Microsoft.CodeAnalysis.VisualBasic.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.Desktop.dll - - - ..\packages\Microsoft.CodeAnalysis.VisualBasic.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.Workspaces.dll - - - ..\packages\Microsoft.CodeAnalysis.VisualBasic.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.Workspaces.Desktop.dll - - - ..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.Workspaces.dll - - - ..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.Workspaces.Desktop.dll - - - - True - ..\packages\System.Collections.Immutable.1.1.33-beta\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll - - - ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.AttributedModel.dll - - - ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Convention.dll - - - ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Hosting.dll - - - ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Runtime.dll - - - ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.TypedParts.dll - - - - ..\packages\System.Reflection.Metadata.1.0.18-beta\lib\portable-net45+win8\System.Reflection.Metadata.dll - - - - - - - - - - - - - - - - - - - - PreserveNewest - - - - - - - - {5ef2500f-67e0-421e-a4a6-ff4675a84d1d} - BrightstarDB.CodeGeneration - - - {121a81f3-eb1c-4228-81fb-0d7505a438fb} - BrightstarDB - - - - - - - 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}. - - - - + + + + + Debug + AnyCPU + {D502DFEA-862E-4A30-98A0-3AD350725C20} + Library + Properties + BrightstarDB.CodeGeneration.T4 + BrightstarDB.CodeGeneration.T4 + v4.5 + 512 + ..\ + true + true + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + false + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\packages\Microsoft.CodeAnalysis.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.dll + + + ..\packages\Microsoft.CodeAnalysis.CSharp.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.dll + + + ..\packages\Microsoft.CodeAnalysis.CSharp.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.Desktop.dll + + + ..\packages\Microsoft.CodeAnalysis.CSharp.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.Workspaces.dll + + + ..\packages\Microsoft.CodeAnalysis.CSharp.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.Workspaces.Desktop.dll + + + ..\packages\Microsoft.CodeAnalysis.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.Desktop.dll + + + ..\packages\Microsoft.CodeAnalysis.VisualBasic.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.dll + + + ..\packages\Microsoft.CodeAnalysis.VisualBasic.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.Desktop.dll + + + ..\packages\Microsoft.CodeAnalysis.VisualBasic.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.Workspaces.dll + + + ..\packages\Microsoft.CodeAnalysis.VisualBasic.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.Workspaces.Desktop.dll + + + ..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.Workspaces.dll + + + ..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.Workspaces.Desktop.dll + + + + True + ..\packages\System.Collections.Immutable.1.1.33-beta\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll + + + ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.AttributedModel.dll + + + ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Convention.dll + + + ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Hosting.dll + + + ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Runtime.dll + + + ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.TypedParts.dll + + + + ..\packages\System.Reflection.Metadata.1.0.18-beta\lib\portable-net45+win8\System.Reflection.Metadata.dll + + + + + + + + + + + + + + + + + + + + PreserveNewest + + + + + + + + {5ef2500f-67e0-421e-a4a6-ff4675a84d1d} + BrightstarDB.CodeGeneration + + + {121a81f3-eb1c-4228-81fb-0d7505a438fb} + BrightstarDB + + + + + + + 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}. + + + + \ No newline at end of file diff --git a/src/core/BrightstarDB.CodeGeneration/BrightstarDB.CodeGeneration.csproj b/src/core/BrightstarDB.CodeGeneration/BrightstarDB.CodeGeneration.csproj index ee248c4c..9b1ca7ac 100644 --- a/src/core/BrightstarDB.CodeGeneration/BrightstarDB.CodeGeneration.csproj +++ b/src/core/BrightstarDB.CodeGeneration/BrightstarDB.CodeGeneration.csproj @@ -1,147 +1,147 @@ - - - - - Debug - AnyCPU - {5EF2500F-67E0-421E-A4A6-FF4675A84D1D} - Library - Properties - BrightstarDB.CodeGeneration - BrightstarDB.CodeGeneration - v4.5 - 512 - - ..\ - true - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false - - - - ..\packages\Humanizer.1.35.0\lib\portable-win+net40+sl50+wp8+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Humanizer.dll - - - ..\packages\Microsoft.CodeAnalysis.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.dll - - - ..\packages\Microsoft.CodeAnalysis.CSharp.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.dll - - - ..\packages\Microsoft.CodeAnalysis.CSharp.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.Desktop.dll - - - ..\packages\Microsoft.CodeAnalysis.CSharp.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.Workspaces.dll - - - ..\packages\Microsoft.CodeAnalysis.CSharp.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.Workspaces.Desktop.dll - - - ..\packages\Microsoft.CodeAnalysis.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.Desktop.dll - - - ..\packages\Microsoft.CodeAnalysis.VisualBasic.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.dll - - - ..\packages\Microsoft.CodeAnalysis.VisualBasic.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.Desktop.dll - - - ..\packages\Microsoft.CodeAnalysis.VisualBasic.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.Workspaces.dll - - - ..\packages\Microsoft.CodeAnalysis.VisualBasic.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.Workspaces.Desktop.dll - - - ..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.Workspaces.dll - - - ..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.Workspaces.Desktop.dll - - - False - ..\..\lib\Remotion.Linq.dll - - - - True - ..\packages\System.Collections.Immutable.1.1.33-beta\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll - - - ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.AttributedModel.dll - - - ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Convention.dll - - - ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Hosting.dll - - - ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Runtime.dll - - - ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.TypedParts.dll - - - - ..\packages\System.Reflection.Metadata.1.0.18-beta\lib\portable-net45+win8\System.Reflection.Metadata.dll - - - - - - - - - - - - - - - - - - - - - - - - {121a81f3-eb1c-4228-81fb-0d7505a438fb} - BrightstarDB - - - - - - - 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}. - - - - + + + + + Debug + AnyCPU + {5EF2500F-67E0-421E-A4A6-FF4675A84D1D} + Library + Properties + BrightstarDB.CodeGeneration + BrightstarDB.CodeGeneration + v4.5 + 512 + + ..\ + true + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + false + false + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + false + + + + ..\packages\Humanizer.1.35.0\lib\portable-win+net40+sl50+wp8+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Humanizer.dll + + + ..\packages\Microsoft.CodeAnalysis.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.dll + + + ..\packages\Microsoft.CodeAnalysis.CSharp.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.dll + + + ..\packages\Microsoft.CodeAnalysis.CSharp.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.Desktop.dll + + + ..\packages\Microsoft.CodeAnalysis.CSharp.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.Workspaces.dll + + + ..\packages\Microsoft.CodeAnalysis.CSharp.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.CSharp.Workspaces.Desktop.dll + + + ..\packages\Microsoft.CodeAnalysis.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.Desktop.dll + + + ..\packages\Microsoft.CodeAnalysis.VisualBasic.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.dll + + + ..\packages\Microsoft.CodeAnalysis.VisualBasic.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.Desktop.dll + + + ..\packages\Microsoft.CodeAnalysis.VisualBasic.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.Workspaces.dll + + + ..\packages\Microsoft.CodeAnalysis.VisualBasic.Workspaces.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.VisualBasic.Workspaces.Desktop.dll + + + ..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.Workspaces.dll + + + ..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.0.0-rc1\lib\net45\Microsoft.CodeAnalysis.Workspaces.Desktop.dll + + + False + ..\..\lib\Remotion.Linq.dll + + + + True + ..\packages\System.Collections.Immutable.1.1.33-beta\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll + + + ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.AttributedModel.dll + + + ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Convention.dll + + + ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Hosting.dll + + + ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Runtime.dll + + + ..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.TypedParts.dll + + + + ..\packages\System.Reflection.Metadata.1.0.18-beta\lib\portable-net45+win8\System.Reflection.Metadata.dll + + + + + + + + + + + + + + + + + + + + + + + + {121a81f3-eb1c-4228-81fb-0d7505a438fb} + BrightstarDB + + + + + + + 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}. + + + + \ No newline at end of file diff --git a/src/portable/BrightstarDB.Portable.Android/Resources/Resource.designer.cs b/src/portable/BrightstarDB.Portable.Android/Resources/Resource.designer.cs index 01f0fae6..157f21e2 100644 --- a/src/portable/BrightstarDB.Portable.Android/Resources/Resource.designer.cs +++ b/src/portable/BrightstarDB.Portable.Android/Resources/Resource.designer.cs @@ -1,57 +1,57 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.34014 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -[assembly: global::Android.Runtime.ResourceDesignerAttribute("BrightstarDB.Portable.Android.Resource", IsApplication=false)] - -namespace BrightstarDB.Portable.Android -{ - - - [System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")] - public partial class Resource - { - - static Resource() - { - global::Android.Runtime.ResourceIdManager.UpdateIdValues(); - } - - public partial class Attribute - { - - static Attribute() - { - global::Android.Runtime.ResourceIdManager.UpdateIdValues(); - } - - private Attribute() - { - } - } - - public partial class String - { - - // aapt resource value: 0x7f020000 - public static int library_name = 2130837504; - - static String() - { - global::Android.Runtime.ResourceIdManager.UpdateIdValues(); - } - - private String() - { - } - } - } -} -#pragma warning restore 1591 +#pragma warning disable 1591 +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +[assembly: global::Android.Runtime.ResourceDesignerAttribute("BrightstarDB.Portable.Android.Resource", IsApplication=false)] + +namespace BrightstarDB.Portable.Android +{ + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")] + public partial class Resource + { + + static Resource() + { + global::Android.Runtime.ResourceIdManager.UpdateIdValues(); + } + + public partial class Attribute + { + + static Attribute() + { + global::Android.Runtime.ResourceIdManager.UpdateIdValues(); + } + + private Attribute() + { + } + } + + public partial class String + { + + // aapt resource value: 0x7f020000 + public static int library_name = 2130837504; + + static String() + { + global::Android.Runtime.ResourceIdManager.UpdateIdValues(); + } + + private String() + { + } + } + } +} +#pragma warning restore 1591 diff --git a/src/portable/BrightstarDB.Portable.MonoTouch/Properties/AssemblyInfo.cs b/src/portable/BrightstarDB.Portable.MonoTouch/Properties/AssemblyInfo.cs index 6ab023eb..bad953ba 100644 --- a/src/portable/BrightstarDB.Portable.MonoTouch/Properties/AssemblyInfo.cs +++ b/src/portable/BrightstarDB.Portable.MonoTouch/Properties/AssemblyInfo.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.34014 +// Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated.