Commit b6aaf9b7 authored by Hirsch Singhal's avatar Hirsch Singhal Committed by GitHub
Browse files

Setup files for internal CI server and NuGet package creation (#247)

* Create signConfig.xml

* Create DelaySign.extcomp

* Add DelaySign to NET

* Add DelaySign to UWP

* Testing INPATHROOT and full path for codesign

* Update signConfig.xml

* Update signConfig.xml

* Create WindowsDevicePortalWrapper.nuspec

* Changing to unsigned files

* Knowing my coworkers aliases

* Temp test for signing.

* Add StrongNameSigning.

* DelaySign

* New snk

* It's sourceS not source

* Update for XES Setup

* Authenticode Only

* .NET doesn't do sub directories ok

* Set nuspec relative to output

* Wrong folder for nuspec

* Copy also copies folders

* Update required fields in nuspec

* Correct names for signing

* Delete DelaySign.extcomp

* Removing extcomp

* Remove XEF delay sign

* Remove XEFDelay sign from net

* Fix blank version.
parent d3db06e2
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
    <metadata>
        <id>WindowsDevicePortalWrapper</id>
        <version>0.0.0.0</version>
        <title>Windows Device Portal Wrapper</title>
        <authors>Windows Device Portal</authors>
        <owners>Microsoft; Windows Device Portal</owners>
        <licenseUrl>https://github.com/Microsoft/WindowsDevicePortalWrapper/blob/master/License.txt</licenseUrl>
        <projectUrl>https://github.com/microsoft/windowsdeviceportalwrapper</projectUrl>
        <requireLicenseAcceptance>false</requireLicenseAcceptance>
        <description>The Device Portal Wrapper is a library that allows a client application to connect to a Device Portal instance on a Windows 10 device and call the REST APIs presented.  This allows an application to e.g. install apps, reboot the device, or get performance metrics.  

See the GitHub repo at https://github.com/microsoft/windowsdeviceportalwrapper</description>
        <summary>Remote control of Windows 10 device for developers and device labs.</summary>
        <releaseNotes>[FILL IN BEFORE RELEASE]</releaseNotes>
        <copyright>Microsoft Corp</copyright>
        <language />
        <tags>WDP Windows 10 Device Portal</tags>
    </metadata>
	<files>
		<file src="WindowsDevicePortalWrapper.dll" target="lib\net452" />
		<file src="release\AnyCPU\WindowsDevicePortalWrapper.pdb" target="lib\net452" />
		<file src="release\AnyCPU\WindowsDevicePortalWrapper.xml" target="lib\net452" />
		           
		<file src="WindowsDevicePortalWrapper.UniversalWindows.dll" target="lib\uap10.0" />
		<file src="release\AnyCPU\WindowsDevicePortalWrapper.UniversalWindows\WindowsDevicePortalWrapper.UniversalWindows.pdb" target="lib\uap10.0" />
		<file src="release\AnyCPU\WindowsDevicePortalWrapper.UniversalWindows\WindowsDevicePortalWrapper.UniversalWindows.XML" target="lib\uap10.0" />
    </files>
</package>
+9 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8" ?>
<SignConfigXML>

  <job platform="" configuration="Release" dest="" jobname="WDPW Sign" approvers="hirsin;aaronste">
    <file src="__INPATHROOT__\WindowsDevicePortalWrapper.dll" signType="Authenticode" dest="__OUTPATHROOT__\WindowsDevicePortalWrapper.dll" />
    <file src="__INPATHROOT__\WindowsDevicePortalWrapper.UniversalWindows\WindowsDevicePortalWrapper.UniversalWindows.dll" signType="Authenticode" dest="__OUTPATHROOT__\WindowsDevicePortalWrapper.UniversalWindows.dll" />
  </job>

</SignConfigXML>
+596 B

File added.

No diff preview for this file type.

+11 −3
Original line number Diff line number Diff line
@@ -28,8 +28,6 @@
    <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <DocumentationFile>
    </DocumentationFile>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <PlatformTarget>AnyCPU</PlatformTarget>
@@ -107,8 +105,18 @@
    <UseVSHostingProcess>false</UseVSHostingProcess>
    <ErrorReport>prompt</ErrorReport>
  </PropertyGroup>
  <PropertyGroup>
    <SignAssembly>true</SignAssembly>
  </PropertyGroup>
  <PropertyGroup>
    <DelaySign>false</DelaySign>
  </PropertyGroup>
  <PropertyGroup>
    <AssemblyOriginatorKeyFile>DevicePortalWrapperUniversal.snk</AssemblyOriginatorKeyFile>
  </PropertyGroup>
  <ItemGroup>
    <!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
    <None Include="DevicePortalWrapperUniversal.snk" />
    <None Include="project.json" />
  </ItemGroup>
  <ItemGroup>
+8 −2
Original line number Diff line number Diff line

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
# Visual Studio 15
VisualStudioVersion = 15.0.26403.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsDevicePortalWrapper", "WindowsDevicePortalWrapper\WindowsDevicePortalWrapper.csproj", "{6A9E862E-5CDA-4A8A-BBC0-56E9EA921E39}"
EndProject
@@ -25,6 +25,12 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XboxWdpDriver", "..\Samples
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleWdpClient", "..\Samples\SampleWdpClient\SampleWdpClient.csproj", "{7E0481EB-514A-4292-AD1D-3A3EAF38D359}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Utilities", "Utilities", "{0A85BE2B-52BE-4ACD-A332-991B3B81ED49}"
	ProjectSection(SolutionItems) = preProject
		Utilities\signConfig.xml = Utilities\signConfig.xml
		Utilities\WindowsDevicePortalWrapper.nuspec = Utilities\WindowsDevicePortalWrapper.nuspec
	EndProjectSection
EndProject
Global
	GlobalSection(SharedMSBuildProjectFiles) = preSolution
		WindowsDevicePortalWrapper.Shared\WindowsDevicePortalWrapper.Shared.projitems*{4fc7c762-adbe-4a0a-882d-10771cd8bd55}*SharedItemsImports = 4
Loading