Permalink
Browse files

Initial checkin

  • Loading branch information...
dotnetjunky
dotnetjunky committed May 28, 2011
0 parents commit b698085a15608b978c6b63db4fbf55c68fba187d
Showing with 16,582 additions and 0 deletions.
  1. +19 −0 .hgignore
  2. +159 −0 Build/Build.proj
  3. +19 −0 Build/VisualStyleManifest.xml
  4. +17 −0 Common/CommonAssemblyInfo.cs
  5. +9 −0 Core/Authoring/IPackageBuilder.cs
  6. +321 −0 Core/Authoring/Manifest.cs
  7. +15 −0 Core/Authoring/ManifestDependency.cs
  8. +15 −0 Core/Authoring/ManifestFile.cs
  9. +15 −0 Core/Authoring/ManifestFrameworkAssembly.cs
  10. +188 −0 Core/Authoring/ManifestMetadata.cs
  11. +288 −0 Core/Authoring/PackageBuilder.cs
  12. +96 −0 Core/Authoring/PathResolver.cs
  13. +13 −0 Core/Authoring/PathSearchFilter.cs
  14. +35 −0 Core/Authoring/PhysicalPackageFile.cs
  15. +70 −0 Core/Authoring/nuspec.xsd
  16. +10 −0 Core/Configuration/ISettings.cs
  17. +135 −0 Core/Configuration/UserSettings.cs
  18. +158 −0 Core/Core.csproj
  19. +9 −0 Core/Extensions/AssemblyExtensions.cs
  20. +29 −0 Core/Extensions/CollectionExtensions.cs
  21. +20 −0 Core/Extensions/FileSystemExtensions.cs
  22. +8 −0 Core/Extensions/ObjectExtensions.cs
  23. +103 −0 Core/Extensions/PackageExtensions.cs
  24. +63 −0 Core/Extensions/SettingsExtensions.cs
  25. +31 −0 Core/Extensions/StreamExtensions.cs
  26. +7 −0 Core/Extensions/StringExtensions.cs
  27. +175 −0 Core/Extensions/XElementExtensions.cs
  28. +243 −0 Core/NuGetResources.Designer.cs
  29. +180 −0 Core/NuGetResources.resx
  30. +12 −0 Core/Packages/Constants.cs
  31. +190 −0 Core/Packages/DataServicePackage.cs
  32. +34 −0 Core/Packages/FrameworkAssemblyReference.cs
  33. +8 −0 Core/Packages/IFrameworkTargetable.cs
  34. +15 −0 Core/Packages/IPackage.cs
  35. +14 −0 Core/Packages/IPackageAssemblyReference.cs
  36. +13 −0 Core/Packages/IPackageFile.cs
  37. +22 −0 Core/Packages/IPackageMetadata.cs
  38. +18 −0 Core/Packages/IPackagePathResolver.cs
  39. +12 −0 Core/Packages/IServerPackageMetadata.cs
  40. +80 −0 Core/Packages/PackageDependency.cs
  41. +43 −0 Core/Packages/PackageInfo.cs
  42. +28 −0 Core/Packages/PackageInfoEqualityComparer.cs
  43. +176 −0 Core/Packages/SimplePackage.cs
  44. +237 −0 Core/Packages/ZipPackage.cs
  45. +52 −0 Core/Packages/ZipPackageAssemblyReference.cs
  46. +39 −0 Core/Packages/ZipPackageFile.cs
  47. +22 −0 Core/ProjectSystem/IFileSystem.cs
  48. +155 −0 Core/ProjectSystem/PhysicalFileSystem.cs
  49. +11 −0 Core/Properties/AssemblyInfo.cs
  50. +11 −0 Core/Repositories/CredentialProviderExtensions.cs
  51. +50 −0 Core/Repositories/DataServicePackageRepository.cs
  52. +21 −0 Core/Repositories/DefaultCredentialProvider.cs
  53. +10 −0 Core/Repositories/ICredentialProvider.cs
  54. +11 −0 Core/Repositories/IPackageRepository.cs
  55. +8 −0 Core/Repositories/IProxyService.cs
  56. +57 −0 Core/Repositories/MachineCache.cs
  57. +177 −0 Core/Repositories/ProxyService.cs
  58. +30 −0 Core/Utility/CryptoHashProvider.cs
  59. +183 −0 Core/Utility/GalleryServer.cs
  60. +48 −0 Core/Utility/HttpClient.cs
  61. +37 −0 Core/Utility/HttpUtility.cs
  62. +8 −0 Core/Utility/IHashProvider.cs
  63. +13 −0 Core/Utility/IHttpClient.cs
  64. +8 −0 Core/Utility/IPackageFactory.cs
  65. +10 −0 Core/Utility/IVersionSpec.cs
  66. +23 −0 Core/Utility/PackageIdValidator.cs
  67. +10 −0 Core/Utility/PackageUtility.cs
  68. +56 −0 Core/Utility/RedirectedHttpClient.cs
  69. +25 −0 Core/Utility/UriUtility.cs
  70. +41 −0 Core/Utility/VersionSpec.cs
  71. +281 −0 Core/Utility/VersionUtility.cs
  72. +27 −0 Core/Utility/XmlUtility.cs
  73. +9 −0 Core/Utility/ZipPackageFactory.cs
  74. +236 −0 NuGetPackageExplorer.ruleset
  75. +75 −0 NuGetPackageExplorer.sln
  76. +57 −0 PackageExplorer/AboutWindow.xaml
  77. +41 −0 PackageExplorer/AboutWindow.xaml.cs
  78. +162 −0 PackageExplorer/App.xaml
  79. +86 −0 PackageExplorer/App.xaml.cs
  80. +59 −0 PackageExplorer/ContentViewerPane.xaml
  81. +36 −0 PackageExplorer/ContentViewerPane.xaml.cs
  82. +20 −0 PackageExplorer/Controls/GrayscaleButton.cs
  83. +10 −0 PackageExplorer/Controls/GrayscaleImage.cs
  84. +20 −0 PackageExplorer/Controls/GrayscaleMenuItem.cs
  85. +40 −0 PackageExplorer/Controls/SortAdorner.cs
  86. +39 −0 PackageExplorer/Controls/StandardDialog.cs
  87. +165 −0 PackageExplorer/Controls/SyntaxHighlightingTextBox.cs
  88. +15 −0 PackageExplorer/Converters/AndLogicConverter.cs
  89. +15 −0 PackageExplorer/Converters/BooleanToStringConverter.cs
  90. +30 −0 PackageExplorer/Converters/BooleanToVisibilityConverter.cs
  91. +73 −0 PackageExplorer/Converters/BorderGapMaskConverter.cs
  92. +37 −0 PackageExplorer/Converters/CountToVisibilityConverter.cs
  93. +41 −0 PackageExplorer/Converters/FileSizeConverter.cs
  94. +40 −0 PackageExplorer/Converters/FrameworkAssemblyReferenceConverter.cs
  95. +32 −0 PackageExplorer/Converters/FrameworkNameConverter.cs
  96. +15 −0 PackageExplorer/Converters/MultiStringToBoolConverter.cs
  97. +23 −0 PackageExplorer/Converters/NormalizeTextConverter.cs
  98. +20 −0 PackageExplorer/Converters/NullToBoolConverter.cs
  99. +24 −0 PackageExplorer/Converters/NullToVisibilityConverter.cs
  100. +18 −0 PackageExplorer/Converters/PackageInfoDownloadCountConverter.cs
  101. +33 −0 PackageExplorer/Converters/PackagePartToBoolConverter.cs
  102. +31 −0 PackageExplorer/Converters/StringCollectionsToStringConverter.cs
  103. +19 −0 PackageExplorer/Converters/StringToVisibilityConverter.cs
  104. +19 −0 PackageExplorer/Converters/SubtracterConverter.cs
  105. +84 −0 PackageExplorer/Converters/TruncateFilePathConverter.cs
  106. +15 −0 PackageExplorer/Converters/UpperCaseConverter.cs
  107. +28 −0 PackageExplorer/Converters/UriConverter.cs
  108. +30 −0 PackageExplorer/Converters/VersionConverter.cs
  109. +29 −0 PackageExplorer/Converters/VersionSpecConverter.cs
  110. +17 −0 PackageExplorer/EditableTreeView.cs
  111. +42 −0 PackageExplorer/EditableTreeViewItem.cs
  112. +17 −0 PackageExplorer/FileUtility.cs
  113. BIN PackageExplorer/Images/Add.png
  114. BIN PackageExplorer/Images/Book_angleHS.png
  115. BIN PackageExplorer/Images/CopyHS.png
  116. BIN PackageExplorer/Images/CutHS.png
  117. BIN PackageExplorer/Images/Delete.png
  118. BIN PackageExplorer/Images/EditHS.png
  119. BIN PackageExplorer/Images/FontDialogHS.png
  120. BIN PackageExplorer/Images/Lib.png
  121. BIN PackageExplorer/Images/MoveFirstHS.png
  122. BIN PackageExplorer/Images/MoveLastHS.png
  123. BIN PackageExplorer/Images/MoveNextHS.png
  124. BIN PackageExplorer/Images/MovePreviousHS.png
  125. BIN PackageExplorer/Images/NewDocumentHS.png
  126. BIN PackageExplorer/Images/NewFolderHS.png
  127. BIN PackageExplorer/Images/NoteHS.png
  128. BIN PackageExplorer/Images/PasteHS.png
  129. BIN PackageExplorer/Images/Properties.png
  130. BIN PackageExplorer/Images/PublishToWebHS.png
  131. BIN PackageExplorer/Images/Script.png
  132. BIN PackageExplorer/Images/Tools.png
  133. BIN PackageExplorer/Images/cog.png
  134. BIN PackageExplorer/Images/folder.png
  135. BIN PackageExplorer/Images/openHS.png
  136. BIN PackageExplorer/Images/packageicon.png
  137. BIN PackageExplorer/Images/saveHS.png
  138. BIN PackageExplorer/Images/search.png
  139. +88 −0 PackageExplorer/Interop/NativeMethods.cs
  140. +102 −0 PackageExplorer/Interop/WindowPlacement.cs
  141. +32 −0 PackageExplorer/Interop/WindowPlacementHelper.cs
  142. +208 −0 PackageExplorer/MainWindow.xaml
  143. +412 −0 PackageExplorer/MainWindow.xaml.cs
  144. +26 −0 PackageExplorer/MefServices/AssemblyFileViewer.cs
  145. +23 −0 PackageExplorer/MefServices/ImageFileViewer.cs
  146. +35 −0 PackageExplorer/MefServices/PackageChooserService.cs
  147. +118 −0 PackageExplorer/MefServices/PackageDownloader.cs
  148. +190 −0 PackageExplorer/MefServices/PluginManager.cs
  149. +78 −0 PackageExplorer/MefServices/SettingsManager.cs
  150. +318 −0 PackageExplorer/MefServices/UIServices.cs
  151. +47 −0 PackageExplorer/MefServices/WindowsCredentialProvider.cs
  152. +16 −0 PackageExplorer/MefServices/WindowsProxyService.cs
  153. +281 −0 PackageExplorer/PackageChooserDialog.xaml
  154. +188 −0 PackageExplorer/PackageChooserDialog.xaml.cs
  155. +357 −0 PackageExplorer/PackageExplorer.csproj
  156. +260 −0 PackageExplorer/PackageMetadataEditor.xaml
  157. +145 −0 PackageExplorer/PackageMetadataEditor.xaml.cs
  158. +350 −0 PackageExplorer/PackageViewer.xaml
  159. +268 −0 PackageExplorer/PackageViewer.xaml.cs
  160. +47 −0 PackageExplorer/PluginManagerDialog.xaml
  161. +27 −0 PackageExplorer/PluginManagerDialog.xaml.cs
  162. +17 −0 PackageExplorer/Properties/AssemblyInfo.cs
  163. +180 −0 PackageExplorer/Properties/Settings.Designer.cs
  164. +45 −0 PackageExplorer/Properties/Settings.settings
  165. +47 −0 PackageExplorer/Properties/app.manifest
  166. +27 −0 PackageExplorer/PublishApiKeyValidationRule.cs
  167. +92 −0 PackageExplorer/PublishPackageWindow.xaml
  168. +30 −0 PackageExplorer/PublishPackageWindow.xaml.cs
  169. +27 −0 PackageExplorer/RenameWindow.xaml
  170. +44 −0 PackageExplorer/RenameWindow.xaml.cs
  171. +288 −0 PackageExplorer/Resources.Designer.cs
  172. +195 −0 PackageExplorer/Resources.resx
  173. +33 −0 PackageExplorer/TemplateStyles.xaml
  174. +25 −0 PackageExplorer/UriHelper.cs
  175. +50 −0 PackageExplorer/app.config
  176. BIN PackageExplorer/nupack.ico
  177. BIN PackageExplorer/nuspec.ico
  178. +212 −0 PackageExplorer/themes/generic.xaml
  179. BIN PackageExplorer_TemporaryKey.pfx
  180. +11 −0 PackageViewModel/Commands/CommandBase.cs
  181. +19 −0 PackageViewModel/Commands/DisabledCommand.cs
  182. +158 −0 PackageViewModel/Commands/RelayCommand.cs
  183. +114 −0 PackageViewModel/Commands/SavePackageCommand.cs
  184. +220 −0 PackageViewModel/Commands/ViewContentCommand.cs
  185. +6 −0 PackageViewModel/Constants.cs
  186. +56 −0 PackageViewModel/EditableFrameworkAssemblyReference.cs
  187. +78 −0 PackageViewModel/EditablePackageDependency.cs
  188. +355 −0 PackageViewModel/EditablePackageMetadata.cs
  189. +104 −0 PackageViewModel/EmptyPackage.cs
  190. +77 −0 PackageViewModel/FileHelper.cs
  191. +11 −0 PackageViewModel/GlobalSuppressions.cs
  192. +184 −0 PackageViewModel/MruManager.cs
  193. +115 −0 PackageViewModel/MruPackageSourceManager.cs
  194. +43 −0 PackageViewModel/PackageChooser/DataServicePackageRepositoryFactory.cs
  195. +17 −0 PackageViewModel/PackageChooser/IQueryContext.cs
  196. +490 −0 PackageViewModel/PackageChooser/PackageChooserViewModel.cs
  197. +111 −0 PackageViewModel/PackageChooser/ShowAllVersionsQueryContext.cs
  198. +73 −0 PackageViewModel/PackageChooser/ShowLatestVersionQueryContext.cs
  199. +72 −0 PackageViewModel/PackageHelper.cs
  200. +118 −0 PackageViewModel/PackagePart/PackageFile.cs
  201. +249 −0 PackageViewModel/PackagePart/PackageFolder.cs
  202. +206 −0 PackageViewModel/PackagePart/PackagePart.cs
  203. +54 −0 PackageViewModel/PackagePart/PathToTreeConverter.cs
  204. +88 −0 PackageViewModel/PackagePart/SortedCollection.cs
  205. +761 −0 PackageViewModel/PackageViewModel.cs
  206. +131 −0 PackageViewModel/PackageViewModel.csproj
  207. +94 −0 PackageViewModel/PackageViewModelFactory.cs
  208. +71 −0 PackageViewModel/PluginManagerViewModel.cs
  209. +11 −0 PackageViewModel/Properties/AssemblyInfo.cs
  210. +170 −0 PackageViewModel/PublishPackage/PublishPackageViewModel.cs
  211. +243 −0 PackageViewModel/Resources.Designer.cs
  212. +180 −0 PackageViewModel/Resources.resx
  213. +41 −0 PackageViewModel/Types/FileContentInfo.cs
  214. +11 −0 PackageViewModel/Types/IMruManager.cs
  215. +12 −0 PackageViewModel/Types/IMruPackageSourceManager.cs
  216. +8 −0 PackageViewModel/Types/IPackageChooser.cs
  217. +8 −0 PackageViewModel/Types/IPackageContentViewerMetadata.cs
  218. +8 −0 PackageViewModel/Types/IPackageDownloader.cs
  219. +8 −0 PackageViewModel/Types/IPackageEditor.cs
  220. +10 −0 PackageViewModel/Types/IPackageViewModelFactory.cs
  221. +13 −0 PackageViewModel/Types/IPluginManager.cs
  222. +22 −0 PackageViewModel/Types/ISettingsManager.cs
  223. +36 −0 PackageViewModel/Types/IUIServices.cs
  224. +36 −0 PackageViewModel/Types/MruItem.cs
  225. +29 −0 PackageViewModel/Types/SourceLanguageType.cs
  226. +17 −0 PackageViewModel/ViewModelBase.cs
  227. +7 −0 Types/IPackageContentViewer.cs
  228. BIN Types/NuGetPackageExplorer.snk
  229. +31 −0 Types/PackageContentViewerMetadataAttribute.cs
  230. +19 −0 Types/Properties/AssemblyInfo.cs
  231. +60 −0 Types/Types.csproj
  232. +9 −0 build.cmd
  233. BIN buildcertificate.pfx
  234. BIN lib/GrayscaleEffect.dll
  235. BIN lib/Ookii.Dialogs.Wpf.dll
  236. BIN lib/SyntaxHighlighting.dll
  237. BIN nupack.ico
  238. BIN nuspec.ico
  239. +1 −0 password.txt
@@ -0,0 +1,19 @@
glob:_ReSharper*
glob:bin
glob:Bin
glob:obj
glob:App_Data
glob:*.user
glob:*.patch
glob:*.hg
glob:*.sln.cache
glob:*.orig
glob:*.suo
glob:*.vs10x
glob:*.vsp
glob:*.psess
glob:*.docstates
glob:TestResults
glob:[Tt]humbs.db
glob:src/Server/Packages/*.nupkg
DebugConstants.cs
@@ -0,0 +1,159 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Go" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<UsingTask
TaskName="GetFirstDirectory"
TaskFactory="CodeTaskFactory"
AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
<ParameterGroup>
<SearchDirectory ParameterType="System.String" Required="true" />
<FirstChildDirectoryName ParameterType="System.String" Output="true" />
</ParameterGroup>
<Task>
<Using Namespace="System" />
<Using Namespace="System.IO" />
<Using Namespace="System.Linq" />
<Code Type="Fragment" Language="cs"><![CDATA[
if (!Directory.Exists(SearchDirectory)) {
Log.LogError("Directory '{0}' does not exist.", SearchDirectory);
return false;
}
var dirInfo = new DirectoryInfo(SearchDirectory);
var firstChild = dirInfo.EnumerateDirectories().FirstOrDefault();
if (firstChild != null) {
FirstChildDirectoryName = firstChild.Name;
return true;
}
else {
Log.LogError("Didn't find any child directory under '{0}'.", SearchDirectory);
return false;
}
]]>
</Code>
</Task>
</UsingTask>
<Choose>
<When Condition="'$(Password)'==''">
<PropertyGroup>
<CertificateFileName>buildcertificate.pfx</CertificateFileName>
<CertificatePassword>nugety</CertificatePassword>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup>
<CertificateFileName>PackageExplorer_TemporaryKey.pfx</CertificateFileName>
<CertificatePassword>$(Password)</CertificatePassword>
</PropertyGroup>
</Otherwise>
</Choose>
<PropertyGroup>
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
<DeploymentUrl Condition="'$(DeploymentUrl)' == ''">http://nuget.codeplex.com/releases/clickonce/</DeploymentUrl>
<ApplicationName>NuGetPackageExplorer</ApplicationName>
<PackageExplorerRoot>$(MSBuildProjectDirectory)\..</PackageExplorerRoot>
<ManifestFilePath>$(MSBuildProjectDirectory)\VisualStyleManifest.xml</ManifestFilePath>
<ManifestToolPath>$(ProgramFiles)\Microsoft SDKs\Windows\v7.0A\Bin\mt.exe</ManifestToolPath>
<MageToolPath>$(ProgramFiles)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\mage.exe</MageToolPath>
<CertificateFilePath>$(PackageExplorerRoot)\$(CertificateFileName)</CertificateFilePath>
<PublisherName>Outercurve Foundation</PublisherName>
<DropDirectory>$(PackageExplorerRoot)\bin</DropDirectory>
<DeployDirectory>$(DropDirectory)\deploy</DeployDirectory>
<PublishedDirectory>$(PackageExplorerRoot)\PackageExplorer\bin\$(Configuration)\app.publish</PublishedDirectory>
<DeploymentManifestFileName>$(ApplicationName).application</DeploymentManifestFileName>
<ExeFileName>$(ApplicationName).exe</ExeFileName>
<AppManifestFileName>$(ExeFileName).manifest</AppManifestFileName>
<ZipExe>$(PackageExplorerRoot)\..\..\7za920\7za.exe</ZipExe>
</PropertyGroup>
<Target Name="Go" DependsOnTargets="CheckTools; BuildAndPublish; ReportFxCopResults; CreateDropDirectories; CopyOutputsToDropDirectories; AddVisualStyleManifestToDeployment; ZipPublishedFiles">
</Target>
<Target Name="CheckTools">
<Error
Condition="!Exists('$(ManifestToolPath)')"
Text="Could not find the resource tool at $(ManifestToolPath). Cannot proceed." />
<Error
Condition="!Exists('$(MageToolPath)')"
Text="Could not find the resource tool at $(MageToolPath). Cannot proceed." />
</Target>
<Target Name="BuildAndPublish">
<RemoveDir Directories="$(PublishedDirectory)" Condition="Exists('$(PublishedDirectory)')" ContinueOnError="True" />
<MSBuild Projects="$(PackageExplorerRoot)\NuGetPackageExplorer.sln" Targets="Publish" />
</Target>
<Target Name="ReportFxCopResults">
<ItemGroup>
<FxCopOutputItems Include="$(PackageExplorerRoot)\**\*.dll.CodeAnalysisLog.xml" />
</ItemGroup>
<Message Text="%(FxCopOutputItems.Identity)" />
</Target>
<Target Name="CreateDropDirectories">
<Message Text="Making the output directories for the compiled output at '$(DropDirectory)'." />
<RemoveDir Directories="$(DropDirectory)" Condition="Exists('$(DropDirectory)')" ContinueOnError="True" />
<MakeDir Directories="$(DropDirectory)" Condition="!Exists('$(DropDirectory)')" />
<RemoveDir Directories="$(DeployDirectory)" Condition="Exists('$(DeployDirectory)')" ContinueOnError="True" />
<MakeDir Directories="$(DeployDirectory)" Condition="!Exists('$(DeployDirectory)')" />
</Target>
<Target Name="CopyOutputsToDropDirectories">
<CreateItem Include="$(PublishedDirectory)\**\*.*">
<Output TaskParameter="Include" ItemName="PublishedFiles" />
</CreateItem>
<Copy SourceFiles="@(PublishedFiles)" DestinationFiles="@(PublishedFiles->'$(DeployDirectory)\%(RecursiveDir)%(FileName)%(Extension)')" />
</Target>
<Target Name="AddVisualStyleManifestToDeployment">
<!-- Rename .deploy files dropping the extension. Required by mage.exe -->
<CreateItem Include="$(DeployDirectory)\**\*.deploy">
<Output TaskParameter="Include" ItemName="DeployedFiles" />
</CreateItem>
<Copy SourceFiles="@(DeployedFiles)" DestinationFiles="@(DeployedFiles->'$(DeployDirectory)\%(RecursiveDir)%(FileName)')">
<Output TaskParameter="CopiedFiles" ItemName="DeployFilesWithoutDeployExtension" />
</Copy>
<Delete Files="@(DeployedFiles)" />
<GetFirstDirectory SearchDirectory="$(DeployDirectory)\Application Files">
<Output TaskParameter="FirstChildDirectoryName" PropertyName="FirstChildDirectoryName" />
</GetFirstDirectory>
<CreateProperty Value="Application Files\$(FirstChildDirectoryName)">
<Output TaskParameter="Value" PropertyName="ManifestCodeBase" />
</CreateProperty>
<CreateProperty Value="$(DeployDirectory)\$(ManifestCodeBase)">
<Output TaskParameter="Value" PropertyName="AppManifestDirectory" />
</CreateProperty>
<!-- run mt.exe -->
<Exec
Command="&quot;$(ManifestToolPath)&quot; -nologo -manifest &quot;$(ManifestFilePath)&quot; -outputresource:$(ExeFileName);#1"
WorkingDirectory="$(AppManifestDirectory)" />
<!-- sign app manifest with mage.exe -->
<Exec
Command="&quot;$(MageToolPath)&quot; -u &quot;$(AppManifestFileName)&quot; -cf &quot;$(CertificateFilePath)&quot; -tr FullTrust -password &quot;$(CertificatePassword)&quot;"
WorkingDirectory="$(AppManifestDirectory)" />
<!-- Add the .deploy extension back -->
<Copy SourceFiles="@(DeployFilesWithoutDeployExtension)" DestinationFiles="@(DeployFilesWithoutDeployExtension->'%(FullPath).deploy')" />
<Delete Files="@(DeployFilesWithoutDeployExtension)" />
<!-- sign deployment manifest with mage.exe -->
<Exec
Command="&quot;$(MageToolPath)&quot; -u &quot;$(DeploymentManifestFileName)&quot; -appc &quot;$(ManifestCodeBase)\$(AppManifestFileName)&quot; -appm &quot;$(AppManifestDirectory)\$(AppManifestFileName)&quot; -cf &quot;$(CertificateFilePath)&quot; -pub &quot;$(PublisherName)&quot; -pu &quot;$(DeploymentUrl)$(DeploymentManifestFileName)&quot; -password &quot;$(CertificatePassword)&quot;"
WorkingDirectory="$(DeployDirectory)" />
</Target>
<Target Name="ZipPublishedFiles">
<Exec Command="&quot;$(ZipExe)&quot; a &quot;$(DropDirectory)\$(ApplicationName).zip&quot;" WorkingDirectory="$(DeployDirectory)" />
</Target>
</Project>
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly manifestVersion="1.0"
xmlns="urn:schemas-microsoft-com:asm.v1"
xmlns:asmv1="urn:schemas-microsoft-com:asm.v1"
xmlns:asmv2="urn:schemas-microsoft-com:asm.v2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</asmv1:assembly>
@@ -0,0 +1,17 @@
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Outercurve Foundation")]
[assembly: AssemblyProduct("NuGet Package Explorer")]
[assembly: AssemblyCopyright("\x00a9 Outercurve Foundation. All rights reserved.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: NeutralResourcesLanguage("en-US")]
[assembly: AssemblyVersion("1.2.0.0")]
[assembly: AssemblyFileVersion("1.2.0.0")]
@@ -0,0 +1,9 @@
using System.Collections.ObjectModel;
using System.IO;
namespace NuGet {
public interface IPackageBuilder : IPackageMetadata {
Collection<IPackageFile> Files { get; }
void Save(Stream stream);
}
}
Oops, something went wrong.

0 comments on commit b698085

Please sign in to comment.