Permalink
Browse files

Nugetify Core and Extensions

Update .gitignore for nuget-related exclusions
nugitfy Core
nugetify Core.CodeDom
nugetify Core.DuckTyping
nugetify Core.Parsers
nugetify ClassLibrary
nugetify Extensions/Curl
nugetify Extensions/Gd2
nugetify Extensions/GetText
nugetify Extensions/iconv
nugetify Extensions/mbstring
nugetify Extensions/MsSql
nugetify Extensions/PDO
nugetify Extensions/PDOSQLite
nugetify Extensions/PDOSQLServer
nugetify Extensions/Soap
nugetify Extensions/SQLite
- replace custom bundled binaries of System.Data.SQLite with nuget-fetched from upstream
nugetify Extensions/Xml
nugetify Extensions/XmlDom
- Replace HtmlAgilityPack sourcecode with precompiled version installed via nuget
nugetify Extensions/Zip
- replace bundled SharpZipLib code with precompiled version from nuget
nugetify Extensions/Zlib
- Replace bundled Zlib.net code with precompiled version from nuget
nugetify Phalanger.CompilerTask
nugetify phpc
update Phalanger.sln solution file for nugetted projects
  • Loading branch information...
1 parent 8cdb36e commit eb2c75ff531e816bdd8740de9cbbd85098e2a328 @diddledan diddledan committed Mar 19, 2015
Showing with 1,707 additions and 53,405 deletions.
  1. +9 −1 .gitignore
  2. +188 −103 Solutions/Phalanger.sln
  3. +2 −2 Source/Build/Common.Build.settings
  4. +20 −14 Source/Build/Common.Build.targets
  5. +1 −1 Source/ClassLibrary.Tests/ClassLibrary.Tests.csproj
  6. +24 −5 Source/ClassLibrary/ClassLibrary.csproj
  7. +22 −0 Source/ClassLibrary/ClassLibrary.nuspec
  8. +8 −0 Source/ClassLibrary/web.config.install.xdt
  9. +1 −0 Source/ClassLibrary/web.config.uninstall.xdt
  10. +21 −2 Source/Core.CodeDom/Core.CodeDom.csproj
  11. +22 −0 Source/Core.CodeDom/Core.CodeDom.nuspec
  12. +1 −1 Source/Core.CodeDom/Properties/AssemblyInfo.cs
  13. +13 −0 Source/Core.CodeDom/web.config.install.xdt
  14. +5 −0 Source/Core.CodeDom/web.config.uninstall.xdt
  15. +16 −2 Source/Core.DuckTyping/Core.DuckTyping.csproj
  16. +22 −0 Source/Core.DuckTyping/Core.DuckTyping.nuspec
  17. +1 −1 Source/Core.Parsers.Tests/Core.Parsers.Tests.csproj
  18. +15 −1 Source/Core.Parsers/Core.Parsers.csproj
  19. +18 −0 Source/Core.Parsers/Core.Parsers.nuspec
  20. +1 −1 Source/Core.Parsers/Properties/AssemblyInfo.cs
  21. +1 −1 Source/Core.Tests/Core.Tests.csproj
  22. +17 −10 Source/Core/Core.csproj
  23. +21 −0 Source/Core/Core.nuspec
  24. +29 −0 Source/Core/web.config.install.xdt
  25. +23 −0 Source/Core/web.config.uninstall.xdt
  26. +17 −2 Source/Extensions/Curl/Extension.Curl.csproj
  27. +22 −0 Source/Extensions/Curl/Extension.Curl.nuspec
  28. +1 −1 Source/Extensions/Curl/Properties/AssemblyInfo.cs
  29. +8 −0 Source/Extensions/Curl/web.config.install.xdt
  30. +8 −0 Source/Extensions/Curl/web.config.uninstall.xdt
  31. +16 −1 Source/Extensions/Gd2/Extension.Gd2.csproj
  32. +23 −0 Source/Extensions/Gd2/Extension.Gd2.nuspec
  33. +1 −1 Source/Extensions/Gd2/Properties/AssemblyInfo.cs
  34. +8 −0 Source/Extensions/Gd2/web.config.install.xdt
  35. +8 −0 Source/Extensions/Gd2/web.config.uninstall.xdt
  36. +16 −1 Source/Extensions/GetText/Extension.GetText.csproj
  37. +22 −0 Source/Extensions/GetText/Extension.GetText.nuspec
  38. +1 −1 Source/Extensions/GetText/Properties/AssemblyInfo.cs
  39. +8 −0 Source/Extensions/GetText/web.config.install.xdt
  40. +8 −0 Source/Extensions/GetText/web.config.uninstall.xdt
  41. +29 −6 Source/Extensions/MSSql/Extension.MsSql.csproj
  42. +23 −0 Source/Extensions/MSSql/Extension.MsSql.nuspec
  43. +8 −0 Source/Extensions/MSSql/web.config.install.xdt
  44. +1 −0 Source/Extensions/MSSql/web.config.uninstall.xdt
  45. +20 −2 Source/Extensions/PDO/Extension.PDO.csproj
  46. +22 −0 Source/Extensions/PDO/Extension.PDO.nuspec
  47. +8 −0 Source/Extensions/PDO/web.config.install.xdt
  48. +1 −0 Source/Extensions/PDO/web.config.uninstall.xdt
  49. +17 −2 Source/Extensions/PDOSQLServer/Extension.PDOSQLServer.csproj
  50. +24 −0 Source/Extensions/PDOSQLServer/Extension.PDOSQLServer.nuspec
  51. +8 −0 Source/Extensions/PDOSQLServer/web.config.install.xdt
  52. +1 −0 Source/Extensions/PDOSQLServer/web.config.uninstall.xdt
  53. +29 −4 Source/Extensions/PDOSQLite/Extension.PDOSQLite.csproj
  54. +25 −0 Source/Extensions/PDOSQLite/Extension.PDOSQLite.nuspec
  55. +1 −1 Source/Extensions/PDOSQLite/SQLitePDODriver.cs
  56. +4 −0 Source/Extensions/PDOSQLite/packages.config
  57. +8 −0 Source/Extensions/PDOSQLite/web.config.install.xdt
  58. +1 −0 Source/Extensions/PDOSQLite/web.config.uninstall.xdt
  59. +108 −94 Source/Extensions/SQLite/Extension.SQLite.csproj
  60. +23 −0 Source/Extensions/SQLite/Extension.SQLite.nuspec
  61. +1 −1 Source/Extensions/SQLite/SQLite.cs
  62. BIN Source/Extensions/SQLite/lib/SQLite.Designer.dll
  63. BIN Source/Extensions/SQLite/lib/SQLite.Designer.pdb
  64. BIN Source/Extensions/SQLite/lib/System.Data.SQLite.Linq.dll
  65. BIN Source/Extensions/SQLite/lib/System.Data.SQLite.Linq.pdb
  66. +0 −1,973 Source/Extensions/SQLite/lib/System.Data.SQLite.Linq.xml
  67. BIN Source/Extensions/SQLite/lib/System.Data.SQLite.dll
  68. BIN Source/Extensions/SQLite/lib/System.Data.SQLite.pdb
  69. +0 −4,739 Source/Extensions/SQLite/lib/System.Data.SQLite.xml
  70. +0 −1,598 Source/Extensions/SQLite/lib/readme.htm
  71. +0 −26 Source/Extensions/SQLite/lib/readme.more.htm
  72. BIN Source/Extensions/SQLite/lib/x64/SQLite.Interop.dll
  73. BIN Source/Extensions/SQLite/lib/x64/SQLite.Interop.pdb
  74. BIN Source/Extensions/SQLite/lib/x86/SQLite.Interop.dll
  75. BIN Source/Extensions/SQLite/lib/x86/SQLite.Interop.pdb
  76. +4 −0 Source/Extensions/SQLite/packages.config
  77. +8 −0 Source/Extensions/SQLite/web.config.install.xdt
  78. +1 −0 Source/Extensions/SQLite/web.config.uninstall.xdt
  79. +20 −1 Source/Extensions/Soap/Extension.Soap.csproj
  80. +23 −0 Source/Extensions/Soap/Extension.Soap.nuspec
  81. +8 −0 Source/Extensions/Soap/web.config.install.xdt
  82. +1 −0 Source/Extensions/Soap/web.config.uninstall.xdt
  83. +30 −6 Source/Extensions/Xml/Extension.Xml.csproj
  84. +23 −0 Source/Extensions/Xml/Extension.Xml.nuspec
  85. +8 −0 Source/Extensions/Xml/web.config.install.xdt
  86. +1 −0 Source/Extensions/Xml/web.config.uninstall.xdt
  87. +34 −20 Source/Extensions/XmlDom/Extension.XmlDom.csproj
  88. +24 −0 Source/Extensions/XmlDom/Extension.XmlDom.nuspec
  89. +0 −33 Source/Extensions/XmlDom/HtmlAgilityPack/EncodingFoundException.cs
  90. +0 −265 Source/Extensions/XmlDom/HtmlAgilityPack/HtmlAttribute.cs
  91. +0 −394 Source/Extensions/XmlDom/HtmlAgilityPack/HtmlAttributeCollection.cs
  92. +0 −76 Source/Extensions/XmlDom/HtmlAgilityPack/HtmlCommentNode.cs
  93. +0 −2,151 Source/Extensions/XmlDom/HtmlAgilityPack/HtmlDocument.cs
  94. +0 −32 Source/Extensions/XmlDom/HtmlAgilityPack/HtmlElementFlag.cs
  95. +0 −837 Source/Extensions/XmlDom/HtmlAgilityPack/HtmlEntity.cs
  96. +0 −52 Source/Extensions/XmlDom/HtmlAgilityPack/HtmlNameTable.cs
  97. +0 −2,047 Source/Extensions/XmlDom/HtmlAgilityPack/HtmlNode.cs
  98. +0 −501 Source/Extensions/XmlDom/HtmlAgilityPack/HtmlNodeCollection.cs
  99. +0 −768 Source/Extensions/XmlDom/HtmlAgilityPack/HtmlNodeNavigator.cs
  100. +0 −29 Source/Extensions/XmlDom/HtmlAgilityPack/HtmlNodeType.cs
  101. +0 −92 Source/Extensions/XmlDom/HtmlAgilityPack/HtmlParseError.cs
  102. +0 −34 Source/Extensions/XmlDom/HtmlAgilityPack/HtmlParseErrorCode.cs
  103. +0 −69 Source/Extensions/XmlDom/HtmlAgilityPack/HtmlTextNode.cs
  104. +0 −103 Source/Extensions/XmlDom/HtmlAgilityPack/NameValuePairList.cs
  105. +4 −0 Source/Extensions/XmlDom/packages.config
  106. +8 −0 Source/Extensions/XmlDom/web.config.install.xdt
  107. +1 −0 Source/Extensions/XmlDom/web.config.uninstall.xdt
  108. +22 −72 Source/Extensions/Zip/Extension.Zip.csproj
  109. +24 −0 Source/Extensions/Zip/Extension.Zip.nuspec
  110. +0 −134 Source/Extensions/Zip/SharpZipLib/AssemblyInfo.cs
  111. +0 −105 Source/Extensions/Zip/SharpZipLib/BZip2/BZip2.cs
  112. +0 −197 Source/Extensions/Zip/SharpZipLib/BZip2/BZip2Constants.cs
  113. +0 −90 Source/Extensions/Zip/SharpZipLib/BZip2/BZip2Exception.cs
  114. +0 −1,003 Source/Extensions/Zip/SharpZipLib/BZip2/BZip2InputStream.cs
  115. +0 −1,916 Source/Extensions/Zip/SharpZipLib/BZip2/BZip2OutputStream.cs
  116. +0 −340 Source/Extensions/Zip/SharpZipLib/COPYING.txt
  117. +0 −248 Source/Extensions/Zip/SharpZipLib/Changes.txt
  118. +0 −237 Source/Extensions/Zip/SharpZipLib/Checksums/Adler32.cs
  119. +0 −223 Source/Extensions/Zip/SharpZipLib/Checksums/CRC32.cs
  120. +0 −93 Source/Extensions/Zip/SharpZipLib/Checksums/IChecksum.cs
  121. +0 −208 Source/Extensions/Zip/SharpZipLib/Checksums/StrangeCRC.cs
  122. +0 −533 Source/Extensions/Zip/SharpZipLib/Core/FileSystemScanner.cs
  123. +0 −57 Source/Extensions/Zip/SharpZipLib/Core/INameTransform.cs
  124. +0 −50 Source/Extensions/Zip/SharpZipLib/Core/IScanFilter.cs
  125. +0 −290 Source/Extensions/Zip/SharpZipLib/Core/NameFilter.cs
  126. +0 −334 Source/Extensions/Zip/SharpZipLib/Core/PathFilter.cs
  127. +0 −246 Source/Extensions/Zip/SharpZipLib/Core/StreamUtils.cs
  128. +0 −94 Source/Extensions/Zip/SharpZipLib/Core/WindowsPathUtils.cs
  129. +0 −498 Source/Extensions/Zip/SharpZipLib/Encryption/PkzipClassic.cs
  130. +0 −170 Source/Extensions/Zip/SharpZipLib/Encryption/ZipAESStream.cs
  131. +0 −219 Source/Extensions/Zip/SharpZipLib/Encryption/ZipAESTransform.cs
  132. +0 −97 Source/Extensions/Zip/SharpZipLib/GZip/GZIPConstants.cs
  133. +0 −91 Source/Extensions/Zip/SharpZipLib/GZip/GZipException.cs
  134. +0 −384 Source/Extensions/Zip/SharpZipLib/GZip/GzipInputStream.cs
  135. +0 −261 Source/Extensions/Zip/SharpZipLib/GZip/GzipOutputStream.cs
  136. +0 −115 Source/Extensions/Zip/SharpZipLib/ICSharpCode.SharpZLib.csproj
  137. +0 −88 Source/Extensions/Zip/SharpZipLib/ICSharpCode.SharpZLib.prjx
  138. +0 −94 Source/Extensions/Zip/SharpZipLib/Lzw/LzwConstants.cs
  139. +0 −88 Source/Extensions/Zip/SharpZipLib/Lzw/LzwException.cs
  140. +0 −598 Source/Extensions/Zip/SharpZipLib/Lzw/LzwInputStream.cs
  141. +0 −36 Source/Extensions/Zip/SharpZipLib/Main.cs
  142. +0 −99 Source/Extensions/Zip/SharpZipLib/ReadMe.rtf
  143. +0 −94 Source/Extensions/Zip/SharpZipLib/SharpZipBaseException.cs
  144. +0 −109 Source/Extensions/Zip/SharpZipLib/Tar/InvalidHeaderException.cs
  145. +0 −894 Source/Extensions/Zip/SharpZipLib/Tar/TarArchive.cs
  146. +0 −624 Source/Extensions/Zip/SharpZipLib/Tar/TarBuffer.cs
  147. +0 −559 Source/Extensions/Zip/SharpZipLib/Tar/TarEntry.cs
  148. +0 −91 Source/Extensions/Zip/SharpZipLib/Tar/TarException.cs
  149. +0 −1,156 Source/Extensions/Zip/SharpZipLib/Tar/TarHeader.cs
  150. +0 −695 Source/Extensions/Zip/SharpZipLib/Tar/TarInputStream.cs
  151. +0 −525 Source/Extensions/Zip/SharpZipLib/Tar/TarOutputStream.cs
  152. +0 −557 Source/Extensions/Zip/SharpZipLib/Zip/Compression/Deflater.cs
  153. +0 −186 Source/Extensions/Zip/SharpZipLib/Zip/Compression/DeflaterConstants.cs
  154. +0 −869 Source/Extensions/Zip/SharpZipLib/Zip/Compression/DeflaterEngine.cs
  155. +0 −908 Source/Extensions/Zip/SharpZipLib/Zip/Compression/DeflaterHuffman.cs
  156. +0 −57 Source/Extensions/Zip/SharpZipLib/Zip/Compression/DeflaterPending.cs
  157. +0 −864 Source/Extensions/Zip/SharpZipLib/Zip/Compression/Inflater.cs
  158. +0 −218 Source/Extensions/Zip/SharpZipLib/Zip/Compression/InflaterDynHeader.cs
  159. +0 −232 Source/Extensions/Zip/SharpZipLib/Zip/Compression/InflaterHuffmanTree.cs
  160. +0 −295 Source/Extensions/Zip/SharpZipLib/Zip/Compression/PendingBuffer.cs
  161. +0 −602 Source/Extensions/Zip/SharpZipLib/Zip/Compression/Streams/DeflaterOutputStream.cs
  162. +0 −732 Source/Extensions/Zip/SharpZipLib/Zip/Compression/Streams/InflaterInputStream.cs
  163. +0 −235 Source/Extensions/Zip/SharpZipLib/Zip/Compression/Streams/OutputWindow.cs
  164. +0 −297 Source/Extensions/Zip/SharpZipLib/Zip/Compression/Streams/StreamManipulator.cs
  165. +0 −729 Source/Extensions/Zip/SharpZipLib/Zip/FastZip.cs
  166. +0 −82 Source/Extensions/Zip/SharpZipLib/Zip/IEntryFactory.cs
  167. +0 −272 Source/Extensions/Zip/SharpZipLib/Zip/WindowsNameTransform.cs
  168. +0 −632 Source/Extensions/Zip/SharpZipLib/Zip/ZipConstants.cs
  169. +0 −1,252 Source/Extensions/Zip/SharpZipLib/Zip/ZipEntry.cs
  170. +0 −413 Source/Extensions/Zip/SharpZipLib/Zip/ZipEntryFactory.cs
  171. +0 −94 Source/Extensions/Zip/SharpZipLib/Zip/ZipException.cs
  172. +0 −987 Source/Extensions/Zip/SharpZipLib/Zip/ZipExtraData.cs
  173. +0 −4,486 Source/Extensions/Zip/SharpZipLib/Zip/ZipFile.cs
  174. +0 −623 Source/Extensions/Zip/SharpZipLib/Zip/ZipHelperStream.cs
  175. +0 −675 Source/Extensions/Zip/SharpZipLib/Zip/ZipInputStream.cs
  176. +0 −269 Source/Extensions/Zip/SharpZipLib/Zip/ZipNameTransform.cs
  177. +0 −900 Source/Extensions/Zip/SharpZipLib/Zip/ZipOutputStream.cs
  178. +4 −0 Source/Extensions/Zip/packages.config
  179. +8 −0 Source/Extensions/Zip/web.config.install.xdt
  180. +1 −0 Source/Extensions/Zip/web.config.uninstall.xdt
  181. +35 −20 Source/Extensions/Zlib/Extension.Zlib.csproj
  182. +23 −0 Source/Extensions/Zlib/Extension.Zlib.nuspec
  183. +6 −2 Source/Extensions/Zlib/PhpZlib.cs
  184. +0 −108 Source/Extensions/Zlib/ZLIB.NET/Adler32.cs
  185. +0 −1,799 Source/Extensions/Zlib/ZLIB.NET/Deflate.cs
  186. +0 −720 Source/Extensions/Zlib/ZLIB.NET/InfBlocks.cs
  187. +0 −716 Source/Extensions/Zlib/ZLIB.NET/InfCodes.cs
  188. +0 −377 Source/Extensions/Zlib/ZLIB.NET/InfTree.cs
  189. +0 −450 Source/Extensions/Zlib/ZLIB.NET/Inflate.cs
  190. +0 −93 Source/Extensions/Zlib/ZLIB.NET/StaticTree.cs
  191. +0 −171 Source/Extensions/Zlib/ZLIB.NET/SupportClass.cs
  192. +0 −349 Source/Extensions/Zlib/ZLIB.NET/Tree.cs
  193. +0 −181 Source/Extensions/Zlib/ZLIB.NET/ZInputStream.cs
  194. +0 −282 Source/Extensions/Zlib/ZLIB.NET/ZOutputStream.cs
  195. +0 −233 Source/Extensions/Zlib/ZLIB.NET/ZStream.cs
  196. +0 −58 Source/Extensions/Zlib/ZLIB.NET/ZStreamException.cs
  197. +0 −83 Source/Extensions/Zlib/ZLIB.NET/Zlib.cs
  198. +1 −1 Source/Extensions/Zlib/ZlibFilter.cs
  199. +4 −0 Source/Extensions/Zlib/packages.config
  200. +8 −0 Source/Extensions/Zlib/web.config.install.xdt
  201. +1 −0 Source/Extensions/Zlib/web.config.uninstall.xdt
  202. +25 −6 Source/Extensions/iconv/Extension.iconv.csproj
  203. +24 −0 Source/Extensions/iconv/Extension.iconv.nuspec
  204. +8 −0 Source/Extensions/iconv/web.config.install.xdt
  205. +8 −0 Source/Extensions/iconv/web.config.uninstall.xdt
  206. +29 −6 Source/Extensions/mbstring/Extension.mbstring.csproj
  207. +22 −0 Source/Extensions/mbstring/Extension.mbstring.nuspec
  208. +8 −0 Source/Extensions/mbstring/web.config.install.xdt
  209. +1 −0 Source/Extensions/mbstring/web.config.uninstall.xdt
  210. +1 −1 Source/MkDynamic/MkDynamic.csproj
  211. +19 −2 Source/Phalanger.CompilerTask/Phalanger.CompilerTask.csproj
  212. +22 −0 Source/Phalanger.CompilerTask/Phalanger.CompilerTask.nuspec
  213. +116 −100 Source/PhpNetCompiler/phpc.csproj
  214. +22 −0 Source/PhpNetCompiler/phpc.nuspec
  215. +37 −18 Tools/UpdateFileVersionFromChangeset.cmd
  216. BIN Tools/nuget.exe
View
@@ -2,11 +2,17 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
-# User-specific files
+# Visual Studio User-specific files
*.suo
*.user
*.sln.docstates
*.vspscc
+# Visual Studio 2015 User-specific files
+.vs
+
+# nuget-specifics
+packages
+*.nupkg
# Build results
*_i.c
@@ -85,3 +91,5 @@ Deployment/Bin/PhpNetXmlDom.dll
Deployment/Bin/PhpNetXmlDom.xml
Deployment/Bin/PhpNetZip.dll
Deployment/Bin/System.Data.SQLite.dll
+Deployment/Release*
+Deployment/Debug*
Oops, something went wrong.
@@ -17,7 +17,7 @@
<PropertyGroup>
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<OutputPath Condition="'$(OutputPath)' == ''">$(RootDir)Deployment\$(Configuration)\</OutputPath>
<IntermediateOutputPath Condition="'$(IntermediateOutputPath)' == ''">$(MSBuildProjectDirectory)\obj\$(Configuration))\</IntermediateOutputPath>
@@ -31,7 +31,7 @@
<PropertyGroup>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <NoWarn>436,1591</NoWarn>
+ <NoWarn>436,1591</NoWarn>
<TreatWarningsAsErrors Condition="'$(TreatWarningsAsErrors)' == ''">true</TreatWarningsAsErrors>
</PropertyGroup>
@@ -10,19 +10,25 @@
<PropertyGroup>
<DocumentationFile>$(OutputPath)$(TargetName).xml</DocumentationFile>
</PropertyGroup>
-
- <PropertyGroup>
- <PreBuildEvent>
-cd "$(RootDir)"
-"$(ToolsDir)UpdateFileVersionFromChangeset.cmd" "$(MSBuildThisFileDirectory)AssemblyInfoCommon.cs"
- </PreBuildEvent>
- <PostBuildEvent>
-if [$(TargetExt)]==[.dll] if [$(SignAssembly)]==[true] (
- echo Installing $(TargetName) into GAC ...
- "$(ToolsDir)gacutil" /u $(TargetName) 1&gt;nul
- "$(ToolsDir)gacutil" /f /i "$(TargetPath)" 1&gt;nul
-)
- </PostBuildEvent>
- </PropertyGroup>
+ <Target Name="BeforeBuild">
+ <Exec Command="&quot;$(ToolsDir)UpdateFileVersionFromChangeset.cmd&quot; &quot;$(RootDir)&quot; &quot;$(MSBuildThisFileDirectory)AssemblyInfoCommon.cs&quot;"></Exec>
+ </Target>
+
+ <Target Name="AfterBuild" Condition=" '$(Configutation)' == 'ReleaseGAC' ">
+ <Exec Command="&quot;$(ToolsDir)gacutil&quot; /u &quot;$(TargetName)&quot;"></Exec>
+ <Exec Command="&quot;$(ToolsDir)gacutil&quot; /f /i &quot;$(TargetPath)&quot;"></Exec>
+ </Target>
+
+ <Target Name="AfterBuild" Condition=" '$(Configuration)' == 'Release' ">
+ <PropertyGroup>
+ <OutputNugetPath>$(OutputPath)..\Release-NuGet</OutputNugetPath>
+ </PropertyGroup>
+
+ <!-- Only download a new copy of nuget.exe if we don't have a copy available -->
+ <!--WebDownload Condition="!Exists('nuget.exe')" Filename="nuget.exe" FileUri="https://dist.nuget.org/win-x86-commandline/latest/nuget.exe" /-->
+
+ <MakeDir Directories="$(OutputNugetPath)" />
+ <Exec Command="&quot;$(ToolsDir)nuget&quot; pack &quot;$(MSBuildProjectFullPath)&quot; -IncludeReferencedProjects -Symbols -Prop Configuration=Release -OutputDirectory &quot;$(OutputNugetPath)&quot;"></Exec>
+ </Target>
</Project>
@@ -111,4 +111,4 @@
<Target Name="AfterBuild">
</Target>
-->
-</Project>
+</Project>
@@ -26,7 +26,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DocumentationFile>Bin\Debug\PhpNetClassLibrary.xml</DocumentationFile>
<DebugSymbols>true</DebugSymbols>
- <FileAlignment>4096</FileAlignment>
+ <FileAlignment>512</FileAlignment>
<NoStdLib>false</NoStdLib>
<Optimize>false</Optimize>
<RegisterForComInterop>false</RegisterForComInterop>
@@ -36,17 +36,33 @@
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
- <BaseAddress>419430400</BaseAddress>
+ <BaseAddress>4194304</BaseAddress>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
<DefineConstants>TRACE</DefineConstants>
<DocumentationFile>Bin\Release\PhpNetClassLibrary.xml</DocumentationFile>
- <DebugSymbols>false</DebugSymbols>
- <FileAlignment>4096</FileAlignment>
+ <DebugSymbols>true</DebugSymbols>
+ <FileAlignment>512</FileAlignment>
<NoStdLib>false</NoStdLib>
<Optimize>true</Optimize>
<RegisterForComInterop>false</RegisterForComInterop>
<RemoveIntegerChecks>false</RemoveIntegerChecks>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+ <DebugType>pdbonly</DebugType>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseGAC|AnyCPU'">
+ <OutputPath>bin\ReleaseGAC\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <BaseAddress>4194304</BaseAddress>
+ <DocumentationFile>..\..\Deployment\Release\PhpNetClassLibrary.xml</DocumentationFile>
+ <Optimize>true</Optimize>
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
+ <FileAlignment>512</FileAlignment>
+ <NoWarn>436,1591,1591,419</NoWarn>
+ <PlatformTarget>AnyCPU</PlatformTarget>
+ <ErrorReport>prompt</ErrorReport>
+ <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+ <DebugType>pdbonly</DebugType>
+ <DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<Reference Include="System">
@@ -225,6 +241,7 @@
<Compile Include="Web.cs">
<SubType>Code</SubType>
</Compile>
+ <None Include="ClassLibrary.nuspec" />
<None Include="Resources\WindowsTZ.xml" />
<EmbeddedResource Include="Strings.resx">
<SubType>Designer</SubType>
@@ -240,6 +257,8 @@
<None Include="Generators\json.lex" />
<None Include="Generators\json.y" />
<None Include="Generators\StrToTime.lex" />
+ <Content Include="web.config.install.xdt" />
+ <Content Include="web.config.uninstall.xdt" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
@@ -271,4 +290,4 @@
</ProjectReference>
</ItemGroup>
<Import Project="..\Build\Common.Build.targets" />
-</Project>
+</Project>
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<package >
+ <metadata>
+ <id>PhpNet.ClassLibrary</id>
+ <version>0.1</version>
+ <title>Phalanger Base Class Library</title>
+ <authors>The Phalanger Project</authors>
+ <owners>The Phalanger Project</owners>
+ <licenseUrl>https://raw.githubusercontent.com/DEVSENSE/Phalanger/master/LICENSE.txt</licenseUrl>
+ <projectUrl>https://github.com/DEVSENSE/Phalanger</projectUrl>
+ <iconUrl>http://download-codeplex.sec.s-msft.com/Download?ProjectName=Phalanger&amp;DownloadId=240061</iconUrl>
+ <requireLicenseAcceptance>false</requireLicenseAcceptance>
+ <description>Phalanger Base Class Library</description>
+ <releaseNotes>Bug fixes and performance improvements</releaseNotes>
+ <copyright>Copyright 2015</copyright>
+ <tags>PHP Phalanger</tags>
+ <dependencies>
+ <dependency id="PhpNet.Core" />
+ <dependency id="PhpNet.Core.Parsers" />
+ </dependencies>
+ </metadata>
+</package>
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+ <phpNet xdt:Transform="InsertIfMissing">
+ <classLibrary xdt:Transform="InsertIfMissing">
+ <add assembly="PhpNetClassLibrary" xdt:Transform="InsertIfMissing" />
+ </classLibrary>
+ </phpNet>
+</configuration>
@@ -0,0 +1 @@
+<?xml version="1.0"?><configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> <phpNet> <classLibrary> <add assembly="PhpNetClassLibrary" xdt:Transform="Remove" xdt:Locator="Match(assembly)" /> </classLibrary> </phpNet></configuration>
@@ -27,6 +27,18 @@
<Optimize>true</Optimize>
<DefineConstants>TRACE</DefineConstants>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseGAC|AnyCPU'">
+ <OutputPath>bin\ReleaseGAC\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <DocumentationFile>..\..\Deployment\Release\PhpNetCore.CodeDom.xml</DocumentationFile>
+ <Optimize>true</Optimize>
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
+ <NoWarn>436,1591</NoWarn>
+ <DebugType>pdbonly</DebugType>
+ <PlatformTarget>AnyCPU</PlatformTarget>
+ <ErrorReport>prompt</ErrorReport>
+ <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+ </PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
@@ -61,12 +73,19 @@
<Private>False</Private>
</ProjectReference>
</ItemGroup>
+ <ItemGroup>
+ <Content Include="web.config.install.xdt" />
+ <Content Include="web.config.uninstall.xdt" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="Core.CodeDom.nuspec" />
+ </ItemGroup>
<Import Project="..\Build\Common.Build.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
-</Project>
+</Project>
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<package >
+ <metadata>
+ <id>PhpNet.Core.CodeDom</id>
+ <version>0.1</version>
+ <title>Phalanger CodeDom</title>
+ <authors>The Phalanger Project</authors>
+ <owners>The Phalanger Project</owners>
+ <licenseUrl>https://raw.githubusercontent.com/DEVSENSE/Phalanger/master/LICENSE.txt</licenseUrl>
+ <projectUrl>https://github.com/DEVSENSE/Phalanger</projectUrl>
+ <iconUrl>http://download-codeplex.sec.s-msft.com/Download?ProjectName=Phalanger&amp;DownloadId=240061</iconUrl>
+ <requireLicenseAcceptance>false</requireLicenseAcceptance>
+ <description>Phalanger CodeDom provider for on-the-fly compilation</description>
+ <releaseNotes>Bug fixes and performance improvements</releaseNotes>
+ <copyright>Copyright 2015</copyright>
+ <tags>PHP Phalanger</tags>
+ <dependencies>
+ <dependency id="PhpNet.Core" />
+ <dependency id="PhpNet.Core.Parsers" />
+ </dependencies>
+ </metadata>
+</package>
@@ -7,7 +7,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Core.CodeDom")]
-[assembly: AssemblyDescription("")]
+[assembly: AssemblyDescription("Phalanger CodeDom provider for on-the-fly compilation")]
// 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
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+ <system.codedom xdt:Transform="InsertIfMissing">
+ <compilers xdt:Transform="InsertIfMissing">
+ <compiler
+ language="PHP"
+ extension=".php"
+ type="PHP.Core.CodeDom.PhpCodeProvider, PhpNetCore.CodeDom"
+ compilerOptions=""
+ xdt:Transform="InsertIfMissing" />
+ </compilers>
+ </system.codedom>
+</configuration>
@@ -0,0 +1,5 @@
+<?xml version="1.0"?><configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+ <system.codedom> <compilers> <compiler language="PHP" xdt:Transform="Remove" xdt:Locator="Match(language)" />
+ </compilers>
+ </system.codedom>
+</configuration>
@@ -31,6 +31,18 @@
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\Core\Core.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseGAC|AnyCPU'">
+ <OutputPath>bin\ReleaseGAC\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <DocumentationFile>..\..\Deployment\Release\PhpNetCore.DuckTyping.xml</DocumentationFile>
+ <Optimize>true</Optimize>
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
+ <NoWarn>436,1591</NoWarn>
+ <DebugType>pdbonly</DebugType>
+ <PlatformTarget>AnyCPU</PlatformTarget>
+ <ErrorReport>prompt</ErrorReport>
+ <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+ </PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
@@ -59,7 +71,9 @@
<Private>False</Private>
</ProjectReference>
</ItemGroup>
- <ItemGroup />
+ <ItemGroup>
+ <None Include="Core.DuckTyping.nuspec" />
+ </ItemGroup>
<Import Project="..\Build\Common.Build.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
@@ -68,4 +82,4 @@
<Target Name="AfterBuild">
</Target>
-->
-</Project>
+</Project>
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<package >
+ <metadata>
+ <id>PhpNet.Core.DuckTyping</id>
+ <version>0.1</version>
+ <title>Phalanger DuckTyping</title>
+ <authors>The Phalanger Project</authors>
+ <owners>The Phalanger Project</owners>
+ <licenseUrl>https://raw.githubusercontent.com/DEVSENSE/Phalanger/master/LICENSE.txt</licenseUrl>
+ <projectUrl>https://github.com/DEVSENSE/Phalanger</projectUrl>
+ <iconUrl>http://download-codeplex.sec.s-msft.com/Download?ProjectName=Phalanger&amp;DownloadId=240061</iconUrl>
+ <requireLicenseAcceptance>false</requireLicenseAcceptance>
+ <description>Phalanger DuckTyping</description>
+ <releaseNotes>Bug fixes and performance improvements</releaseNotes>
+ <copyright>Copyright 2015</copyright>
+ <tags>PHP Phalanger</tags>
+ <dependencies>
+ <dependency id="PhpNet.Core" />
+ <dependency id="PhpNet.Core.Parsers" />
+ </dependencies>
+ </metadata>
+</package>
@@ -104,4 +104,4 @@
<Target Name="AfterBuild">
</Target>
-->
-</Project>
+</Project>
@@ -29,6 +29,19 @@
<DefineConstants>TRACE</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseGAC|AnyCPU'">
+ <OutputPath>bin\ReleaseGAC\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+ <DocumentationFile>..\..\Deployment\Release\PhpNetCore.Parsers.xml</DocumentationFile>
+ <Optimize>true</Optimize>
+ <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
+ <NoWarn>436,1591</NoWarn>
+ <DebugType>pdbonly</DebugType>
+ <PlatformTarget>AnyCPU</PlatformTarget>
+ <ErrorReport>prompt</ErrorReport>
+ <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+ </PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.configuration" />
@@ -108,6 +121,7 @@
<Compile Include="Utils.cs" />
</ItemGroup>
<ItemGroup>
+ <None Include="Core.Parsers.nuspec" />
<None Include="Generators\Generate.cmd" />
<None Include="Generators\Lexer.lex" />
<None Include="Generators\Parser.y" />
@@ -128,4 +142,4 @@
<Target Name="AfterBuild">
</Target>
-->
-</Project>
+</Project>
Oops, something went wrong.

0 comments on commit eb2c75f

Please sign in to comment.