Merge pull request #2259 from mellinoe/2.0-toolset-2

Build managed projects and tests with csproj's
This commit is contained in:
Eric Mellino 2017-05-03 18:03:41 -07:00 коммит произвёл GitHub
Родитель 2f3a31f0e4 22744ced21
Коммит 3c952f2ca9
60 изменённых файлов: 386 добавлений и 4338 удалений

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

@ -53,6 +53,9 @@
<Message Importance="High" Text="Restoring all packages..." />
<Exec Command="$(DnuRestoreCommand) %(DnuRestoreDirs.AdditionalArgs) %(DnuRestoreDirs.Identity)" StandardOutputImportance="Low" CustomErrorRegularExpression="^Unable to locate .*" />
<!-- SDK project restore. Eventually this should be the only group being restored. -->
<Exec Condition="'@(SdkRestoreProjects)' != ''" Command="$(SdkRestoreCommand) &quot;%(SdkRestoreProjects.FullPath)&quot;" StandardOutputImportance="Low" />
</Target>
<!-- Task from buildtools that uses lockfiles to validate that packages restored are exactly what were specified. -->

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

@ -120,6 +120,9 @@
<AdditionalArgs>%(AdditionalArgs) --disable-parallel --infer-runtimes</AdditionalArgs>
</DnuRestoreDirs>
<DnuRestoreDirs Include="$(MSBuildThisFileDirectory)src/pkg/deps" />
<SdkRestoreProjects Include="$(MSBuildThisFileDirectory)src\managed\Microsoft.DotNet.PlatformAbstractions\Microsoft.DotNet.PlatformAbstractions.csproj" />
<SdkRestoreProjects Include="$(MSBuildThisFileDirectory)src\managed\Microsoft.Extensions.DependencyModel\Microsoft.Extensions.DependencyModel.csproj" />
</ItemGroup>
<PropertyGroup>
@ -129,11 +132,13 @@
<DotnetSdkToolCommand Condition="'$(DotnetSdkToolCommand)'=='' and '$(OsEnvironment)'=='Unix'">$(DotnetSdkPath)dotnet</DotnetSdkToolCommand>
<OverrideToolHost Condition="'$(MSBuildRuntimeType)' == 'Core'">$(DotnetToolCommand)</OverrideToolHost>
<DnuRestoreSource>@(DnuSourceList -> '--source %(Identity)', ' ')</DnuRestoreSource>
<DnuRestoreCommand>"$(DotnetToolCommand)"</DnuRestoreCommand>
<DnuRestorePrefix Condition="'$(OsEnvironment)' != 'Windows_NT'">DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1</DnuRestorePrefix>
<DnuRestoreCommand>$(DnuRestorePrefix) "$(DotnetToolCommand)"</DnuRestoreCommand>
<DnuRestoreCommand>$(DnuRestoreCommand) restore</DnuRestoreCommand>
<DnuRestoreCommand>$(DnuRestoreCommand) --packages "$(PackagesDir.TrimEnd('/\'.ToCharArray()))" $(DnuRestoreSource)</DnuRestoreCommand>
<DnuRestoreCommand Condition="'$(LockDependencies)' == 'true'">$(DnuRestoreCommand) --lock</DnuRestoreCommand>
<SdkRestoreCommand>$(DotnetSdkToolCommand) restore --packages "$(PackagesDir.TrimEnd('/\'.ToCharArray()))" $(DnuRestoreSource)</SdkRestoreCommand>
</PropertyGroup>
<PropertyGroup Condition="'$(BuildAllProjects)'=='true'">

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

@ -16,6 +16,10 @@ set PROJECT_JSON_FILE=%PROJECT_JSON_PATH%\project.json
set PROJECT_JSON_CONTENTS={ "dependencies": { "Microsoft.DotNet.BuildTools": "%BUILDTOOLS_VERSION%" }, "frameworks": { "netcoreapp1.0": { } } }
set BUILD_TOOLS_SEMAPHORE=%PROJECT_JSON_PATH%\init-tools.completed
set DUMMY_GLOBAL_JSON_PATH=%PACKAGES_DIR%global.json
:: We do not want to run the first-time experience.
set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
:: if force option is specified then clean the tool runtime and build tools package directory to force it to get recreated
if [%1]==[force] (
if exist "%TOOLRUNTIME_DIR%" rmdir /S /Q "%TOOLRUNTIME_DIR%"

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

@ -18,6 +18,10 @@ __PROJECT_JSON_FILE=$__PROJECT_JSON_PATH/project.json
__PROJECT_JSON_CONTENTS="{ \"dependencies\": { \"Microsoft.DotNet.BuildTools\": \"$__BUILD_TOOLS_PACKAGE_VERSION\" }, \"frameworks\": { \"netcoreapp1.0\": { } } }"
__INIT_TOOLS_DONE_MARKER=$__PROJECT_JSON_PATH/done
__DUMMY_GLOBAL_JSON_PATH=$__PACKAGES_DIR/global.json
# We do not want to run the first-time experience.
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
# Extended version of platform detection logic from dotnet/cli/scripts/obtain/dotnet-install.sh 16692fc
get_current_linux_name() {
# Detect Distro

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

@ -84,7 +84,7 @@ platformList.each { platform ->
Utilities.standardJobSetup(newJob, project, isPR, "*/${branch}")
if (!(os == 'Windows_NT' && architecture == 'arm')) {
Utilities.addXUnitDotNETResults(newJob, '**/*-testResults.xml')
Utilities.addMSTestResults(newJob, '**/*-testResults.trx')
}
if (os == 'Ubuntu16.04' && architecture == 'arm') {

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

@ -12,5 +12,7 @@ if not defined VisualStudioVersion (
)
:Run
:: We do not want to run the first-time experience.
set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
powershell -NoProfile -ExecutionPolicy unrestricted -Command "%~dp0run.ps1 -- %*"
exit /b %ERRORLEVEL%

2
run.sh
Просмотреть файл

@ -17,5 +17,7 @@ __dotnet=$__toolsLocalPath/dotnetcli/dotnet
cp -fR $__scriptpath/tools-override/* $__toolsLocalPath
# We do not want to run the first-time experience.
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
$__dotnet $__toolsLocalPath/run.exe $*
exit $?

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

@ -0,0 +1,31 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>Abstractions for making code that uses file system and environment testable.</Description>
<VersionPrefix>2.0.0</VersionPrefix>
<TargetFrameworks>net45;netstandard1.3</TargetFrameworks>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<AssemblyOriginatorKeyFile>../../../tools-local/setuptools/Key.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>git://github.com/dotnet/core-setup</RepositoryUrl>
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<Reference Include="Microsoft.CSharp" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
<PackageReference Include="System.AppContext" Version="4.1.0" />
<PackageReference Include="System.Collections" Version="4.0.11" />
<PackageReference Include="System.IO" Version="4.1.0" />
<PackageReference Include="System.IO.FileSystem" Version="4.0.1" />
<PackageReference Include="System.Reflection.TypeExtensions" Version="4.1.0" />
<PackageReference Include="System.Runtime.Extensions" Version="4.1.0" />
<PackageReference Include="System.Runtime.InteropServices" Version="4.1.0" />
<PackageReference Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.0.0" />
</ItemGroup>
</Project>

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

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0.25420" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0.25420</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>2ccdcd52-50d0-47aa-8f37-15a1ef3ec04a</ProjectGuid>
<RootNamespace>Microsoft.DotNet.PlatformAbstractions</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin</OutputPath>
</PropertyGroup>
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>

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

@ -1,30 +0,0 @@
{
"description": "Abstractions for making code that uses file system and environment testable.",
"version": "2.0.0-*",
"buildOptions": {
"warningsAsErrors": true,
"keyFile": "../../../tools-local/setuptools/Key.snk",
"allowUnsafe": true
},
"frameworks": {
"net45": {},
"netstandard1.3": {
"dependencies": {
"System.AppContext": "4.1.0",
"System.Collections": "4.0.11",
"System.IO": "4.1.0",
"System.IO.FileSystem": "4.0.1",
"System.Reflection.TypeExtensions": "4.1.0",
"System.Runtime.Extensions": "4.1.0",
"System.Runtime.InteropServices": "4.1.0",
"System.Runtime.InteropServices.RuntimeInformation": "4.0.0"
}
}
},
"packOptions": {
"repository": {
"type": "git",
"url": "git://github.com/dotnet/core-setup"
}
}
}

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

@ -0,0 +1,34 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>Abstractions for reading `.deps` files.</Description>
<VersionPrefix>2.0.0</VersionPrefix>
<TargetFrameworks>net451;netstandard1.3;netstandard1.6</TargetFrameworks>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<AssemblyOriginatorKeyFile>../../../tools-local/setuptools/Key.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>git://github.com/dotnet/core-setup</RepositoryUrl>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.3' Or '$(TargetFramework)' == 'netstandard1.6' ">$(PackageTargetFallback);portable-net45+wp80+win8+wpa81+dnxcore50</PackageTargetFallback>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Microsoft.DotNet.PlatformAbstractions\Microsoft.DotNet.PlatformAbstractions.csproj" />
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net451' ">
<Reference Include="Microsoft.CSharp" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' Or '$(TargetFramework)' == 'netstandard1.6' ">
<PackageReference Include="System.Diagnostics.Debug" Version="4.0.11" />
<PackageReference Include="System.Dynamic.Runtime" Version="4.0.11" />
<PackageReference Include="System.Linq" Version="4.1.0" />
<PackageReference Include="System.Diagnostics.Debug" Version="4.0.11" />
<PackageReference Include="System.Dynamic.Runtime" Version="4.0.11" />
<PackageReference Include="System.Linq" Version="4.1.0" />
</ItemGroup>
</Project>

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

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0.23107" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0.23107</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>688870c8-9843-4f9e-8576-d39290ad0f25</ProjectGuid>
<RootNamespace>Microsoft.Extensions.DependencyModel</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\..\Bin\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\..\Bin\$(MSBuildProjectName)</OutputPath>
</PropertyGroup>
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>

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

@ -1,39 +0,0 @@
{
"description": "Abstractions for reading `.deps` files.",
"version": "2.0.0-*",
"buildOptions": {
"warningsAsErrors": true,
"keyFile": "../../../tools-local/setuptools/Key.snk"
},
"dependencies": {
"Microsoft.DotNet.PlatformAbstractions": {
"target": "project"
},
"Newtonsoft.Json": "9.0.1"
},
"frameworks": {
"net451": {},
"netstandard1.3": {
"imports": "portable-net45+wp80+win8+wpa81+dnxcore50",
"dependencies": {
"System.Diagnostics.Debug": "4.0.11",
"System.Dynamic.Runtime": "4.0.11",
"System.Linq": "4.1.0"
}
},
"netstandard1.6": {
"imports": "portable-net45+wp80+win8+wpa81+dnxcore50",
"dependencies": {
"System.Diagnostics.Debug": "4.0.11",
"System.Dynamic.Runtime": "4.0.11",
"System.Linq": "4.1.0"
}
}
},
"packOptions": {
"repository": {
"type": "git",
"url": "git://github.com/dotnet/core-setup"
}
}
}

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

@ -10,21 +10,21 @@
<MakeDir Condition="!Exists('$(pOutDir)')" Directories="$(pOutDir)" />
<PropertyGroup>
<Args>--build-base-path $(IntermediateOutputForPackaging) --configuration $(ConfigurationGroup)</Args>
<Args>/p:Configuration=$(ConfigurationGroup)</Args>
</PropertyGroup>
<ItemGroup>
<PackageProjects Include="$(MSBuildThisFileDirectory)Microsoft.DotNet.PlatformAbstractions/project.json" />
<PackageProjects Include="$(MSBuildThisFileDirectory)Microsoft.Extensions.DependencyModel/project.json" />
<PackageProjects Include="$(MSBuildThisFileDirectory)Microsoft.DotNet.PlatformAbstractions/Microsoft.DotNet.PlatformAbstractions.csproj" />
<PackageProjects Include="$(MSBuildThisFileDirectory)Microsoft.Extensions.DependencyModel/Microsoft.Extensions.DependencyModel.csproj" />
</ItemGroup>
<GetBuildArgsByFrameworks
OSGroup="$(OSGroup)"
ProjectJsonPaths="@(PackageProjects)">
ProjectPaths="@(PackageProjects)">
<Output ItemName="buildCmdArgs" TaskParameter="BuildArgs" />
</GetBuildArgsByFrameworks>
<Exec Command="$(DotnetToolCommand) build $(Args) %(buildCmdArgs.Identity)"
<Exec Command="$(DotnetSdkToolCommand) build $(Args) %(buildCmdArgs.Identity)"
EnvironmentVariables="NUGET_PACKAGES=$(PackagesDir)" />
</Target>
</Project>

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

@ -160,18 +160,18 @@
<Target Name="GenerateNugetPackages" DependsOnTargets="InitPackage">
<ItemGroup>
<PackageProjects Include="$(ProjectDir)src\managed\Microsoft.DotNet.PlatformAbstractions\project.json" />
<PackageProjects Include="$(ProjectDir)src\managed\Microsoft.Extensions.DependencyModel\project.json" />
<PackageProjects Condition="'$(OS)' == 'Windows'" Include="$(ProjectDir)src\managed\Microsoft.DotNet.PlatformAbstractions\Microsoft.DotNet.PlatformAbstractions.csproj" />
<PackageProjects Condition="'$(OS)' == 'Windows'" Include="$(ProjectDir)src\managed\Microsoft.Extensions.DependencyModel\Microsoft.Extensions.DependencyModel.csproj" />
</ItemGroup>
<PropertyGroup>
<BuildBasePathArg>--build-base-path $(IntermediateOutputForPackaging)</BuildBasePathArg>
<OutputArg>--output $(PackagesOutDir)</OutputArg>
<ConfigArg>--configuration $(Configuration)</ConfigArg>
<ConfigArg>--configuration $(ConfigurationGroup)</ConfigArg>
<VersionSuffixArg>--version-suffix $(VersionSuffix)</VersionSuffixArg>
</PropertyGroup>
<Exec Command="$(DotnetToolCommand) pack %(PackageProjects.Identity) --no-build --serviceable $(BuildBasePathArg) $(OutputArg) $(ConfigArg) $(VersionSuffixArg)" />
<Exec Command="$(DotnetSdkToolCommand) pack %(PackageProjects.Identity) --no-build --serviceable $(OutputArg) $(ConfigArg) $(VersionSuffixArg)"
Condition="'@(PackageProjects)' != ''" />
</Target>
</Project>

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

@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<OutputType>Exe</OutputType>
<RuntimeFrameworkVersion>$(MNAVersion)</RuntimeFrameworkVersion>
</PropertyGroup>
</Project>

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

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0.25123" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0.25123</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>e484fcd8-e438-4559-a745-e58574263bce</ProjectGuid>
<RootNamespace>LightupClient</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
</PropertyGroup>
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>

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

@ -1,17 +0,0 @@
{
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {},
"frameworks": {
"netcoreapp2.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "2.0.0-*"
}
}
}
}
}

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

@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<OutputType>Library</OutputType>
<RuntimeFrameworkVersion>$(MNAVersion)</RuntimeFrameworkVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
</ItemGroup>
</Project>

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

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0.25123" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0.25123</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>e484fcd8-e438-4559-a745-e58574263bcf</ProjectGuid>
<RootNamespace>LightupLib</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
</PropertyGroup>
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>

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

@ -1,386 +0,0 @@
{
"buildOptions": {
"emitEntryPoint": false
},
"dependencies": {},
"frameworks": {
"netcoreapp2.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "2.0.0-*"
},
"Newtonsoft.Json": "9.0.1-beta1",
"Microsoft.CodeAnalysis.Analyzers": {
"version": "1.1.0",
"exclude": "all"
},
"Microsoft.CSharp": {
"version": "4.3.0",
"exclude": "all"
},
"Microsoft.DiaSymReader.Native": {
"version": "1.4.0",
"exclude": "all"
},
"Microsoft.VisualBasic": {
"version": "10.1.0",
"exclude": "all"
},
"Microsoft.Win32.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"Microsoft.Win32.Registry": {
"version": "4.3.0",
"exclude": "all"
},
"System.AppContext": {
"version": "4.3.0",
"exclude": "all"
},
"System.Buffers": {
"version": "4.3.0",
"exclude": "all"
},
"System.Collections": {
"version": "4.3.0",
"exclude": "all"
},
"System.Collections.Concurrent": {
"version": "4.3.0",
"exclude": "all"
},
"System.Collections.Immutable": {
"version": "1.3.0",
"exclude": "all"
},
"System.ComponentModel": {
"version": "4.3.0",
"exclude": "all"
},
"System.ComponentModel.Annotations": {
"version": "4.3.0",
"exclude": "all"
},
"System.Console": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.Debug": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.DiagnosticSource": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.FileVersionInfo": {
"version": "4.0.0",
"exclude": "all"
},
"System.Diagnostics.Process": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.StackTrace": {
"version": "4.0.1",
"exclude": "all"
},
"System.Diagnostics.Tools": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.Tracing": {
"version": "4.3.0",
"exclude": "all"
},
"System.Dynamic.Runtime": {
"version": "4.3.0",
"exclude": "all"
},
"System.Globalization": {
"version": "4.3.0",
"exclude": "all"
},
"System.Globalization.Calendars": {
"version": "4.3.0",
"exclude": "all"
},
"System.Globalization.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.Compression.ZipFile": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.FileSystem": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.FileSystem.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.FileSystem.Watcher": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.MemoryMappedFiles": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.UnmanagedMemoryStream": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq.Expressions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq.Parallel": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq.Queryable": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.NameResolution": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Requests": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Sockets": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.WebHeaderCollection": {
"version": "4.3.0",
"exclude": "all"
},
"System.Numerics.Vectors": {
"version": "4.3.0",
"exclude": "all"
},
"System.ObjectModel": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.DispatchProxy": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Emit": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Emit.ILGeneration": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Emit.Lightweight": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Metadata": {
"version": "1.4.1",
"exclude": "all"
},
"System.Reflection.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.TypeExtensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Resources.Reader": {
"version": "4.3.0",
"exclude": "all"
},
"System.Resources.ResourceManager": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Handles": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.InteropServices": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.InteropServices.RuntimeInformation": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Loader": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Numerics": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Claims": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Algorithms": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Cng": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Csp": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Encoding": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.X509Certificates": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Principal": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Principal.Windows": {
"version": "4.3.0",
"exclude": "all"
},
"System.Text.Encoding": {
"version": "4.3.0",
"exclude": "all"
},
"System.Text.Encoding.CodePages": {
"version": "4.0.1",
"exclude": "all"
},
"System.Text.Encoding.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Text.RegularExpressions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Overlapped": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Tasks": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Tasks.Dataflow": {
"version": "4.7.0",
"exclude": "all"
},
"System.Threading.Tasks.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Tasks.Parallel": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Thread": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.ThreadPool": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Timer": {
"version": "4.3.0",
"exclude": "all"
},
"System.Xml.ReaderWriter": {
"version": "4.3.0",
"exclude": "all"
},
"System.Xml.XDocument": {
"version": "4.3.0",
"exclude": "all"
},
"System.Xml.XmlDocument": {
"version": "4.0.1",
"exclude": "all"
},
"System.Xml.XPath": {
"version": "4.0.1",
"exclude": "all"
},
"System.Xml.XPath.XDocument": {
"version": "4.0.1",
"exclude": "all"
}
}
}
}
}

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

@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<OutputType>Exe</OutputType>
<RuntimeFrameworkVersion>$(MNAVersion)</RuntimeFrameworkVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
</ItemGroup>
</Project>

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

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0.25123" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0.25123</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>e484fcd8-e438-4559-a745-e58574263abd</ProjectGuid>
<RootNamespace>PortableApp</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
</PropertyGroup>
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>

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

@ -1,386 +0,0 @@
{
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {},
"frameworks": {
"netcoreapp2.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "2.0.0-*"
},
"Newtonsoft.Json": "9.0.1-beta1",
"Microsoft.CodeAnalysis.Analyzers": {
"version": "1.1.0",
"exclude": "all"
},
"Microsoft.CSharp": {
"version": "4.3.0",
"exclude": "all"
},
"Microsoft.DiaSymReader.Native": {
"version": "1.4.0",
"exclude": "all"
},
"Microsoft.VisualBasic": {
"version": "10.1.0",
"exclude": "all"
},
"Microsoft.Win32.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"Microsoft.Win32.Registry": {
"version": "4.3.0",
"exclude": "all"
},
"System.AppContext": {
"version": "4.3.0",
"exclude": "all"
},
"System.Buffers": {
"version": "4.3.0",
"exclude": "all"
},
"System.Collections": {
"version": "4.3.0",
"exclude": "all"
},
"System.Collections.Concurrent": {
"version": "4.3.0",
"exclude": "all"
},
"System.Collections.Immutable": {
"version": "1.3.0",
"exclude": "all"
},
"System.ComponentModel": {
"version": "4.3.0",
"exclude": "all"
},
"System.ComponentModel.Annotations": {
"version": "4.3.0",
"exclude": "all"
},
"System.Console": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.Debug": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.DiagnosticSource": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.FileVersionInfo": {
"version": "4.0.0",
"exclude": "all"
},
"System.Diagnostics.Process": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.StackTrace": {
"version": "4.0.1",
"exclude": "all"
},
"System.Diagnostics.Tools": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.Tracing": {
"version": "4.3.0",
"exclude": "all"
},
"System.Dynamic.Runtime": {
"version": "4.3.0",
"exclude": "all"
},
"System.Globalization": {
"version": "4.3.0",
"exclude": "all"
},
"System.Globalization.Calendars": {
"version": "4.3.0",
"exclude": "all"
},
"System.Globalization.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.Compression.ZipFile": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.FileSystem": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.FileSystem.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.FileSystem.Watcher": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.MemoryMappedFiles": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.UnmanagedMemoryStream": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq.Expressions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq.Parallel": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq.Queryable": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.NameResolution": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Requests": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Sockets": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.WebHeaderCollection": {
"version": "4.3.0",
"exclude": "all"
},
"System.Numerics.Vectors": {
"version": "4.3.0",
"exclude": "all"
},
"System.ObjectModel": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.DispatchProxy": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Emit": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Emit.ILGeneration": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Emit.Lightweight": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Metadata": {
"version": "1.4.1",
"exclude": "all"
},
"System.Reflection.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.TypeExtensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Resources.Reader": {
"version": "4.3.0",
"exclude": "all"
},
"System.Resources.ResourceManager": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Handles": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.InteropServices": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.InteropServices.RuntimeInformation": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Loader": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Numerics": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Claims": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Algorithms": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Cng": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Csp": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Encoding": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.X509Certificates": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Principal": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Principal.Windows": {
"version": "4.3.0",
"exclude": "all"
},
"System.Text.Encoding": {
"version": "4.3.0",
"exclude": "all"
},
"System.Text.Encoding.CodePages": {
"version": "4.0.1",
"exclude": "all"
},
"System.Text.Encoding.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Text.RegularExpressions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Overlapped": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Tasks": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Tasks.Dataflow": {
"version": "4.7.0",
"exclude": "all"
},
"System.Threading.Tasks.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Tasks.Parallel": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Thread": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.ThreadPool": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Timer": {
"version": "4.3.0",
"exclude": "all"
},
"System.Xml.ReaderWriter": {
"version": "4.3.0",
"exclude": "all"
},
"System.Xml.XDocument": {
"version": "4.3.0",
"exclude": "all"
},
"System.Xml.XmlDocument": {
"version": "4.0.1",
"exclude": "all"
},
"System.Xml.XPath": {
"version": "4.0.1",
"exclude": "all"
},
"System.Xml.XPath.XDocument": {
"version": "4.0.1",
"exclude": "all"
}
}
}
}
}

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

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0.25123" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0.25123</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>e484fcd8-e438-4559-a745-e58574263abd</ProjectGuid>
<RootNamespace>PortableApp</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
</PropertyGroup>
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>

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

@ -0,0 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<PackageTargetFallback>$(PackageTargetFallback);dotnet5.4;portable-net451+win8</PackageTargetFallback>
<RuntimeFrameworkVersion>$(MNAVersion)</RuntimeFrameworkVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0-preview-20170106-08" />
<PackageReference Include="xunit" Version="2.1.0" />
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
<PackageReference Include="xunit.netcore.extensions" Version="1.0.0-prerelease-00206" />
<PackageReference Include="dotnet-test-xunit" Version="1.0.0-rc2-192208-24" />
</ItemGroup>
</Project>

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

@ -1,393 +0,0 @@
{
"testRunner": "xunit",
"dependencies": {},
"frameworks": {
"netcoreapp2.0": {
"imports": [
"dotnet5.4",
"portable-net451+win8"
],
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "2.0.0-*"
},
"Newtonsoft.Json": "9.0.1-beta1",
"xunit": "2.1.0",
"xunit.netcore.extensions": "1.0.0-prerelease-00206",
"dotnet-test-xunit": "1.0.0-rc2-192208-24",
"Microsoft.CodeAnalysis.Analyzers": {
"version": "1.1.0",
"exclude": "all"
},
"Microsoft.CSharp": {
"version": "4.3.0",
"exclude": "all"
},
"Microsoft.DiaSymReader.Native": {
"version": "1.4.0",
"exclude": "all"
},
"Microsoft.VisualBasic": {
"version": "10.1.0",
"exclude": "all"
},
"Microsoft.Win32.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"Microsoft.Win32.Registry": {
"version": "4.3.0",
"exclude": "all"
},
"System.AppContext": {
"version": "4.3.0",
"exclude": "all"
},
"System.Buffers": {
"version": "4.3.0",
"exclude": "all"
},
"System.Collections": {
"version": "4.3.0",
"exclude": "all"
},
"System.Collections.Concurrent": {
"version": "4.3.0",
"exclude": "all"
},
"System.Collections.Immutable": {
"version": "1.3.0",
"exclude": "all"
},
"System.ComponentModel": {
"version": "4.3.0",
"exclude": "all"
},
"System.ComponentModel.Annotations": {
"version": "4.3.0",
"exclude": "all"
},
"System.Console": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.Debug": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.DiagnosticSource": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.FileVersionInfo": {
"version": "4.0.0",
"exclude": "all"
},
"System.Diagnostics.Process": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.StackTrace": {
"version": "4.0.1",
"exclude": "all"
},
"System.Diagnostics.Tools": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.Tracing": {
"version": "4.3.0",
"exclude": "all"
},
"System.Dynamic.Runtime": {
"version": "4.3.0",
"exclude": "all"
},
"System.Globalization": {
"version": "4.3.0",
"exclude": "all"
},
"System.Globalization.Calendars": {
"version": "4.3.0",
"exclude": "all"
},
"System.Globalization.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.Compression.ZipFile": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.FileSystem": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.FileSystem.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.FileSystem.Watcher": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.MemoryMappedFiles": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.UnmanagedMemoryStream": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq.Expressions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq.Parallel": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq.Queryable": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.NameResolution": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Requests": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Sockets": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.WebHeaderCollection": {
"version": "4.3.0",
"exclude": "all"
},
"System.Numerics.Vectors": {
"version": "4.3.0",
"exclude": "all"
},
"System.ObjectModel": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.DispatchProxy": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Emit": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Emit.ILGeneration": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Emit.Lightweight": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Metadata": {
"version": "1.4.1",
"exclude": "all"
},
"System.Reflection.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.TypeExtensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Resources.Reader": {
"version": "4.3.0",
"exclude": "all"
},
"System.Resources.ResourceManager": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Handles": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.InteropServices": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.InteropServices.RuntimeInformation": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Loader": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Numerics": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Claims": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Algorithms": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Cng": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Csp": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Encoding": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.X509Certificates": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Principal": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Principal.Windows": {
"version": "4.3.0",
"exclude": "all"
},
"System.Text.Encoding": {
"version": "4.3.0",
"exclude": "all"
},
"System.Text.Encoding.CodePages": {
"version": "4.0.1",
"exclude": "all"
},
"System.Text.Encoding.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Text.RegularExpressions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Overlapped": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Tasks": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Tasks.Dataflow": {
"version": "4.7.0",
"exclude": "all"
},
"System.Threading.Tasks.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Tasks.Parallel": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Thread": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.ThreadPool": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Timer": {
"version": "4.3.0",
"exclude": "all"
},
"System.Xml.ReaderWriter": {
"version": "4.3.0",
"exclude": "all"
},
"System.Xml.XDocument": {
"version": "4.3.0",
"exclude": "all"
},
"System.Xml.XmlDocument": {
"version": "4.0.1",
"exclude": "all"
},
"System.Xml.XPath": {
"version": "4.0.1",
"exclude": "all"
},
"System.Xml.XPath.XDocument": {
"version": "4.0.1",
"exclude": "all"
}
}
}
}
}

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

@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<OutputType>Exe</OutputType>
<RuntimeFrameworkVersion>$(MNAVersion)</RuntimeFrameworkVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Spatial" Version="5.8.2" />
</ItemGroup>
</Project>

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

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0.25123" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0.25123</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>e484fcd8-e438-4559-a745-e58574263ffd</ProjectGuid>
<RootNamespace>ResourceLookup</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
</PropertyGroup>
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>

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

@ -1,386 +0,0 @@
{
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {},
"frameworks": {
"netcoreapp2.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "2.0.0-preview2-*"
},
"System.Spatial": "5.8.2",
"Microsoft.CodeAnalysis.Analyzers": {
"version": "1.1.0",
"exclude": "all"
},
"Microsoft.CSharp": {
"version": "4.3.0",
"exclude": "all"
},
"Microsoft.DiaSymReader.Native": {
"version": "1.4.0",
"exclude": "all"
},
"Microsoft.VisualBasic": {
"version": "10.1.0",
"exclude": "all"
},
"Microsoft.Win32.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"Microsoft.Win32.Registry": {
"version": "4.3.0",
"exclude": "all"
},
"System.AppContext": {
"version": "4.3.0",
"exclude": "all"
},
"System.Buffers": {
"version": "4.3.0",
"exclude": "all"
},
"System.Collections": {
"version": "4.3.0",
"exclude": "all"
},
"System.Collections.Concurrent": {
"version": "4.3.0",
"exclude": "all"
},
"System.Collections.Immutable": {
"version": "1.3.0",
"exclude": "all"
},
"System.ComponentModel": {
"version": "4.3.0",
"exclude": "all"
},
"System.ComponentModel.Annotations": {
"version": "4.3.0",
"exclude": "all"
},
"System.Console": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.Debug": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.DiagnosticSource": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.FileVersionInfo": {
"version": "4.0.0",
"exclude": "all"
},
"System.Diagnostics.Process": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.StackTrace": {
"version": "4.0.1",
"exclude": "all"
},
"System.Diagnostics.Tools": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.Tracing": {
"version": "4.3.0",
"exclude": "all"
},
"System.Dynamic.Runtime": {
"version": "4.3.0",
"exclude": "all"
},
"System.Globalization": {
"version": "4.3.0",
"exclude": "all"
},
"System.Globalization.Calendars": {
"version": "4.3.0",
"exclude": "all"
},
"System.Globalization.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.Compression.ZipFile": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.FileSystem": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.FileSystem.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.FileSystem.Watcher": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.MemoryMappedFiles": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.UnmanagedMemoryStream": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq.Expressions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq.Parallel": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq.Queryable": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.NameResolution": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Requests": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Sockets": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.WebHeaderCollection": {
"version": "4.3.0",
"exclude": "all"
},
"System.Numerics.Vectors": {
"version": "4.3.0",
"exclude": "all"
},
"System.ObjectModel": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.DispatchProxy": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Emit": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Emit.ILGeneration": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Emit.Lightweight": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Metadata": {
"version": "1.4.1",
"exclude": "all"
},
"System.Reflection.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.TypeExtensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Resources.Reader": {
"version": "4.3.0",
"exclude": "all"
},
"System.Resources.ResourceManager": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Handles": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.InteropServices": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.InteropServices.RuntimeInformation": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Loader": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Numerics": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Claims": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Algorithms": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Cng": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Csp": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Encoding": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.X509Certificates": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Principal": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Principal.Windows": {
"version": "4.3.0",
"exclude": "all"
},
"System.Text.Encoding": {
"version": "4.3.0",
"exclude": "all"
},
"System.Text.Encoding.CodePages": {
"version": "4.0.1",
"exclude": "all"
},
"System.Text.Encoding.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Text.RegularExpressions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Overlapped": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Tasks": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Tasks.Dataflow": {
"version": "4.7.0",
"exclude": "all"
},
"System.Threading.Tasks.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Tasks.Parallel": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Thread": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.ThreadPool": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Timer": {
"version": "4.3.0",
"exclude": "all"
},
"System.Xml.ReaderWriter": {
"version": "4.3.0",
"exclude": "all"
},
"System.Xml.XDocument": {
"version": "4.3.0",
"exclude": "all"
},
"System.Xml.XmlDocument": {
"version": "4.0.1",
"exclude": "all"
},
"System.Xml.XPath": {
"version": "4.0.1",
"exclude": "all"
},
"System.Xml.XPath.XDocument": {
"version": "4.0.1",
"exclude": "all"
}
}
}
}
}

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

@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<OutputType>Exe</OutputType>
<RuntimeFrameworkVersion>$(MNAVersion)</RuntimeFrameworkVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
</ItemGroup>
</Project>

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

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0.25123" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0.25123</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>e484fcd8-e438-4559-a745-e58574263abd</ProjectGuid>
<RootNamespace>PortableApp</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
</PropertyGroup>
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>

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

@ -1,386 +0,0 @@
{
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {},
"frameworks": {
"netcoreapp2.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "2.0.0-*"
},
"Newtonsoft.Json": "9.0.1-beta1",
"Microsoft.CodeAnalysis.Analyzers": {
"version": "1.1.0",
"exclude": "all"
},
"Microsoft.CSharp": {
"version": "4.3.0",
"exclude": "all"
},
"Microsoft.DiaSymReader.Native": {
"version": "1.4.0",
"exclude": "all"
},
"Microsoft.VisualBasic": {
"version": "10.1.0",
"exclude": "all"
},
"Microsoft.Win32.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"Microsoft.Win32.Registry": {
"version": "4.3.0",
"exclude": "all"
},
"System.AppContext": {
"version": "4.3.0",
"exclude": "all"
},
"System.Buffers": {
"version": "4.3.0",
"exclude": "all"
},
"System.Collections": {
"version": "4.3.0",
"exclude": "all"
},
"System.Collections.Concurrent": {
"version": "4.3.0",
"exclude": "all"
},
"System.Collections.Immutable": {
"version": "1.3.0",
"exclude": "all"
},
"System.ComponentModel": {
"version": "4.3.0",
"exclude": "all"
},
"System.ComponentModel.Annotations": {
"version": "4.3.0",
"exclude": "all"
},
"System.Console": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.Debug": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.DiagnosticSource": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.FileVersionInfo": {
"version": "4.0.0",
"exclude": "all"
},
"System.Diagnostics.Process": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.StackTrace": {
"version": "4.0.1",
"exclude": "all"
},
"System.Diagnostics.Tools": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.Tracing": {
"version": "4.3.0",
"exclude": "all"
},
"System.Dynamic.Runtime": {
"version": "4.3.0",
"exclude": "all"
},
"System.Globalization": {
"version": "4.3.0",
"exclude": "all"
},
"System.Globalization.Calendars": {
"version": "4.3.0",
"exclude": "all"
},
"System.Globalization.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.Compression.ZipFile": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.FileSystem": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.FileSystem.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.FileSystem.Watcher": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.MemoryMappedFiles": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.UnmanagedMemoryStream": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq.Expressions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq.Parallel": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq.Queryable": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.NameResolution": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Requests": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Sockets": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.WebHeaderCollection": {
"version": "4.3.0",
"exclude": "all"
},
"System.Numerics.Vectors": {
"version": "4.3.0",
"exclude": "all"
},
"System.ObjectModel": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.DispatchProxy": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Emit": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Emit.ILGeneration": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Emit.Lightweight": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Metadata": {
"version": "1.4.1",
"exclude": "all"
},
"System.Reflection.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.TypeExtensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Resources.Reader": {
"version": "4.3.0",
"exclude": "all"
},
"System.Resources.ResourceManager": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Handles": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.InteropServices": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.InteropServices.RuntimeInformation": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Loader": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Numerics": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Claims": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Algorithms": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Cng": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Csp": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Encoding": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.X509Certificates": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Principal": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Principal.Windows": {
"version": "4.3.0",
"exclude": "all"
},
"System.Text.Encoding": {
"version": "4.3.0",
"exclude": "all"
},
"System.Text.Encoding.CodePages": {
"version": "4.0.1",
"exclude": "all"
},
"System.Text.Encoding.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Text.RegularExpressions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Overlapped": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Tasks": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Tasks.Dataflow": {
"version": "4.7.0",
"exclude": "all"
},
"System.Threading.Tasks.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Tasks.Parallel": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Thread": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.ThreadPool": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Timer": {
"version": "4.3.0",
"exclude": "all"
},
"System.Xml.ReaderWriter": {
"version": "4.3.0",
"exclude": "all"
},
"System.Xml.XDocument": {
"version": "4.3.0",
"exclude": "all"
},
"System.Xml.XmlDocument": {
"version": "4.0.1",
"exclude": "all"
},
"System.Xml.XPath": {
"version": "4.0.1",
"exclude": "all"
},
"System.Xml.XPath.XDocument": {
"version": "4.0.1",
"exclude": "all"
}
}
}
}
}

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

@ -0,0 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<OutputType>Exe</OutputType>
<RuntimeIdentifier>$(TestTargetRid)</RuntimeIdentifier>
<RuntimeFrameworkVersion>$(MNAVersion)</RuntimeFrameworkVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
</ItemGroup>
</Project>

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

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0.25123" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0.25123</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>9232aba5-e93c-4f80-821a-c98f6064a4bc</ProjectGuid>
<RootNamespace>StandaloneApp</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
</PropertyGroup>
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>

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

@ -1,938 +0,0 @@
{
"buildOptions": {
"emitEntryPoint": true
},
"frameworks": {
"netcoreapp2.0": {
"dependencies": {
"Microsoft.NETCore.App": "2.0.0-*",
"Newtonsoft.Json": "9.0.1-beta1",
"Microsoft.CodeAnalysis.Analyzers": {
"version": "1.1.0",
"exclude": "all"
},
"Microsoft.CSharp": {
"version": "4.3.0",
"exclude": "all"
},
"Microsoft.DiaSymReader.Native": {
"version": "1.4.0",
"exclude": "all"
},
"Microsoft.VisualBasic": {
"version": "10.1.0",
"exclude": "all"
},
"Microsoft.Win32.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"Microsoft.Win32.Registry": {
"version": "4.3.0",
"exclude": "all"
},
"System.AppContext": {
"version": "4.3.0",
"exclude": "all"
},
"System.Buffers": {
"version": "4.3.0",
"exclude": "all"
},
"System.Collections": {
"version": "4.3.0",
"exclude": "all"
},
"System.Collections.Concurrent": {
"version": "4.3.0",
"exclude": "all"
},
"System.Collections.Immutable": {
"version": "1.3.0",
"exclude": "all"
},
"System.ComponentModel": {
"version": "4.3.0",
"exclude": "all"
},
"System.ComponentModel.Annotations": {
"version": "4.3.0",
"exclude": "all"
},
"System.Console": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.Debug": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.DiagnosticSource": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.FileVersionInfo": {
"version": "4.0.0",
"exclude": "all"
},
"System.Diagnostics.Process": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.StackTrace": {
"version": "4.0.1",
"exclude": "all"
},
"System.Diagnostics.Tools": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.Tracing": {
"version": "4.3.0",
"exclude": "all"
},
"System.Dynamic.Runtime": {
"version": "4.3.0",
"exclude": "all"
},
"System.Globalization": {
"version": "4.3.0",
"exclude": "all"
},
"System.Globalization.Calendars": {
"version": "4.3.0",
"exclude": "all"
},
"System.Globalization.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.Compression.ZipFile": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.FileSystem": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.FileSystem.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.FileSystem.Watcher": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.MemoryMappedFiles": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.UnmanagedMemoryStream": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq.Expressions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq.Parallel": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq.Queryable": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.NameResolution": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Requests": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Sockets": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.WebHeaderCollection": {
"version": "4.3.0",
"exclude": "all"
},
"System.Numerics.Vectors": {
"version": "4.3.0",
"exclude": "all"
},
"System.ObjectModel": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.DispatchProxy": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Emit": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Emit.ILGeneration": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Emit.Lightweight": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Metadata": {
"version": "1.4.1",
"exclude": "all"
},
"System.Reflection.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.TypeExtensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Resources.Reader": {
"version": "4.3.0",
"exclude": "all"
},
"System.Resources.ResourceManager": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Handles": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.InteropServices": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.InteropServices.RuntimeInformation": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Loader": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Numerics": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Claims": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Algorithms": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Cng": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Csp": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Encoding": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.X509Certificates": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Principal": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Principal.Windows": {
"version": "4.3.0",
"exclude": "all"
},
"System.Text.Encoding": {
"version": "4.3.0",
"exclude": "all"
},
"System.Text.Encoding.CodePages": {
"version": "4.0.1",
"exclude": "all"
},
"System.Text.Encoding.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Text.RegularExpressions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Overlapped": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Tasks": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Tasks.Dataflow": {
"version": "4.7.0",
"exclude": "all"
},
"System.Threading.Tasks.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Tasks.Parallel": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Thread": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.ThreadPool": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Timer": {
"version": "4.3.0",
"exclude": "all"
},
"System.Xml.ReaderWriter": {
"version": "4.3.0",
"exclude": "all"
},
"System.Xml.XDocument": {
"version": "4.3.0",
"exclude": "all"
},
"System.Xml.XmlDocument": {
"version": "4.0.1",
"exclude": "all"
},
"System.Xml.XPath": {
"version": "4.0.1",
"exclude": "all"
},
"System.Xml.XPath.XDocument": {
"version": "4.0.1",
"exclude": "all"
},
"runtime.any.System.Collections": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Diagnostics.Tools": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Diagnostics.Tracing": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Globalization": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Globalization.Calendars": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.IO": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Reflection": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Reflection.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Reflection.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Resources.ResourceManager": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Runtime": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Runtime.Handles": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Runtime.InteropServices": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Text.Encoding": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Text.Encoding.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Threading.Tasks": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Threading.Timer": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.debian.8-x64.Microsoft.NETCore.DotNetHost": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.debian.8-x64.Microsoft.NETCore.DotNetHostPolicy": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.debian.8-x64.Microsoft.NETCore.DotNetHostResolver": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.debian.8-x64.Microsoft.NETCore.Jit": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.debian.8-x64.Microsoft.NETCore.Runtime.CoreCLR": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.debian.8-x64.runtime.native.System": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.debian.8-x64.runtime.native.System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.debian.8-x64.runtime.native.System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.debian.8-x64.runtime.native.System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.fedora.24-x64.Microsoft.NETCore.DotNetHost": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.fedora.24-x64.Microsoft.NETCore.DotNetHostPolicy": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.fedora.24-x64.Microsoft.NETCore.DotNetHostResolver": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.fedora.24-x64.Microsoft.NETCore.Jit": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.fedora.24-x64.Microsoft.NETCore.Runtime.CoreCLR": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.fedora.24-x64.runtime.native.System": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.fedora.24-x64.runtime.native.System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.fedora.24-x64.runtime.native.System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.fedora.24-x64.runtime.native.System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.native.System": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.native.System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.native.System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.native.System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.native.System.Security.Cryptography.Apple": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.native.System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.opensuse.42.1-x64.Microsoft.NETCore.DotNetHost": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.opensuse.42.1-x64.Microsoft.NETCore.DotNetHostPolicy": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.opensuse.42.1-x64.Microsoft.NETCore.DotNetHostResolver": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.opensuse.42.1-x64.Microsoft.NETCore.Jit": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.opensuse.42.1-x64.Microsoft.NETCore.Runtime.CoreCLR": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.opensuse.42.1-x64.runtime.native.System": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.opensuse.42.1-x64.runtime.native.System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.opensuse.42.1-x64.runtime.native.System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.opensuse.42.1-x64.runtime.native.System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.osx.10.10-x64.Microsoft.NETCore.DotNetHost": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.osx.10.10-x64.Microsoft.NETCore.DotNetHostPolicy": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.osx.10.10-x64.Microsoft.NETCore.DotNetHostResolver": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.osx.10.10-x64.Microsoft.NETCore.Jit": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.osx.10.10-x64.Microsoft.NETCore.Runtime.CoreCLR": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.osx.10.10-x64.runtime.native.System": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.osx.10.10-x64.runtime.native.System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.osx.10.10-x64.runtime.native.System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.osx.10.10-x64.runtime.native.System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.rhel.7-x64.Microsoft.NETCore.DotNetHost": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.rhel.7-x64.Microsoft.NETCore.DotNetHostPolicy": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.rhel.7-x64.Microsoft.NETCore.DotNetHostResolver": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.rhel.7-x64.Microsoft.NETCore.Jit": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.rhel.7-x64.Microsoft.NETCore.Runtime.CoreCLR": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.rhel.7-x64.runtime.native.System": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.rhel.7-x64.runtime.native.System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.rhel.7-x64.runtime.native.System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.rhel.7-x64.runtime.native.System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.14.04-x64.Microsoft.NETCore.DotNetHost": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.14.04-x64.Microsoft.NETCore.DotNetHostPolicy": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.14.04-x64.Microsoft.NETCore.DotNetHostResolver": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.14.04-x64.Microsoft.NETCore.Jit": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.14.04-x64.Microsoft.NETCore.Runtime.CoreCLR": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.14.04-x64.runtime.native.System": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.14.04-x64.runtime.native.System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.14.04-x64.runtime.native.System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.14.04-x64.runtime.native.System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.16.04-x64.Microsoft.NETCore.DotNetHost": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.16.04-x64.Microsoft.NETCore.DotNetHostPolicy": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.16.04-x64.Microsoft.NETCore.DotNetHostResolver": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.16.04-x64.Microsoft.NETCore.Jit": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.16.04-x64.Microsoft.NETCore.Runtime.CoreCLR": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.16.04-x64.runtime.native.System": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.16.04-x64.runtime.native.System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.16.04-x64.runtime.native.System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.16.04-x64.runtime.native.System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.16.10-x64.Microsoft.NETCore.DotNetHost": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.16.10-x64.Microsoft.NETCore.DotNetHostPolicy": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.16.10-x64.Microsoft.NETCore.DotNetHostResolver": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.16.10-x64.Microsoft.NETCore.Jit": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.16.10-x64.Microsoft.NETCore.Runtime.CoreCLR": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.16.10-x64.runtime.native.System": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.16.10-x64.runtime.native.System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.16.10-x64.runtime.native.System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.16.10-x64.runtime.native.System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.unix.Microsoft.Win32.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.unix.System.Console": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.unix.System.Diagnostics.Debug": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.unix.System.IO.FileSystem": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.unix.System.Net.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.unix.System.Net.Sockets": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.unix.System.Private.Uri": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.unix.System.Runtime.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.win.Microsoft.Win32.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.win.System.Console": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.win.System.Diagnostics.Debug": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.win.System.IO.FileSystem": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.win.System.Net.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.win.System.Net.Sockets": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.win.System.Runtime.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.win7-x64.Microsoft.NETCore.DotNetHost": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.win7-x64.Microsoft.NETCore.DotNetHostPolicy": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.win7-x64.Microsoft.NETCore.DotNetHostResolver": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.win7-x64.Microsoft.NETCore.Jit": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.win7-x64.Microsoft.NETCore.Runtime.CoreCLR": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.win7-x64.Microsoft.NETCore.Windows.ApiSets": {
"version": "1.0.1",
"exclude": "all"
},
"runtime.win7-x64.runtime.native.System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.win7-x86.Microsoft.NETCore.DotNetHost": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.win7-x86.Microsoft.NETCore.DotNetHostPolicy": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.win7-x86.Microsoft.NETCore.DotNetHostResolver": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.win7-x86.Microsoft.NETCore.Jit": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.win7-x86.Microsoft.NETCore.Runtime.CoreCLR": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.win7-x86.Microsoft.NETCore.Windows.ApiSets": {
"version": "1.0.1",
"exclude": "all"
},
"runtime.win7-x86.runtime.native.System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.win7.System.Private.Uri": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.win8-x64.Microsoft.NETCore.Windows.ApiSets": {
"version": "1.0.1",
"exclude": "all"
},
"runtime.win8-x86.Microsoft.NETCore.Windows.ApiSets": {
"version": "1.0.1",
"exclude": "all"
},
"runtime.win81-x64.Microsoft.NETCore.Windows.ApiSets": {
"version": "1.0.1",
"exclude": "all"
},
"runtime.win81-x86.Microsoft.NETCore.Windows.ApiSets": {
"version": "1.0.1",
"exclude": "all"
}
}
}
},
"runtimes": {
"{RID}": {}
}
}

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

@ -5,10 +5,7 @@ namespace StandaloneTestApp
{
public class Program
{
public static void Main()
{
Console.WriteLine("Dummy Entrypoint");
}
// SDK generates an entry point method automatically now, with no opt-out mechanism.
[Fact]
public void PassingTest()

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

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0.25123" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0.25123</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>9232aba5-e93c-4f80-821a-c98f6064a4bc</ProjectGuid>
<RootNamespace>StandaloneApp</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
</PropertyGroup>
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>

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

@ -0,0 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<OutputType>Exe</OutputType>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<PackageTargetFallback>$(PackageTargetFallback);dotnet5.4;portable-net451+win8</PackageTargetFallback>
<RuntimeIdentifier>$(TestTargetRid)</RuntimeIdentifier>
<RuntimeFrameworkVersion>$(MNAVersion)</RuntimeFrameworkVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0-preview-20170106-08" />
<PackageReference Include="xunit" Version="2.1.0" />
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
<PackageReference Include="xunit.netcore.extensions" Version="1.0.0-prerelease-00206" />
<PackageReference Include="dotnet-test-xunit" Version="1.0.0-rc2-192208-24" />
</ItemGroup>
</Project>

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

@ -1,948 +0,0 @@
{
"buildOptions": {
"emitEntryPoint": true
},
"frameworks": {
"netcoreapp2.0": {
"imports": [
"dotnet5.4",
"portable-net451+win8"
],
"dependencies": {
"Microsoft.NETCore.App": "2.0.0-*",
"Newtonsoft.Json": "9.0.1-beta1",
"xunit": "2.1.0",
"xunit.netcore.extensions": "1.0.0-prerelease-00206",
"dotnet-test-xunit": "1.0.0-rc2-192208-24",
"Microsoft.CodeAnalysis.Analyzers": {
"version": "1.1.0",
"exclude": "all"
},
"Microsoft.CSharp": {
"version": "4.3.0",
"exclude": "all"
},
"Microsoft.DiaSymReader.Native": {
"version": "1.4.0",
"exclude": "all"
},
"Microsoft.VisualBasic": {
"version": "10.1.0",
"exclude": "all"
},
"Microsoft.Win32.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"Microsoft.Win32.Registry": {
"version": "4.3.0",
"exclude": "all"
},
"System.AppContext": {
"version": "4.3.0",
"exclude": "all"
},
"System.Buffers": {
"version": "4.3.0",
"exclude": "all"
},
"System.Collections": {
"version": "4.3.0",
"exclude": "all"
},
"System.Collections.Concurrent": {
"version": "4.3.0",
"exclude": "all"
},
"System.Collections.Immutable": {
"version": "1.3.0",
"exclude": "all"
},
"System.ComponentModel": {
"version": "4.3.0",
"exclude": "all"
},
"System.ComponentModel.Annotations": {
"version": "4.3.0",
"exclude": "all"
},
"System.Console": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.Debug": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.DiagnosticSource": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.FileVersionInfo": {
"version": "4.0.0",
"exclude": "all"
},
"System.Diagnostics.Process": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.StackTrace": {
"version": "4.0.1",
"exclude": "all"
},
"System.Diagnostics.Tools": {
"version": "4.3.0",
"exclude": "all"
},
"System.Diagnostics.Tracing": {
"version": "4.3.0",
"exclude": "all"
},
"System.Dynamic.Runtime": {
"version": "4.3.0",
"exclude": "all"
},
"System.Globalization": {
"version": "4.3.0",
"exclude": "all"
},
"System.Globalization.Calendars": {
"version": "4.3.0",
"exclude": "all"
},
"System.Globalization.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.Compression.ZipFile": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.FileSystem": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.FileSystem.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.FileSystem.Watcher": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.MemoryMappedFiles": {
"version": "4.3.0",
"exclude": "all"
},
"System.IO.UnmanagedMemoryStream": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq.Expressions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq.Parallel": {
"version": "4.3.0",
"exclude": "all"
},
"System.Linq.Queryable": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.NameResolution": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Requests": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.Sockets": {
"version": "4.3.0",
"exclude": "all"
},
"System.Net.WebHeaderCollection": {
"version": "4.3.0",
"exclude": "all"
},
"System.Numerics.Vectors": {
"version": "4.3.0",
"exclude": "all"
},
"System.ObjectModel": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.DispatchProxy": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Emit": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Emit.ILGeneration": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Emit.Lightweight": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.Metadata": {
"version": "1.4.1",
"exclude": "all"
},
"System.Reflection.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.Reflection.TypeExtensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Resources.Reader": {
"version": "4.3.0",
"exclude": "all"
},
"System.Resources.ResourceManager": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Handles": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.InteropServices": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.InteropServices.RuntimeInformation": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Loader": {
"version": "4.3.0",
"exclude": "all"
},
"System.Runtime.Numerics": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Claims": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Algorithms": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Cng": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Csp": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Encoding": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Cryptography.X509Certificates": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Principal": {
"version": "4.3.0",
"exclude": "all"
},
"System.Security.Principal.Windows": {
"version": "4.3.0",
"exclude": "all"
},
"System.Text.Encoding": {
"version": "4.3.0",
"exclude": "all"
},
"System.Text.Encoding.CodePages": {
"version": "4.0.1",
"exclude": "all"
},
"System.Text.Encoding.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Text.RegularExpressions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Overlapped": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Tasks": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Tasks.Dataflow": {
"version": "4.7.0",
"exclude": "all"
},
"System.Threading.Tasks.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Tasks.Parallel": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Thread": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.ThreadPool": {
"version": "4.3.0",
"exclude": "all"
},
"System.Threading.Timer": {
"version": "4.3.0",
"exclude": "all"
},
"System.Xml.ReaderWriter": {
"version": "4.3.0",
"exclude": "all"
},
"System.Xml.XDocument": {
"version": "4.3.0",
"exclude": "all"
},
"System.Xml.XmlDocument": {
"version": "4.0.1",
"exclude": "all"
},
"System.Xml.XPath": {
"version": "4.0.1",
"exclude": "all"
},
"System.Xml.XPath.XDocument": {
"version": "4.0.1",
"exclude": "all"
},
"runtime.any.System.Collections": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Diagnostics.Tools": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Diagnostics.Tracing": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Globalization": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Globalization.Calendars": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.IO": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Reflection": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Reflection.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Reflection.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Resources.ResourceManager": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Runtime": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Runtime.Handles": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Runtime.InteropServices": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Text.Encoding": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Text.Encoding.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Threading.Tasks": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.any.System.Threading.Timer": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.debian.8-x64.Microsoft.NETCore.DotNetHost": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.debian.8-x64.Microsoft.NETCore.DotNetHostPolicy": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.debian.8-x64.Microsoft.NETCore.DotNetHostResolver": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.debian.8-x64.Microsoft.NETCore.Jit": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.debian.8-x64.Microsoft.NETCore.Runtime.CoreCLR": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.debian.8-x64.runtime.native.System": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.debian.8-x64.runtime.native.System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.debian.8-x64.runtime.native.System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.debian.8-x64.runtime.native.System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.fedora.24-x64.Microsoft.NETCore.DotNetHost": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.fedora.24-x64.Microsoft.NETCore.DotNetHostPolicy": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.fedora.24-x64.Microsoft.NETCore.DotNetHostResolver": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.fedora.24-x64.Microsoft.NETCore.Jit": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.fedora.24-x64.Microsoft.NETCore.Runtime.CoreCLR": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.fedora.24-x64.runtime.native.System": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.fedora.24-x64.runtime.native.System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.fedora.24-x64.runtime.native.System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.fedora.24-x64.runtime.native.System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.native.System": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.native.System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.native.System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.native.System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.native.System.Security.Cryptography.Apple": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.native.System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.opensuse.42.1-x64.Microsoft.NETCore.DotNetHost": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.opensuse.42.1-x64.Microsoft.NETCore.DotNetHostPolicy": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.opensuse.42.1-x64.Microsoft.NETCore.DotNetHostResolver": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.opensuse.42.1-x64.Microsoft.NETCore.Jit": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.opensuse.42.1-x64.Microsoft.NETCore.Runtime.CoreCLR": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.opensuse.42.1-x64.runtime.native.System": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.opensuse.42.1-x64.runtime.native.System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.opensuse.42.1-x64.runtime.native.System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.opensuse.42.1-x64.runtime.native.System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.osx.10.10-x64.Microsoft.NETCore.DotNetHost": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.osx.10.10-x64.Microsoft.NETCore.DotNetHostPolicy": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.osx.10.10-x64.Microsoft.NETCore.DotNetHostResolver": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.osx.10.10-x64.Microsoft.NETCore.Jit": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.osx.10.10-x64.Microsoft.NETCore.Runtime.CoreCLR": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.osx.10.10-x64.runtime.native.System": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.osx.10.10-x64.runtime.native.System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.osx.10.10-x64.runtime.native.System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.osx.10.10-x64.runtime.native.System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.rhel.7-x64.Microsoft.NETCore.DotNetHost": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.rhel.7-x64.Microsoft.NETCore.DotNetHostPolicy": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.rhel.7-x64.Microsoft.NETCore.DotNetHostResolver": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.rhel.7-x64.Microsoft.NETCore.Jit": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.rhel.7-x64.Microsoft.NETCore.Runtime.CoreCLR": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.rhel.7-x64.runtime.native.System": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.rhel.7-x64.runtime.native.System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.rhel.7-x64.runtime.native.System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.rhel.7-x64.runtime.native.System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.14.04-x64.Microsoft.NETCore.DotNetHost": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.14.04-x64.Microsoft.NETCore.DotNetHostPolicy": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.14.04-x64.Microsoft.NETCore.DotNetHostResolver": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.14.04-x64.Microsoft.NETCore.Jit": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.14.04-x64.Microsoft.NETCore.Runtime.CoreCLR": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.14.04-x64.runtime.native.System": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.14.04-x64.runtime.native.System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.14.04-x64.runtime.native.System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.14.04-x64.runtime.native.System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.16.04-x64.Microsoft.NETCore.DotNetHost": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.16.04-x64.Microsoft.NETCore.DotNetHostPolicy": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.16.04-x64.Microsoft.NETCore.DotNetHostResolver": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.16.04-x64.Microsoft.NETCore.Jit": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.16.04-x64.Microsoft.NETCore.Runtime.CoreCLR": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.16.04-x64.runtime.native.System": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.16.04-x64.runtime.native.System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.16.04-x64.runtime.native.System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.16.04-x64.runtime.native.System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.16.10-x64.Microsoft.NETCore.DotNetHost": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.16.10-x64.Microsoft.NETCore.DotNetHostPolicy": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.16.10-x64.Microsoft.NETCore.DotNetHostResolver": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.16.10-x64.Microsoft.NETCore.Jit": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.16.10-x64.Microsoft.NETCore.Runtime.CoreCLR": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.ubuntu.16.10-x64.runtime.native.System": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.16.10-x64.runtime.native.System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.16.10-x64.runtime.native.System.Net.Http": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.16.10-x64.runtime.native.System.Net.Security": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.unix.Microsoft.Win32.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.unix.System.Console": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.unix.System.Diagnostics.Debug": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.unix.System.IO.FileSystem": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.unix.System.Net.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.unix.System.Net.Sockets": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.unix.System.Private.Uri": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.unix.System.Runtime.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.win.Microsoft.Win32.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.win.System.Console": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.win.System.Diagnostics.Debug": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.win.System.IO.FileSystem": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.win.System.Net.Primitives": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.win.System.Net.Sockets": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.win.System.Runtime.Extensions": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.win7-x64.Microsoft.NETCore.DotNetHost": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.win7-x64.Microsoft.NETCore.DotNetHostPolicy": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.win7-x64.Microsoft.NETCore.DotNetHostResolver": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.win7-x64.Microsoft.NETCore.Jit": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.win7-x64.Microsoft.NETCore.Runtime.CoreCLR": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.win7-x64.Microsoft.NETCore.Windows.ApiSets": {
"version": "1.0.1",
"exclude": "all"
},
"runtime.win7-x64.runtime.native.System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.win7-x86.Microsoft.NETCore.DotNetHost": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.win7-x86.Microsoft.NETCore.DotNetHostPolicy": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.win7-x86.Microsoft.NETCore.DotNetHostResolver": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.win7-x86.Microsoft.NETCore.Jit": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.win7-x86.Microsoft.NETCore.Runtime.CoreCLR": {
"version": "1.1.0",
"exclude": "all"
},
"runtime.win7-x86.Microsoft.NETCore.Windows.ApiSets": {
"version": "1.0.1",
"exclude": "all"
},
"runtime.win7-x86.runtime.native.System.IO.Compression": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.win7.System.Private.Uri": {
"version": "4.3.0",
"exclude": "all"
},
"runtime.win8-x64.Microsoft.NETCore.Windows.ApiSets": {
"version": "1.0.1",
"exclude": "all"
},
"runtime.win8-x86.Microsoft.NETCore.Windows.ApiSets": {
"version": "1.0.1",
"exclude": "all"
},
"runtime.win81-x64.Microsoft.NETCore.Windows.ApiSets": {
"version": "1.0.1",
"exclude": "all"
},
"runtime.win81-x86.Microsoft.NETCore.Windows.ApiSets": {
"version": "1.0.1",
"exclude": "all"
}
}
}
},
"testRunner": "xunit",
"runtimes": {
"{RID}": {}
}
}

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

@ -67,7 +67,7 @@ namespace Microsoft.DotNet.CoreSetup.Test.HostActivation.LightupApp
.Should()
.Fail()
.And
.HaveStdErrContaining("Error: assembly specified in the dependencies manifest was not found -- package: \'lightuplib\', version: \'1.0.0\', path: \'LightupLib.dll\'");
.HaveStdErrContaining("Error: assembly specified in the dependencies manifest was not found -- package: \'LightupLib\', version: \'1.0.0\', path: \'LightupLib.dll\'");
}
// Attempt to run the app with lightup deps.json specified and lightup library present in the expected

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

@ -50,6 +50,13 @@ namespace Microsoft.DotNet.CoreSetup.Test.HostActivation.StandaloneApp
var appExe = fixture.TestProject.AppExe;
// TODO: Use FS.Chmod when build utility project is converted to csproj.
// See https://github.com/NuGet/Home/issues/4424
if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
Command.Create("chmod", "u+x", appExe).Execute().EnsureSuccessful();
}
Command.Create(appExe)
.CaptureStdErr()
.CaptureStdOut()
@ -68,6 +75,13 @@ namespace Microsoft.DotNet.CoreSetup.Test.HostActivation.StandaloneApp
var appExe = fixture.TestProject.AppExe;
// TODO: Use FS.Chmod when build utility project is converted to csproj.
// See https://github.com/NuGet/Home/issues/4424
if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
Command.Create("chmod", "u+x", appExe).Execute().EnsureSuccessful();
}
Command.Create(appExe)
.CaptureStdErr()
.CaptureStdOut()

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

@ -0,0 +1,25 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<AssemblyName>HostActivationTests</AssemblyName>
<PackageId>HostActivationTests</PackageId>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<PackageTargetFallback>$(PackageTargetFallback);dotnet5.4;portable-net451+win8</PackageTargetFallback>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\TestUtils\TestUtils.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0-preview-20170106-08" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0-beta5-build1225" />
<PackageReference Include="System.Runtime.Serialization.Primitives" Version="4.1.1" />
<PackageReference Include="xunit" Version="2.2.0-beta5-build3474" />
<PackageReference Include="xunit.netcore.extensions" Version="1.0.0-prerelease-00206" />
<PackageReference Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
</ItemGroup>
</Project>

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

@ -1,20 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>386d412c-003c-47b1-8258-0e35865cb7c4</ProjectGuid>
<RootNamespace>Microsoft.DotNet.Tools.Publish.Tests</RootNamespace>
</PropertyGroup>
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'" />
<ItemGroup>
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
</ItemGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>

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

@ -0,0 +1,8 @@
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
// Test cases in this assembly cannot be run in parallel.
// Some test cases modify global state and will interfere with others running at the same time.
[assembly: CollectionBehavior(DisableTestParallelization = true)]

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

@ -1,27 +0,0 @@
{
"version": "1.0.0-*",
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0"
},
"System.Runtime.Serialization.Primitives": "4.1.1",
"xunit": "2.1.0",
"xunit.netcore.extensions": "1.0.0-prerelease-00206",
"dotnet-test-xunit": "1.0.0-rc2-192208-24",
"System.Runtime.InteropServices.RuntimeInformation": "4.0.0",
"TestUtils": {
"target": "project"
},
"Newtonsoft.Json": "9.0.1"
},
"frameworks": {
"netcoreapp2.0": {
"imports": [
"dotnet5.4",
"portable-net451+win8"
]
}
},
"testRunner": "xunit"
}

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

@ -0,0 +1,30 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>Microsoft.DotNet.Tools.Tests.Utilities Class Library</Description>
<TargetFramework>netcoreapp2.0</TargetFramework>
<AssemblyName>Microsoft.Extensions.DependencyModel.Tests</AssemblyName>
<AssemblyOriginatorKeyFile>../../../tools-local/setuptools/Key.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
<PackageId>Microsoft.Extensions.DependencyModel.Tests</PackageId>
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<PackageTargetFallback>$(PackageTargetFallback);dotnet5.4;portable-net451+win8</PackageTargetFallback>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0-preview-20170106-08" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0-beta5-build1225" />
<PackageReference Include="System.Diagnostics.TraceSource" Version="4.0.0" />
<PackageReference Include="Microsoft.DotNet.InternalAbstractions" Version="1.0.0" />
<PackageReference Include="FluentAssertions" Version="4.0.0" />
<PackageReference Include="moq.netcore" Version="4.4.0-beta8" />
<PackageReference Include="xunit" Version="2.2.0-beta5-build3474" />
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
<PackageReference Include="NuGet.Versioning" Version="4.0.0" />
<PackageReference Include="Microsoft.DotNet.ProjectModel" Version="1.0.0-rc2-002702" />
<ProjectReference Include="..\..\managed\Microsoft.DotNet.PlatformAbstractions\Microsoft.DotNet.PlatformAbstractions.csproj" />
<ProjectReference Include="..\..\managed\Microsoft.Extensions.DependencyModel\Microsoft.Extensions.DependencyModel.csproj" />
</ItemGroup>
</Project>

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

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0.23107" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0.23107</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>4a4711d8-4312-49fc-87b5-4f183f4c6a51</ProjectGuid>
<RootNamespace>Microsoft.Extensions.DependencyModel.Tests</RootNamespace>
</PropertyGroup>
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<ItemGroup>
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
</ItemGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>

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

@ -25,7 +25,9 @@ namespace Microsoft.Extensions.DependencyModel.Tests
.Build();
var result = PackageCompilationAssemblyResolver.GetDefaultProbeDirectories(Platform.Unknown, environment);
result.Should().Contain(PackagesPath);
// The host for .NET Core 2.0 always sets the PROBING_DIRECTORIES property on the AppContext. Because of that,
// no additional package directories should be returned from this, even if they are set as environment variables.
result.Should().NotContain(PackagesPath);
}
@ -37,7 +39,9 @@ namespace Microsoft.Extensions.DependencyModel.Tests
.Build();
var result = PackageCompilationAssemblyResolver.GetDefaultProbeDirectories(Platform.Windows, environment);
result.Should().Contain(Path.Combine("User Profile", ".nuget", "packages"));
// The host for .NET Core 2.0 always sets the PROBING_DIRECTORIES property on the AppContext. Because of that,
// no additional package directories should be returned from this, even if they are set as environment variables.
result.Should().NotContain(Path.Combine("User Profile", ".nuget", "packages"));
}
[Fact]
@ -48,7 +52,9 @@ namespace Microsoft.Extensions.DependencyModel.Tests
.Build();
var result = PackageCompilationAssemblyResolver.GetDefaultProbeDirectories(Platform.Linux, environment);
result.Should().Contain(Path.Combine("User Home", ".nuget", "packages"));
// The host for .NET Core 2.0 always sets the PROBING_DIRECTORIES property on the AppContext. Because of that,
// no additional package directories should be returned from this, even if they are set as environment variables.
result.Should().NotContain(Path.Combine("User Home", ".nuget", "packages"));
}
[Fact]

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

@ -1,35 +0,0 @@
{
"version": "1.0.0-*",
"description": "Microsoft.DotNet.Tools.Tests.Utilities Class Library",
"buildOptions": {
"keyFile": "../../../tools-local/setuptools/Key.snk"
},
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0"
},
"System.Diagnostics.TraceSource": "4.0.0",
"Microsoft.Extensions.DependencyModel": {
"target": "project"
},
"Microsoft.DotNet.PlatformAbstractions": {
"target": "project"
},
"Microsoft.DotNet.InternalAbstractions": "1.0.0",
"FluentAssertions": "4.0.0",
"moq.netcore": "4.4.0-beta8",
"xunit": "2.1.0",
"dotnet-test-xunit": "1.0.0-rc2-192208-24",
"Newtonsoft.Json": "9.0.1"
},
"frameworks": {
"netcoreapp1.0": {
"imports": [
"dotnet5.4",
"portable-net451+win8"
]
}
},
"testRunner": "xunit"
}

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

@ -20,9 +20,11 @@ namespace Microsoft.DotNet.CoreSetup.Test
private string _targetRID;
private string _buildRID;
private string _mnaVersion;
public string BuildRID => _buildRID;
public string TargetRID => _targetRID;
public string MicrosoftNETCoreAppVersion => _mnaVersion;
public string RepoRoot => _repoRoot;
public string Artifacts => _artifacts;
public string HostArtifacts => _hostArtifacts;
@ -39,16 +41,23 @@ namespace Microsoft.DotNet.CoreSetup.Test
string corehostPackages = null,
string dotnetSdk = null)
{
_repoRoot = repoRoot ?? Directory.GetParent(Directory.GetCurrentDirectory()).Parent.Parent.FullName;
_repoRoot = repoRoot ?? Directory.GetParent(Directory.GetCurrentDirectory()).Parent.Parent.Parent.Parent.Parent.FullName;
string baseArtifactsFolder = artifacts ?? Path.Combine(_repoRoot, "Bin");
_targetRID = Environment.GetEnvironmentVariable("TEST_TARGETRID");
_buildRID = Environment.GetEnvironmentVariable("BUILDRID");
_mnaVersion = Environment.GetEnvironmentVariable("MNA_VERSION");
_dotnetSDK = dotnetSdk ?? Path.Combine(baseArtifactsFolder, "tests", _targetRID + ".Debug", "Tools", "dotnetcli");
if (!Directory.Exists(_dotnetSDK))
{
_dotnetSDK = dotnetSdk ?? Path.Combine(baseArtifactsFolder, "tests", _targetRID + ".Release", "Tools", "dotnetcli");
}
if (!Directory.Exists(_dotnetSDK))
{
throw new InvalidOperationException("ERROR: Test SDK folder not found.");
}
_artifacts = Path.Combine(baseArtifactsFolder, _buildRID+".Debug");
if(!Directory.Exists(_artifacts))
@ -58,7 +67,6 @@ namespace Microsoft.DotNet.CoreSetup.Test
_nugetPackages = nugetPackages ?? Path.Combine(_repoRoot, "packages");
_corehostPackages = corehostPackages ?? Path.Combine(_artifacts, "corehost");
_builtDotnet = builtDotnet ?? Path.Combine(baseArtifactsFolder, "obj", _buildRID+".Debug", "sharedFrameworkPublish");
if(!Directory.Exists(_builtDotnet))
_builtDotnet = builtDotnet ?? Path.Combine(baseArtifactsFolder, "obj", _buildRID+".Release", "sharedFrameworkPublish");

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

@ -15,8 +15,8 @@ namespace Microsoft.DotNet.CoreSetup.Test
private string _sharedLibraryExtension;
private string _sharedLibraryPrefix;
private string _projectJson;
private string _projectLockJson;
private string _projectFile;
private string _projectAssetsJson;
private string _runtimeConfigJson;
private string _depsJson;
private string _appDll;
@ -29,8 +29,8 @@ namespace Microsoft.DotNet.CoreSetup.Test
public string OutputDirectory { get { return _outputDirectory; } set { _outputDirectory = value; } }
public string ExeExtension { get { return _exeExtension; } set { _exeExtension = value; } }
public string ProjectJson { get { return _projectJson; } set { _projectJson = value; } }
public string ProjectLockJson { get { return _projectLockJson; } set { _projectLockJson = value; } }
public string ProjectFile { get { return _projectFile; } set { _projectFile = value; } }
public string ProjectAssetsJson { get { return _projectAssetsJson; } set { _projectAssetsJson = value; } }
public string RuntimeConfigJson { get { return _runtimeConfigJson; } set { _runtimeConfigJson = value; } }
public string DepsJson { get { return _depsJson; } set { _depsJson = value; } }
public string AppDll { get { return _appDll; } set { _appDll = value; } }
@ -50,8 +50,8 @@ namespace Microsoft.DotNet.CoreSetup.Test
_sharedLibraryExtension = sharedLibraryExtension;
_sharedLibraryPrefix = sharedLibraryPrefix;
_projectName = Path.GetFileName(_projectDirectory);
_projectJson = Path.Combine(_projectDirectory, "project.json");
_projectLockJson = Path.Combine(_projectDirectory, "project.lock.json");
_projectFile = Path.Combine(_projectDirectory, $"{_projectName}.csproj");
_projectAssetsJson = Path.Combine(_projectDirectory, "obj", "project.assets.json");
_outputDirectory = outputDirectory ?? Path.Combine(_projectDirectory, "bin");
if (Directory.Exists(_outputDirectory))
@ -77,12 +77,12 @@ namespace Microsoft.DotNet.CoreSetup.Test
public bool IsRestored()
{
if (string.IsNullOrEmpty(_projectLockJson))
if (string.IsNullOrEmpty(_projectAssetsJson))
{
return false;
}
return File.Exists(_projectLockJson);
return File.Exists(_projectAssetsJson);
}
private void CopyRecursive(string sourceDirectory, string destinationDirectory, bool overwrite = false)

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

@ -277,16 +277,23 @@ namespace Microsoft.DotNet.CoreSetup.Test
return this;
}
public TestProjectFixture RestoreProject(string[] fallbackSources)
public TestProjectFixture RestoreProject(string[] fallbackSources, string extraMSBuildProperties = null)
{
var restoreArgs = new List<string>();
foreach (var fallbackSource in fallbackSources)
{
restoreArgs.Add("-f");
restoreArgs.Add("--source");
restoreArgs.Add(fallbackSource);
}
restoreArgs.Add("--disable-parallel");
restoreArgs.Add($"/p:MNAVersion={_repoDirectoriesProvider.MicrosoftNETCoreAppVersion}");
if (extraMSBuildProperties != null)
{
restoreArgs.Add(extraMSBuildProperties);
}
_sdkDotnet.Restore(restoreArgs.ToArray())
.WorkingDirectory(_testProject.ProjectDirectory)
.CaptureStdErr()
@ -310,15 +317,10 @@ namespace Microsoft.DotNet.CoreSetup.Test
public TestProjectFixture EnsureRestoredForRid(string rid, params string[] fallbackSources)
{
var sourceProjectJson = Path.Combine(_testProject.ProjectDirectory, "project.json.template");
var targetProjectJson = Path.Combine(_testProject.ProjectDirectory, "project.json");
// apply RID to template
File.WriteAllText(targetProjectJson, File.ReadAllText(sourceProjectJson).Replace("{RID}", rid));
if ( ! _testProject.IsRestored())
{
RestoreProject(fallbackSources);
string extraMSBuildProperties = $"/p:TestTargetRid={rid}";
RestoreProject(fallbackSources, extraMSBuildProperties);
}
return this;

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

@ -0,0 +1,25 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp1.0</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<AssemblyName>TestUtils</AssemblyName>
<PackageId>TestUtils</PackageId>
<RuntimeFrameworkVersion>1.0.4</RuntimeFrameworkVersion>
<PackageTargetFallback>$(PackageTargetFallback);dotnet5.4;portable-net451+win8</PackageTargetFallback>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\build\shared-build-targets-utils\Utils\DotNetCli.cs;..\build\shared-build-targets-utils\Utils\EnvVars.cs;..\build\Microsoft.DotNet.Cli.Build.Framework\AnsiConsole.cs;..\build\Microsoft.DotNet.Cli.Build.Framework\AnsiColorExtensions.cs;..\build\Microsoft.DotNet.Cli.Build.Framework\ArgumentEscaper.cs;..\build\Microsoft.DotNet.Cli.Build.Framework\BuildFailureException.cs;..\build\Microsoft.DotNet.Cli.Build.Framework\BuildReporter.cs;..\build\Microsoft.DotNet.Cli.Build.Framework\Command.cs;..\build\Microsoft.DotNet.Cli.Build.Framework\CommandResult.cs;..\build\Microsoft.DotNet.Cli.Build.Framework\Constants.cs;..\build\Microsoft.DotNet.Cli.Build.Framework\Reporter.cs;..\build\Microsoft.DotNet.Cli.Build.Framework\Enumerations\BuildPlatform.cs;..\build\Microsoft.DotNet.Cli.Build.Framework\CurrentPlatform.cs" Exclude="bin\**;obj\**;**\*.xproj;packages\**" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="FluentAssertions" Version="4.0.0" />
<PackageReference Include="System.Runtime.Serialization.Primitives" Version="4.1.1" />
<PackageReference Include="xunit" Version="2.2.0-beta5-build3474" />
<PackageReference Include="xunit.netcore.extensions" Version="1.0.0-prerelease-00206" />
<PackageReference Include="System.Runtime.InteropServices.RuntimeInformation" Version="4.0.0" />
<PackageReference Include="Microsoft.DotNet.InternalAbstractions" Version="1.0.0" />
</ItemGroup>
</Project>

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

@ -1,21 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>42095367-4423-4157-bd31-d1a8e3b823b9</ProjectGuid>
<RootNamespace>Microsoft.DotNet.CoreSetup.Tests.TestUtils</RootNamespace>
</PropertyGroup>
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'" />
<ItemGroup>
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
</ItemGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>

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

@ -1,44 +0,0 @@
{
"version": "1.0.0-*",
"buildOptions": {
"allowUnsafe": true,
"compile": {
"include": [
"../build/shared-build-targets-utils/Utils/DotNetCli.cs",
"../build/shared-build-targets-utils/Utils/EnvVars.cs",
"../build/Microsoft.DotNet.Cli.Build.Framework/AnsiConsole.cs",
"../build/Microsoft.DotNet.Cli.Build.Framework/AnsiColorExtensions.cs",
"../build/Microsoft.DotNet.Cli.Build.Framework/ArgumentEscaper.cs",
"../build/Microsoft.DotNet.Cli.Build.Framework/BuildFailureException.cs",
"../build/Microsoft.DotNet.Cli.Build.Framework/BuildReporter.cs",
"../build/Microsoft.DotNet.Cli.Build.Framework/Command.cs",
"../build/Microsoft.DotNet.Cli.Build.Framework/CommandResult.cs",
"../build/Microsoft.DotNet.Cli.Build.Framework/Constants.cs",
"../build/Microsoft.DotNet.Cli.Build.Framework/Reporter.cs",
"../build/Microsoft.DotNet.Cli.Build.Framework/Enumerations/BuildPlatform.cs",
"../build/Microsoft.DotNet.Cli.Build.Framework/CurrentPlatform.cs"
]
}
},
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0"
},
"FluentAssertions": "4.0.0",
"System.Runtime.Serialization.Primitives": "4.1.1",
"xunit": "2.1.0",
"xunit.netcore.extensions": "1.0.0-prerelease-00206",
"dotnet-test-xunit": "1.0.0-rc2-192208-24",
"System.Runtime.InteropServices.RuntimeInformation": "4.0.0",
"Microsoft.DotNet.InternalAbstractions": "1.0.0-rc2-002702"
},
"frameworks": {
"netcoreapp1.0": {
"imports": [
"dotnet5.4",
"portable-net451+win8"
]
}
}
}

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

@ -1 +1 @@
1.0.0-preview3-003886
2.0.0-preview1-005899

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

@ -43,7 +43,7 @@
<Target Name="RestoreTests">
<ItemGroup>
<RestoreTest Include="$(TestDir)/**/project.json" />
<RestoreTest Include="$(TestDir)/**/*.csproj" />
</ItemGroup>
<PropertyGroup>
@ -61,12 +61,13 @@
<PropertyGroup>
<RestoreSourceArg>@(RestoreTestSource->'--source %(Identity)', ' ')</RestoreSourceArg>
<RestoreSourceArg>$(RestoreSourceArg) @(RestoreTestFallbackSource->'--fallbacksource %(Identity)', ' ')</RestoreSourceArg>
<RestoreSourceArg>$(RestoreSourceArg) @(RestoreTestFallbackSource->'--source %(Identity)', ' ')</RestoreSourceArg>
<RestoreArgs>--disable-parallel --packages "$(PackagesDir.TrimEnd('/\'.ToCharArray()))" $(RestoreSourceArg)</RestoreArgs>
<RestoreArgs>$(RestoreArgs) /p:MNAVersion=$(ProductVersion) /p:TestTargetRid=$(TestTargetRid)</RestoreArgs>
<RestorePrefix Condition="'$(OsEnvironment)' != 'Windows_NT'">DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1</RestorePrefix>
</PropertyGroup>
<Exec Command="$(DotnetTestToolCommand) restore $(RestoreArgs)"
WorkingDirectory="%(RestoreTest.RootDir)%(RestoreTest.Directory)"
<Exec Command="$(RestorePrefix) $(DotnetTestToolCommand) restore $(RestoreArgs) %(RestoreTest.Identity)"
EnvironmentVariables="NUGET_PACKAGES=$(PackagesDir.TrimEnd('/\'.ToCharArray()))" />
</Target>
@ -74,13 +75,13 @@
DependsOnTargets="DetermineTestOutputDirectory">
<PropertyGroup>
<BuildArgs>--build-base-path $(IntermediateOutputForPackaging) --configuration $(ConfigurationGroup)</BuildArgs>
<BuildArgs>--configuration $(ConfigurationGroup)</BuildArgs>
</PropertyGroup>
<Message Text="Building Tests" Importance="High" />
<Message Importance="High" Text="TestProjects: @(TestProjects)" />
<Exec Command="$(DotnetTestToolCommand) build $(BuildArgs) %(TestProjects.Identity)"
WorkingDirectory="%(TestProjects.Identity)"
WorkingDirectory="$([System.IO.Path]::GetDirectoryName(%(TestProjects.Identity)))"
EnvironmentVariables="NUGET_PACKAGES=$(PackagesDir.TrimEnd('/\'.ToCharArray()))" />
</Target>
@ -91,6 +92,7 @@
<PropertyGroup>
<TestProject>%(TestProjects.Identity)</TestProject>
<TestProjectFilename>%(TestProjects.Filename)</TestProjectFilename>
<TestWorkingDirectory>$([System.IO.Path]::GetDirectoryName($(TestProject)))</TestWorkingDirectory>
<DirectorySeparatorChar>$([System.IO.Path]::DirectorySeparatorChar)</DirectorySeparatorChar>
<!-- The tests use the TEST_ARTIFACTS env variable to determine the artifacts folder and then later compare that path to its expected path.
So, the TEST_ARTIFACTS variable has to have system specific path separators or the string compoarison will fail. -->
@ -100,12 +102,11 @@
<PropertyGroup>
<TestArgs>--configuration $(ConfigurationGroup)</TestArgs>
<IsCrossArch Condition="'$(TargetArchitecture)' == 'arm' or '$(TargetArchitecture)' == 'arm64' or '$(TargetArchitecture)' == 'armel'">true</IsCrossArch>
<TestResultsXml>$(TestsOutputDir)$(TestProjectFilename)-testResults.xml</TestResultsXml>
<TestResultsXml>$(TestsOutputDir)$(TestProjectFilename)-testResults.trx</TestResultsXml>
</PropertyGroup>
<Exec Command="$(DotnetTestToolCommand) test $(TestArgs) -xml $(TestResultsXml) -notrait category=failing"
WorkingDirectory="$(TestProject)"
EnvironmentVariables="NUGET_PACKAGES=$(PackagesDir);TEST_ARTIFACTS=$(SystemPathTestsOutputDir);TEST_TARGETRID=$(TestTargetRid);BUILDRID=$(TargetRid)"
<Exec Command="$(DotnetTestToolCommand) test $(TestArgs) --logger &quot;trx;LogFileName=$(TestResultsXml)&quot;"
WorkingDirectory="$(TestWorkingDirectory)"
EnvironmentVariables="NUGET_PACKAGES=$(PackagesDir);TEST_ARTIFACTS=$(SystemPathTestsOutputDir);TEST_TARGETRID=$(TestTargetRid);BUILDRID=$(TargetRid);MNA_VERSION=$(ProductVersion)"
Condition="'$(TestProjectFilename)' != 'HostActivationTests' or '$(IsCrossArch)' != 'true'"
ContinueOnError="true"
IgnoreStandardErrorWarningFormat="true"

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

@ -8,8 +8,8 @@
</PropertyGroup>
<ItemGroup>
<TestProjects Include="$(TestDir)/HostActivationTests" />
<TestProjects Include="$(TestDir)/Microsoft.Extensions.DependencyModel.Tests" />
<TestProjects Include="$(TestDir)/HostActivationTests/HostActivationTests.csproj" />
<TestProjects Include="$(TestDir)/Microsoft.Extensions.DependencyModel.Tests/Microsoft.Extensions.DependencyModel.Tests.csproj" />
</ItemGroup>
<ItemGroup>
<RestoreTestFallbackSource Include="$(CoreHostOutputDir.TrimEnd('/\'.ToCharArray()))" />

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

@ -8,6 +8,7 @@ using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using Microsoft.Build.Utilities;
namespace Microsoft.DotNet.Build.Tasks
@ -21,7 +22,7 @@ namespace Microsoft.DotNet.Build.Tasks
public class GetBuildArgsByFrameworks : BuildTask
{
[Required]
public ITaskItem[] ProjectJsonPaths { get; set; }
public ITaskItem[] ProjectPaths { get; set; }
[Required]
public string OSGroup { get; set; }
[Output]
@ -29,23 +30,20 @@ namespace Microsoft.DotNet.Build.Tasks
public override bool Execute()
{
List<string> args = new List<string>();
foreach (var projectJsonPath in ProjectJsonPaths)
foreach (var projectPath in ProjectPaths)
{
using (TextReader projectFileReader = File.OpenText(projectJsonPath.ItemSpec))
string text = File.ReadAllText(projectPath.ItemSpec);
Match match = Regex.Match(text, "<TargetFrameworks>(.*)</TargetFrameworks>");
if (match.Groups.Count == 2)
{
var projectJsonReader = new JsonTextReader(projectFileReader);
var serializer = new JsonSerializer();
var project = serializer.Deserialize<JObject>(projectJsonReader);
var dir = Path.GetDirectoryName(projectJsonPath.ItemSpec);
var frameworksSection = project.Value<JObject>("frameworks");
foreach (var framework in frameworksSection.Properties())
string[] tfms = match.Groups[1].Value.Split(';');
foreach (string framework in tfms)
{
if (OSGroup == "Windows_NT"
|| framework.Name.StartsWith("netstandard")
|| framework.Name.StartsWith("netcoreapp"))
|| framework.StartsWith("netstandard")
|| framework.StartsWith("netcoreapp"))
{
args.Add($"--framework {framework.Name} {dir}");
args.Add($"--framework {framework} {projectPath}");
}
}
}