This commit is contained in:
Tomas Matousek 2016-08-18 14:28:17 -07:00
Родитель 5ca76ea98f
Коммит 3c0809be02
6 изменённых файлов: 48 добавлений и 33 удалений

Просмотреть файл

@ -14,6 +14,7 @@
<add key="myget.org dotnet-buildtools" value="https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json" />
<add key="myget.org dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
<add key="myget.org roslyn-master-nightly" value="https://dotnet.myget.org/F/roslyn-master-nightly/api/v3/index.json" />
<add key="myget.org roslyn-tools" value="https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json" />
</packageSources>
<packageRestore>
<!-- Automated package restore in VS does not work at this time with

Просмотреть файл

@ -1,32 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup>
<Import Project="..\Targets\Dependencies.props"/>
<Import Project="..\Toolset\Layout.props" />
<Import Project="..\Toolset\MicroBuild.props" />
</ImportGroup>
<ItemGroup>
<AssembliesToSign Include="$(OutDirBase)\Microsoft.DiaSymReader\NetFX20\Microsoft.DiaSymReader.dll">
<AuthenticodeCertificateName>MicrosoftSHA1Win8WinBlue</AuthenticodeCertificateName>
</AssembliesToSign>
<AssembliesToSign Include="$(OutDirBase)\Microsoft.DiaSymReader\Portable\Microsoft.DiaSymReader.dll">
<AuthenticodeCertificateName>WindowsPhone623</AuthenticodeCertificateName>
</AssembliesToSign>
</ItemGroup>
<Target Name="Build">
<ItemGroup>
<AssembliesToSign>
<Authenticode>%(AssembliesToSign.AuthenticodeCertificateName)</Authenticode>
<StrongName>72</StrongName>
</AssembliesToSign>
</ItemGroup>
<Message Text="Signing using authenticode certificate '%(AssembliesToSign.AuthenticodeCertificateName)' for @(AssembliesToSign)"/>
<SignFiles Files="@(AssembliesToSign)"
BinariesDirectory="$(OutDirBase)"
IntermediatesDirectory="$(IntermediateOutputPath)"
Type="$(SignType)" />
</Target>
</Project>

Просмотреть файл

@ -0,0 +1,18 @@
{
"sign": [
{
"certificate": "MicrosoftSHA1Win8WinBlue",
"strongName": "MsSharedLib72",
"values": [
"Microsoft.DiaSymReader/NetFX20/Microsoft.DiaSymReader.dll"
]
},
{
"certificate": "WindowsPhone623",
"strongName": "MsSharedLib72",
"values": [
"Microsoft.DiaSymReader/Portable/Microsoft.DiaSymReader.dll"
]
}
]
}

Просмотреть файл

@ -1,6 +1,7 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MicroBuildCoreVersion>0.2.0</MicroBuildCoreVersion>
<RoslynToolsMicrosoftSignToolVersion>0.2.0-beta</RoslynToolsMicrosoftSignToolVersion>
<ToolsetCompilerPackageVersion>2.0.0-beta3-60616-03</ToolsetCompilerPackageVersion>
<XUnitConsoleRunnerPackageVersion>2.1.0</XUnitConsoleRunnerPackageVersion>

Просмотреть файл

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
</PropertyGroup>
<ImportGroup>
<Import Project="..\Targets\Dependencies.props"/>
<Import Project="Layout.props" />
<Import Project="NuGet.props"/>
<Import Project="$(NuGetPackageRoot)\MicroBuild.Core\$(MicroBuildCoreVersion)\build\MicroBuild.Core.props" />
<Import Project="$(NuGetPackageRoot)\MicroBuild.Core\$(MicroBuildCoreVersion)\build\MicroBuild.Core.targets" />
</ImportGroup>
<ItemGroup>
<SignToolArgs Include='-nugetPackagesPath "$(NugetPackageRoot)"' />
<SignToolArgs Include='-intermediateOutputPath "$(IntermediateOutputPath)"' />
<SignToolArgs Include='-msbuildPath "$(MSBuildBinPath)\msbuild.exe"' />
<SignToolArgs Include='-config "$(MSBuildThisFileDirectory)..\Signing\SignToolData.json"' />
<SignToolArgs Include='"$(OutDirBase)"' />
</ItemGroup>
<Target Name="Build">
<Exec Command="$(NuGetPackageRoot)\RoslynTools.Microsoft.SignTool\$(RoslynToolsMicrosoftSignToolVersion)\tools\SignTool.exe @(SignToolArgs, ' ')" />
</Target>
</Project>

Просмотреть файл

@ -2,7 +2,8 @@
"dependencies": {
"MicroBuild.Core": "0.2.0",
"Microsoft.Net.Compilers": "2.0.0-beta3-60616-03",
"xunit.runner.console": "2.1.0"
"xunit.runner.console": "2.1.0",
"RoslynTools.Microsoft.SignTool": "0.2.0-beta"
},
"frameworks": {
"net46": {}