Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actually merge from main #2

Merged
merged 72 commits into from
Apr 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
afba0bd
update tensorflow.net to 0.20.0 (#5404)
LittleLittleCloud Oct 13, 2020
82d4bb7
ProduceWordBags Onnx Export Fix (#5435)
Lynx1820 Oct 15, 2020
d95fe38
[SrCnnEntireAnomalyDetector] Upgrade boundary calculation and expecte…
guinao Oct 19, 2020
212b5df
Update OnnxRuntime to 1.5.2 (#5439)
antoniovs1029 Oct 20, 2020
f5aa7da
Fixed MacOS CI Pipeline builds (#5457)
mstfbl Oct 26, 2020
ea374c1
Improving error message (#5444)
Lynx1820 Oct 27, 2020
a9ab7fc
Fixed MacOS daily & nightly builds due to Homebrew bug (#5467)
mstfbl Oct 29, 2020
6ccf479
Auto.ML: Fix issue when parsing float string fails on pl-PL culture s…
ptelman Oct 30, 2020
7961575
handle exception during GetNextPipeline for AutoML (#5455)
frank-dong-ms-zz Oct 30, 2020
a0e959c
Changing LoadRawImages Sample (#5460)
Lynx1820 Nov 2, 2020
600d48d
Use Timer and ctx.CancelExecution() to fix AutoML max-time experiment…
mstfbl Nov 3, 2020
4a30bf5
fix issue 5020, allow ML.NET to load tf model with primitive input an…
frank-dong-ms-zz Nov 5, 2020
c255ac7
maxModels instead of time for AutoML unit test (#5471)
justinormont Nov 10, 2020
0c3f584
Disabling AutoFitMaxExperimentTimeTest
antoniovs1029 Nov 25, 2020
652abaa
Fix AutoFitMaxExperimentTimeTest (#5506)
mstfbl Dec 1, 2020
d257b88
Fix SR anomaly score calculation at beginning (#5502)
guinao Dec 2, 2020
c2f8ed5
Merge arcade to master (#5525)
harishsk Dec 3, 2020
5509110
fix benchmark test timeout issue (#5530)
frank-dong-ms-zz Dec 5, 2020
f28dfb3
removed old build stuff (#5531)
michaelgsharp Dec 6, 2020
bd0e5d0
Fixes Code Coverage in Arcade (#5528)
Lynx1820 Dec 7, 2020
9a5f235
Removed CODEOWNERS file to unify review process (#5535)
harishsk Dec 7, 2020
b836658
Fix publishing problems (#5538)
antoniovs1029 Dec 8, 2020
50f5b42
Updated prerelease label (#5540)
antoniovs1029 Dec 8, 2020
b927a0f
Fix warnings from CI Build (#5541)
frank-dong-ms-zz Dec 8, 2020
4549956
Updated build instructions (#5534)
mstfbl Dec 8, 2020
0c6238e
removed the rest of the old pkg references: (#5537)
michaelgsharp Dec 9, 2020
6a413ed
Perf improvement for TopK Accuracy and return all topK in Classificat…
jasallen Dec 9, 2020
6d5e79c
Fixed Spelling on stopwords (#5524)
LeoGaunt Dec 9, 2020
2a6cf9d
Changes to onnx export. (#5544)
michaelgsharp Dec 10, 2020
02b1fa6
Add back missing test project from running on arcade (#5545)
frank-dong-ms-zz Dec 10, 2020
26066f7
[CodeGenerator] Fix MLNet.CLI build error. (#5546)
LittleLittleCloud Dec 10, 2020
5318cc2
Fixed AutoML CrossValSummaryRunner for TopKAccuracyForAllK (#5548)
antoniovs1029 Dec 11, 2020
3e72d19
Tensorflow fix (#5547)
frank-dong-ms-zz Dec 11, 2020
5038e81
Update to OnnxRuntime 1.6.0 and fixed bug with sequences outputs (#5529)
antoniovs1029 Dec 11, 2020
54313b9
added in DcgTruncationLevel to AutoML api (#5433)
michaelgsharp Dec 12, 2020
e3597cd
Created release notes for v1.5.3 (#5543)
harishsk Dec 12, 2020
ae4d85c
Forward logs of Experiment's sub MLContexts to main MLContext (#5554)
mstfbl Dec 16, 2020
777f4ce
Update Stale docs (#5550)
antoniovs1029 Dec 16, 2020
70ecfff
continueOnError on Brew Workaround (#5555)
antoniovs1029 Dec 16, 2020
6fe50e4
Fix publishing symbols (#5556)
antoniovs1029 Dec 17, 2020
331ea1c
Updated version to 1.5.4 (#5557)
harishsk Dec 17, 2020
0fca56c
Fixed version numbers in the right place (#5558)
harishsk Dec 17, 2020
59d6b4f
eng (#5560)
harishsk Dec 18, 2020
3d53995
Renamed release notes file (#5561)
harishsk Dec 18, 2020
cf7dbff
Add SymSgdNative reference to AutoML.Tests.csproj (#5559)
antoniovs1029 Dec 18, 2020
56e82be
Nuget.config url fix for roslyn compilers (#5584)
michaelgsharp Jan 13, 2021
c2ddff1
added in note that PredictionEngine is not thread safe (#5583)
michaelgsharp Jan 13, 2021
927a61a
Onnx Export for ValueMapping estimator (#5577)
Lynx1820 Jan 15, 2021
c9ed772
Fixed Averaged Perceptron default value (#5586)
michaelgsharp Jan 21, 2021
43290c3
fixing official build (#5596)
michaelgsharp Jan 22, 2021
a44cdaf
Release/1.5.4 fix (#5599)
michaelgsharp Jan 26, 2021
9e78947
Remove references to Microsoft.ML.Scoring (#5602)
ericstj Jan 27, 2021
4466029
Make ColumnInference serializable (#5611)
LittleLittleCloud Feb 3, 2021
335330d
fixerd nuget.config (#5614)
michaelgsharp Feb 9, 2021
3d3d45c
Fix issue in SRCnnEntireAnomalyDetector (#5579)
guinao Feb 9, 2021
05ef676
Offer suggestions for possibly mistyped label column names in AutoML …
Crabzmatic Feb 18, 2021
5ec4472
TimeSeries - fix confidence parameter type for some detectors (#4058)…
esso23 Feb 18, 2021
1d52f39
Update Conversion.cs (#5627)
4201104140 Feb 22, 2021
cd7c46e
Documentation updates (#5635)
michaelgsharp Mar 2, 2021
f93fa09
AutoML aggregate exception (#5631)
michaelgsharp Mar 2, 2021
447ae1d
Treat TensorFlow output as non-batched. (#5634)
michaelgsharp Mar 3, 2021
58450d4
Added in release notes for 1.5.5 (#5639)
michaelgsharp Mar 3, 2021
8dd47c1
updating version after release (#5642)
michaelgsharp Mar 4, 2021
b916d37
Move DataFrame to machinelearning (#5641)
Mar 11, 2021
b741eb5
Update to the latest Microsoft.DotNet.Interactive (#5710)
eerhardt Mar 15, 2021
2c8afeb
added main branch to yml files (#5715)
michaelgsharp Mar 16, 2021
17aec1e
Renamed master to main (#5717)
michaelgsharp Mar 17, 2021
82b4838
renamed master to main (#5719)
michaelgsharp Mar 19, 2021
2d3fd3d
IDataView to DataFrame (#5712)
Mar 22, 2021
b02b6e1
Improve csv parsing (#5711)
Mar 23, 2021
04dda55
Fix doc markdown (#5732)
R0Wi Mar 30, 2021
ebc431f
Use Official package for SharpZipLib (#5735)
ericstj Apr 14, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,8 @@ dotnet_diagnostic.MSML_ExtendBaseTestClass.severity = none
# The MSML_RelaxTestNaming suppressor for VSTHRD200 is not active for CodeAnalyzer.Tests, so we disable it altogether.
# VSTHRD200: Use "Async" suffix for async methods
dotnet_diagnostic.VSTHRD200.severity = none

# Xml project files
[*.{csproj}]
indent_size = 2
charset = utf-8
14 changes: 0 additions & 14 deletions .github/CODEOWNERS

This file was deleted.

7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore

# Tool Runtime Dir
/[Tt]ools/
/.dotnet/
/.packages/

# User-specific files
*.suo
Expand Down Expand Up @@ -226,7 +227,7 @@ ClientBin/
*.publishsettings
orleans.codegen.cs

# Including strong name files can present a security risk
# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk

Expand Down Expand Up @@ -323,7 +324,7 @@ __pycache__/
# OpenCover UI analysis results
OpenCover/

# Azure Stream Analytics local run output
# Azure Stream Analytics local run output
ASALocalRun/

# MSBuild Binary and Structured Log
Expand Down
6 changes: 3 additions & 3 deletions .vsts-dotnet-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resources:
containers:
- container: CentosContainer
image: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-mlnet-8bba86b-20190314145033

- container: UbuntuContainer
image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-mlnet-20200515184230-2c829e8

Expand All @@ -29,7 +29,7 @@ jobs:
_targetFramework: netcoreapp3.1
innerLoop: true
pool:
name: Hosted Ubuntu 1604
name: Hosted Ubuntu 1604

- template: /build/ci/job-template.yml
parameters:
Expand All @@ -38,7 +38,7 @@ jobs:
container: UbuntuContainer
innerLoop: true
pool:
name: Hosted Ubuntu 1604
name: Hosted Ubuntu 1604

- template: /build/ci/job-template.yml
parameters:
Expand Down
1 change: 0 additions & 1 deletion BuildToolsVersion.txt

This file was deleted.

142 changes: 46 additions & 96 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,117 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<!-- Directory.Build.props contains the common build settings for all projects in the repo. -->

<Import Project="build/BranchInfo.props" />
<Import Project="build/Dependencies.props" />
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />

<Import Project="eng/BranchInfo.props" />
<Import Project="eng/ExternalBenchmarkDataFiles.props" />
<Import Project="eng/TensorflowMetaFiles.props" />

<PropertyGroup>
<CreateSymbolicLinksForPublishFilesIfPossible>true</CreateSymbolicLinksForPublishFilesIfPossible>
</PropertyGroup>

<PropertyGroup>
<Copyright>$(CopyrightNetFoundation)</Copyright>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<DebugType>portable</DebugType>
<DebugSymbols>true</DebugSymbols>
<LangVersion>latest</LangVersion>
</PropertyGroup>

<PropertyGroup>
<Configuration Condition="'$(Configuration)'==''">Debug</Configuration>
<Configurations>Debug;Release;Debug-netcoreapp3_1;Release-netcoreapp3_1;Debug-netfx;Release-netfx</Configurations>
<Platform Condition="'$(Platform)'==''">AnyCPU</Platform>
<TargetArchitecture Condition="'$(TargetArchitecture)' == ''">x64</TargetArchitecture>
<NativeTargetArchitecture Condition="'$(NativeTargetArchitecture)' == ''">$(TargetArchitecture)</NativeTargetArchitecture>
<PlatformConfig>$(Platform).$(Configuration)</PlatformConfig>
<StrongNameKeyId>Open</StrongNameKeyId>
</PropertyGroup>

<PropertyGroup>
<RestoreSources>
https://api.nuget.org/v3/index.json;
https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json;
https://dotnet.myget.org/F/dotnet-core/api/v3/index.json;
https://dotnet.myget.org/F/roslyn-analyzers/api/v3/index.json;
https://pkgs.dev.azure.com/dnceng/public/_packaging/MachineLearning/nuget/v3/index.json;
https://pkgs.dev.azure.com/dnceng/public/_packaging/machinelearning-testdata/nuget/v3/index.json;
</RestoreSources>
</PropertyGroup>

<!-- Common repo directories -->
<PropertyGroup>
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
<SourceDir>$(RepoRoot)src/</SourceDir>
<PackageAssetsPath>$(ArtifactsDir)pkgassets/</PackageAssetsPath>
<PkgDir>$(RepoRoot)pkg/</PkgDir>

<!-- Output directories -->
<BinDir Condition="'$(BinDir)'==''">$([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'bin'))</BinDir>
<BaseOutputPath Condition="'$(BaseOutputPath)'==''">$(BinDir)</BaseOutputPath>
<ObjDir Condition="'$(ObjDir)'==''">$([MSBuild]::NormalizeDirectory('$(BinDir)', 'obj'))</ObjDir>
<RootIntermediateOutputPath Condition="'$(RootIntermediateOutputPath)'==''">$(ObjDir)</RootIntermediateOutputPath>

<IntermediateOutputRootPath Condition="'$(IntermediateOutputRootPath)' == ''">$(RootIntermediateOutputPath)$(PlatformConfig)\</IntermediateOutputRootPath>
<IntermediateOutputPath Condition="'$(IntermediateOutputPath)' == ''">$(IntermediateOutputRootPath)$(MSBuildProjectName)\</IntermediateOutputPath>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)' == ''">$(IntermediateOutputPath)</BaseIntermediateOutputPath>

<OutputPath Condition="'$(OutputPath)'==''">$(BaseOutputPath)$(PlatformConfig)\$(MSBuildProjectName)\</OutputPath>

<PackageAssetsPath>$(ObjDir)/packages/</PackageAssetsPath>

<PackageOutputPath Condition="'$(PackageOutputPath)'=='' and '$(NonShippingPackage)' == 'true'">$(BinDir)packages_noship/</PackageOutputPath>
<PackageOutputPath Condition="'$(PackageOutputPath)'==''">$(BinDir)packages/</PackageOutputPath>

<NativeOutputPath>$(BaseOutputPath)$(NativeTargetArchitecture).$(Configuration)\Native\</NativeOutputPath>

<!-- Input Directories -->
<PackagesDir>$(DotNetRestorePackagesPath)</PackagesDir>
<PackagesDir Condition="'$(PackagesDir)'==''">$(RepoRoot)packages/</PackagesDir>
<RestorePackagesPath>$(PackagesDir)</RestorePackagesPath>
<ToolsDir Condition="'$(ToolsDir)'==''">$(RepoRoot)Tools/</ToolsDir>
</PropertyGroup>

<Import Project="$(ToolsDir)BuildVersion.targets"
Condition="Exists('$(ToolsDir)BuildVersion.targets')" />

<!-- Version properties -->
<PropertyGroup>
<VersionPrefix>$(MajorVersion).$(MinorVersion).$(PatchVersion)</VersionPrefix>
<BuildNumberMajor Condition="'$(BuildNumberMajor)' == ''">00001</BuildNumberMajor>
<BuildNumberMinor Condition="'$(BuildNumberMinor)' == ''">0</BuildNumberMinor>
<AssemblyFileVersion Condition="'$(AssemblyFileVersion)'==''">$(MajorVersion).$(MinorVersion).$(BuildNumberMajor).$(BuildNumberMinor)</AssemblyFileVersion>

<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">false</StabilizePackageVersion>
<IncludeBuildNumberInPackageVersion Condition="'$(IncludeBuildNumberInPackageVersion)' == '' and '$(StabilizePackageVersion)' != 'true'">true</IncludeBuildNumberInPackageVersion>

<VersionSuffix Condition="'$(IncludeBuildNumberInPackageVersion)' == 'true'">$(BuildNumberMajor)-$(BuildNumberMinor)</VersionSuffix>
<NoPackageAnalysis>true</NoPackageAnalysis>
</PropertyGroup>

<!-- SourceLink properties used by dotnet/buildtools - need to be set before importing $(ToolsDir)versioning.props -->
<PropertyGroup>
<UseSourceLink>true</UseSourceLink>
<GitHubRepositoryName>machinelearning</GitHubRepositoryName>
</PropertyGroup>

<!--
Source code control properties used by the .NET Core SDK to inject SCC info into the NuGet package.
In future versions, these will be used for SourceLink and to generate AssemblyInfo.
-->
<PropertyGroup>
<PrivateRepositoryUrl>https://github.com/dotnet/$(GitHubRepositoryName)</PrivateRepositoryUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<SourceRevisionId>$(LatestCommit)</SourceRevisionId>
</PropertyGroup>

<Import Project="$(ToolsDir)versioning.props"
Condition="Exists('$(ToolsDir)versioning.props') and '$(DisableImportVersioningProps)' != 'true'" />

<!-- Language configuration -->
<PropertyGroup>
<LangVersion Condition="'$(MSBuildProjectExtension)'=='.csproj'">8.0</LangVersion>
<LangVersion Condition="'$(MSBuildProjectExtension)'=='.fsproj'">4.7</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>

<PropertyGroup>
<RunningOnUnix Condition="'$(OS)'!='Windows_NT'">true</RunningOnUnix>
</PropertyGroup>

<!-- Signing properties -->
<PropertyGroup>
<AssemblyOriginatorKeyFile Condition="'$(AssemblyOriginatorKeyFile)' == ''">$(ToolsDir)Open.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
</PropertyGroup>

<!-- Need to explicitly set these properties for the -netcoreapp3_1 or -netfx configurations becuase they are typically based off 'Debug' or 'Release' configs -->
Expand All @@ -125,4 +45,34 @@
<Optimize>true</Optimize>
</PropertyGroup>

<PropertyGroup>
<!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>

<!-- Optional: Embed source files that are not tracked by the source control manager in the PDB -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>

<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<PropertyGroup Condition="'$(DotNetBuildFromSource)' == 'true'">
<!--
When building using source-build the process is:
- Newtonsoft.Json versions 9.0.1 and 12.0.2 are built by source-build
- Version 12.0.2 is written to Version.props
- Arcade needs to use 9.0.1 so we need to override Version.props value here
-->
<NewtonsoftJsonVersion>9.0.1</NewtonsoftJsonVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(DotNetBuildOffline)' == 'true'">
<!--
Arcade has a special version prop for CodeAnalysis.CSharp in GenFacades
to try to match the version loaded by msbuild. In the offline build, this
is simply the source-built version.
-->
<MsbuildTaskMicrosoftCodeAnalysisCSharpVersion>$(MicrosoftCodeAnalysisCSharpVersion)</MsbuildTaskMicrosoftCodeAnalysisCSharpVersion>
</PropertyGroup>
</Project>
114 changes: 73 additions & 41 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,51 +1,83 @@
<Project InitialTargets="CheckForBuildTools">
<?xml version="1.0" encoding="utf-8"?>
<Project>
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" />

<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="16.5.132" PrivateAssets="all" />
<ItemGroup Condition="'$(IsUnitTestProject)' == 'true'">
<PackageReference Include="coverlet.msbuild" Version="2.9.0" PrivateAssets="all" />
</ItemGroup>

<Target Name="CheckForBuildTools">
<Error Condition="!Exists('$(ToolsDir)')"
Text="The tools directory [$(ToolsDir)] does not exist. Please run build in the root of the repo to ensure the tools are installed before attempting to build an individual project." />
</Target>
<Target Name="CopyNativeAssembiles" AfterTargets="CopyFilesToOutputDirectory">
<PropertyGroup>
<LibPrefix Condition="'$(OS)' != 'Windows_NT'">lib</LibPrefix>
<LibExtension Condition="'$(OS)' == 'Windows_NT'">.dll</LibExtension>
<LibExtension Condition="'$(OS)' != 'Windows_NT'">.so</LibExtension>
<LibExtension Condition="$([MSBuild]::IsOSPlatform('osx'))">.dylib</LibExtension>

<Target Name="CopyNativeAssemblies"
BeforeTargets="PrepareForRun">
<TargetArchitecture Condition="'$(Platform)' == ''">x64</TargetArchitecture>
<NativeTargetArchitecture Condition="'$(NativeTargetArchitecture)' == ''">$(TargetArchitecture)</NativeTargetArchitecture>
<BinDir Condition="'$(BinDir)'==''">$([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'artifacts', 'bin'))</BinDir>
<NativeOutputPath>$(BinDir)Native\$(NativeTargetArchitecture).$(Configuration)\</NativeOutputPath>

<PropertyGroup>
<LibPrefix Condition="'$(OS)' != 'Windows_NT'">lib</LibPrefix>
<LibExtension Condition="'$(OS)' == 'Windows_NT'">.dll</LibExtension>
<LibExtension Condition="'$(OS)' != 'Windows_NT'">.so</LibExtension>
<LibExtension Condition="$([MSBuild]::IsOSPlatform('osx'))">.dylib</LibExtension>
</PropertyGroup>

<ItemGroup>
<NativeAssemblyReference>
<FullAssemblyPath>$(NativeOutputPath)$(LibPrefix)%(NativeAssemblyReference.Identity)$(LibExtension)</FullAssemblyPath>
</NativeAssemblyReference>
</ItemGroup>

<Copy SourceFiles = "@(NativeAssemblyReference->'%(FullAssemblyPath)')"
DestinationFolder="$(OutputPath)"
OverwriteReadOnlyFiles="$(OverwriteReadOnlyFiles)"
Retries="$(CopyRetryCount)"
RetryDelayMilliseconds="$(CopyRetryDelayMilliseconds)"
UseHardlinksIfPossible="$(CreateHardLinksForPublishFilesIfPossible)"
UseSymboliclinksIfPossible="$(CreateSymbolicLinksForPublishFilesIfPossible)">
<Output TaskParameter="DestinationFiles" ItemName="FileWrites"/>
</Copy>
<Platform Condition="'$(Platform)'==''">AnyCPU</Platform>
<PlatformConfig>$(Platform).$(Configuration)</PlatformConfig>
<OutputPath Condition="'$(OutputPath)'==''">$(BinDir)$(MSBuildProjectName)\Debug</OutputPath>
</PropertyGroup>

<ItemGroup>
<NativeAssemblyReference>
<FullAssemblyPath>$(NativeOutputPath)$(LibPrefix)%(NativeAssemblyReference.Identity)$(LibExtension)</FullAssemblyPath>
</NativeAssemblyReference>
</ItemGroup>

<Copy SourceFiles = "@(NativeAssemblyReference->'%(FullAssemblyPath)')"
DestinationFolder="$(OutDir)"
OverwriteReadOnlyFiles="$(OverwriteReadOnlyFiles)"
Retries="$(CopyRetryCount)"
RetryDelayMilliseconds="$(CopyRetryDelayMilliseconds)"
UseHardlinksIfPossible="$(CreateHardLinksForPublishFilesIfPossible)"
UseSymboliclinksIfPossible="$(CreateSymbolicLinksForPublishFilesIfPossible)">
<Output TaskParameter="DestinationFiles" ItemName="FileWrites"/>
</Copy>
</Target>

<Import Project="$(ToolsDir)/versioning.targets" Condition="Exists('$(ToolsDir)/versioning.targets')" />
<PropertyGroup Condition="'$(Coverage)' == 'true'">
<!-- https://github.com/tonerdo/coverlet/issues/363 -->
<DeterministicSourcePaths>false</DeterministicSourcePaths>

<!-- https://github.com/tonerdo/coverlet/issues/618 -->
<IncludeTestAssembly>true</IncludeTestAssembly>

<!-- Workaround: AssemblyInfo.cs is not embedded -->
<!-- https://github.com/dotnet/sourcelink/issues/572 -->
<PropertyGroup>
<TargetFrameworkMonikerAssemblyAttributesPath>$([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)'))</TargetFrameworkMonikerAssemblyAttributesPath>
<CollectCoverage>true</CollectCoverage>
<SingleHit>true</SingleHit>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<CoverletOutputFormat>opencover</CoverletOutputFormat>
<CoverletOutput>$(BaseOutputPath)$(PlatformConfig)\coverage\coverage.opencover.xml</CoverletOutput>
<Include></Include>
<Exclude></Exclude>
<ExcludeByAttribute>ExcludeFromCodeCoverage</ExcludeByAttribute>
<ExcludeByFile></ExcludeByFile>
</PropertyGroup>
<ItemGroup>
<EmbeddedFiles Include="$(GeneratedAssemblyInfoFile)"/>
</ItemGroup>

</Project>
<Target Name="OuterInstrumentModulesNoBuild" BeforeTargets="RunTests" Condition="'$(IsUnitTestProject)' == 'true' AND '$(TargetFramework)' == ''">
<MSBuild
Projects="$(MSBuildProjectFullPath)"
Targets="InnerInstrumentModulesNoBuild"
Properties="TargetFramework=%(_TargetFramework.Identity)" />
</Target>

<Target Name="OuterGenerateCoverageResult" BeforeTargets="Test" Condition="'$(IsUnitTestProject)' == 'true' AND '$(TargetFramework)' == ''">
<MSBuild
Projects="$(MSBuildProjectFullPath)"
Targets="InnerGenerateCoverageResult"
Properties="TargetFramework=%(_TargetFramework.Identity)" />
</Target>

<Target Name="InnerInstrumentModulesNoBuild"
BeforeTargets="RunTests"
DependsOnTargets="InstrumentModules"
Condition="'$(IsUnitTestProject)' == 'true' AND '$(TargetFramework)' != '' AND '$(CollectCoverage)' == 'true'" />

<Target Name="InnerGenerateCoverageResult"
BeforeTargets="Test"
DependsOnTargets="GenerateCoverageResult"
Condition="'$(IsUnitTestProject)' == 'true' AND '$(TargetFramework)' != '' AND '$(CollectCoverage)' == 'true'" />
</Project>
1 change: 0 additions & 1 deletion DotnetCLIVersion.txt

This file was deleted.

1 change: 0 additions & 1 deletion DotnetExtraRuntimeVersion.txt

This file was deleted.

Loading