diff --git a/Cone.nuspec b/Cone.nuspec index 8224fd9..c28c87b 100644 --- a/Cone.nuspec +++ b/Cone.nuspec @@ -18,11 +18,13 @@ Say no to FluentCobol, say hello to Check.That(() => actual == expected); Let's get this NuGet party started. https://github.com/drunkcod/Cone + + + - diff --git a/Source/Cone.TestAdapter/Cone.TestAdapter.csproj b/Source/Cone.TestAdapter/Cone.TestAdapter.csproj index d1882ec..81ff0fd 100644 --- a/Source/Cone.TestAdapter/Cone.TestAdapter.csproj +++ b/Source/Cone.TestAdapter/Cone.TestAdapter.csproj @@ -7,9 +7,10 @@ - + + - + diff --git a/Source/Cone.Worker/Cone.Worker.csproj b/Source/Cone.Worker/Cone.Worker.csproj index cfcf8da..426d2bd 100644 --- a/Source/Cone.Worker/Cone.Worker.csproj +++ b/Source/Cone.Worker/Cone.Worker.csproj @@ -2,7 +2,7 @@ Exe - net45;netcoreapp2.0;netcoreapp2.1 + net45;net462;netcoreapp2.0;netcoreapp2.1;netcoreapp2.2 diff --git a/Source/Cone.Worker/Program.cs b/Source/Cone.Worker/Program.cs index f279290..3decbce 100644 --- a/Source/Cone.Worker/Program.cs +++ b/Source/Cone.Worker/Program.cs @@ -28,7 +28,7 @@ static int Main(string[] args) static string GetConePath(string workingDir) => Path.Combine(workingDir, "Cone.dll"); static bool RanInTestDomain(string target, string workingDir, string[] args, out int result) { -#if NET45 +#if NET45 || NET462 var targetConfig = target + ".config"; if(!File.Exists(targetConfig) || !AppDomain.CurrentDomain.IsDefaultAppDomain()) { result = 0; @@ -46,7 +46,7 @@ static int Main(string[] args) new System.Security.PermissionSet(System.Security.Permissions.PermissionState.Unrestricted)); result = testDomain.ExecuteAssembly(new Uri(typeof(Program).Assembly.CodeBase).LocalPath, args); return true; -#elif NETCOREAPP2_0 || NETCOREAPP2_1 +#elif NETCOREAPP2_0 || NETCOREAPP2_1 || NETCOREAPP2_2 result = 0; return false; #endif diff --git a/Source/Cone/Cone.csproj b/Source/Cone/Cone.csproj index 8ba1355..3dba8a7 100644 --- a/Source/Cone/Cone.csproj +++ b/Source/Cone/Cone.csproj @@ -2,10 +2,13 @@ net45;netstandard2.0 + NETSTANDARD + NETFX + $(DefineConstants);$(TargetFrameworkFamily) - + diff --git a/Source/Cone/Core/AssemblyLoader.cs b/Source/Cone/Core/AssemblyLoader.cs index 031f52a..bbd6a33 100644 --- a/Source/Cone/Core/AssemblyLoader.cs +++ b/Source/Cone/Core/AssemblyLoader.cs @@ -7,16 +7,15 @@ namespace Cone.Core { using System.IO; -#if NET45 +#if NETFX static class AssemblyLoader { - public static Assembly LoadFrom(string path) { - Console.WriteLine($"Loading {path}"); - return Assembly.LoadFrom(path); - } + public static Assembly LoadFrom(string path) => + Assembly.LoadFrom(path); public static void InitDeps(string mainAssembly) { } } + #else using System.Runtime.Loader; using Microsoft.DotNet.PlatformAbstractions; @@ -39,12 +38,12 @@ public void Load(DependencyItem dep) try { var loaded = Default.LoadFromAssemblyPath(dep.Path); knownAssemblies.Add(loaded.GetName(), loaded); - } catch(Exception ex) { + } catch { LoadingLog?.WriteLine($"Ooops when loading {dep.Path}"); } } else try { LoadUnmanagedDllFromPath(dep.Path); - }catch(Exception ex) { + }catch { LoadingLog?.WriteLine($"Ooops when loading {dep.Path}"); } } diff --git a/Source/Conesole/Conesole.csproj b/Source/Conesole/Conesole.csproj index f092060..2b18fbe 100644 --- a/Source/Conesole/Conesole.csproj +++ b/Source/Conesole/Conesole.csproj @@ -24,7 +24,7 @@ - + diff --git a/Source/Version.cs b/Source/Version.cs index 523ac7d..c516301 100644 --- a/Source/Version.cs +++ b/Source/Version.cs @@ -2,5 +2,5 @@ using System.Runtime.InteropServices; [assembly: ComVisible(false)] -[assembly: AssemblyVersion("2018.08.02")] -[assembly: AssemblyInformationalVersion("2018.08.02")] \ No newline at end of file +[assembly: AssemblyVersion("2019.05.07")] +[assembly: AssemblyInformationalVersion("2019.05.07")] \ No newline at end of file diff --git a/Source/dotnet-conesole/Program.cs b/Source/dotnet-conesole/Program.cs index 1350392..1a1e1e3 100644 --- a/Source/dotnet-conesole/Program.cs +++ b/Source/dotnet-conesole/Program.cs @@ -112,15 +112,17 @@ static int RunConesole(string fxVersion, IEnumerable args) case "net452": case "net46": case "net461": + return (Path.Combine(probePath, "net45", "Cone.Worker.exe"), false); case "net462": case "net47": case "net471": case "net472": - return (Path.Combine(probePath, "net45", "Cone.Worker.exe"), false); + return (Path.Combine(probePath, "net462", "Cone.Worker.exe"), false); case "netcoreapp2.0": + case "netcoreapp2.1": return (Path.Combine(probePath, fxVersion, "Cone.Worker.dll"), true); } - return (Path.Combine(probePath, "netcoreapp2.1", "Cone.Worker.dll"), true); + return (Path.Combine(probePath, "netcoreapp2.2", "Cone.Worker.dll"), true); } static TargetCollection GetTargetInfo(CommandSettings settings) { diff --git a/Specs/Cone.Specs/Cone.Specs.csproj b/Specs/Cone.Specs/Cone.Specs.csproj index 203cf42..7b8e3fd 100644 --- a/Specs/Cone.Specs/Cone.Specs.csproj +++ b/Specs/Cone.Specs/Cone.Specs.csproj @@ -13,8 +13,8 @@ - - + + diff --git a/output.xml b/output.xml new file mode 100644 index 0000000..d10f054 --- /dev/null +++ b/output.xml @@ -0,0 +1,2616 @@ + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + true + + + $(ProjectExtensionsPathForSpecifiedProject) + + + + + true + true + true + true + true + + + + <_DirectoryBuildPropsFile Condition="'$(_DirectoryBuildPropsFile)' == ''">Directory.Build.props + <_DirectoryBuildPropsBasePath Condition="'$(_DirectoryBuildPropsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildPropsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildPropsBasePath)', '$(_DirectoryBuildPropsFile)')) + + + + + + $(TargetFramework) + $(TargetFrameworks) + + + <_TargetFramework Include="$(Fx.Split(';'))" /> + + + + + + + + + ; + $(MSBuildProjectName); + $(OutputPath); + $(Configuration); + $(TargetFileName); + $(TargetFramework); + + + + + + + + $(MSBuildThisFileDirectory)\Build\obj\$(MSBuildProjectName)\ + $(MSBuildThisFileDirectory)\Build\$(MSBuildProjectName)\$(Configuration) + $(MSBuildThisFileDirectory) + + + Torbjörn Gyllebring + Ergonomic unit testing for .NET + https://github.com/drunkcod/Cone + + + + + + obj\ + $(BaseIntermediateOutputPath)\ + <_InitialBaseIntermediateOutputPath>$(BaseIntermediateOutputPath) + $(BaseIntermediateOutputPath) + + $([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(MSBuildProjectExtensionsPath)')) + $(MSBuildProjectExtensionsPath)\ + true + <_InitialMSBuildProjectExtensionsPath Condition=" '$(ImportProjectExtensionProps)' == 'true' ">$(MSBuildProjectExtensionsPath) + + + + True + NuGet + D:\Home\Cone\Build\obj\Cone\project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\tobbe\.nuget\packages\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder + PackageReference + 4.9.3 + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + + + + + + + + 11.0 + 10.0 + + + + $(MSBuildExtensionsPath)\v4.0\Custom.Before.$(MSBuildThisFile) + $(MSBuildExtensionsPath)\v4.0\Custom.After.$(MSBuildThisFile) + + + + + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.Before.$(MSBuildThisFile) + $(MSBuildExtensionsPath)\v$(MSBuildToolsVersion)\Custom.After.$(MSBuildThisFile) + + + + + + true + + + $(DefaultProjectConfiguration) + $(DefaultProjectPlatform) + + + WJProject + JavaScript + + + + + GetTargetFrameworks;.default;GetNativeManifest;GetCopyToOutputDirectoryItems;$(ProjectReferenceTargetsForBuild) + GetTargetFrameworks;Clean;$(ProjectReferenceTargetsForClean) + $(ProjectReferenceTargetsForBuild);$(ProjectReferenceTargetsForClean);$(ProjectReferenceTargetsForRebuild) + + + + + + + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + true + + + + Debug;Release + AnyCPU + Debug + AnyCPU + + + + Library + 512 + prompt + $(MSBuildProjectName) + $(MSBuildProjectName) + true + + + + true + false + + + true + + + + + <_PlatformWithoutConfigurationInference>$(Platform) + + + x64 + + + x86 + + + ARM + + + + portable + + false + + true + true + + PackageReference + + {CandidateAssemblyFiles};{HintPathFromItem};{TargetFrameworkDirectory};{RawFileName} + $(AssemblySearchPaths) + false + false + false + false + false + false + false + false + false + + + + + + $(MSBuildThisFileDirectory)GenerateDeps\GenerateDeps.proj + + + + + + $(MSBuildThisFileDirectory)..\..\..\Microsoft.NETCoreSdk.BundledVersions.props + + + + + 2.2 + 2.2.1 + false + 2.0 + 2.0.3 + 2.2.0 + 2.2 + 2.2.1 + 2.2 + 2.2.1 + 2.2.200-preview-009804 + <_NETCoreSdkIsPreview>true + + 2.1.1 + 2.1.1 + + 1.0.13 + 1.1.10 + 2.0.9 + 2.1.2 + + + + + + + + + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + 4 + 1701;1702 + + NU1605 + + + $(DefineConstants); + $(DefineConstants)TRACE + + + + + + + + $(TargetsForTfmSpecificContentInPackage);PackTool + + + + + + + false + + + + net45;netstandard2.0 + + + + + + + + true + + + + + + + 4.3.0 + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + true + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + 1.0.0 + $(VersionPrefix)-$(VersionSuffix) + $(VersionPrefix) + + + $(AssemblyName) + $(Authors) + $(AssemblyName) + $(AssemblyName) + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + Debug + AnyCPU + $(Platform) + bin\ + $(BaseOutputPath)\ + $(BaseOutputPath)$(Configuration)\ + $(BaseOutputPath)$(PlatformName)\$(Configuration)\ + $(OutputPath)\ + obj\ + $(BaseIntermediateOutputPath)\ + $(BaseIntermediateOutputPath)$(Configuration)\ + $(BaseIntermediateOutputPath)$(PlatformName)\$(Configuration)\ + $(IntermediateOutputPath)\ + + + + $(OutputPath) + + + + + + $(MSBuildToolsPath)\Microsoft.CSharp.targets + $(MSBuildToolsPath)\Microsoft.VisualBasic.targets + $(MSBuildThisFileDirectory)..\targets\Microsoft.NET.Sdk.FSharpTargetsShim.targets + + $(MSBuildToolsPath)\Microsoft.Common.targets + + + + + + + true + + + + + + $(MSBuildFrameworkToolsPath)\Microsoft.CSharp.targets + + $(MsBuildFrameworkToolsPath) + + + + + $(MSBuildToolsPath)\Microsoft.CSharp.CrossTargeting.targets + + + + + $(MSBuildToolsPath)\Microsoft.CSharp.CurrentVersion.targets + + + + + + $(ImportByWildcardBeforeMicrosoftCommonTargets) + true + $(ImportByWildcardAfterMicrosoftCommonTargets) + true + $(ImportUserLocationsByWildcardBeforeMicrosoftCommonTargets) + true + $(ImportUserLocationsByWildcardAfterMicrosoftCommonTargets) + true + false + false + false + false + $(MSBuildExtensionsPath)\v4.0\Custom.Before.Microsoft.Common.targets + $(MSBuildExtensionsPath)\v4.0\Custom.After.Microsoft.Common.targets + + $(ImportByWildcardBeforeMicrosoftCSharpTargets) + true + $(ImportByWildcardAfterMicrosoftCSharpTargets) + true + $(ImportUserLocationsByWildcardBeforeMicrosoftCSharpTargets) + true + $(ImportUserLocationsByWildcardAfterMicrosoftCSharpTargets) + true + false + false + false + false + $(MSBuildExtensionsPath)\v4.0\Custom.Before.Microsoft.CSharp.targets + $(MSBuildExtensionsPath)\v4.0\Custom.After.Microsoft.CSharp.targets + + + + $(ImportByWildcardBeforeMicrosoftNetFrameworkProps) + true + $(ImportByWildcardAfterMicrosoftNetFrameworkProps) + true + $(ImportUserLocationsByWildcardBeforeMicrosoftNetFrameworkProps) + true + $(ImportUserLocationsByWildcardAfterMicrosoftNetFrameworkProps) + true + false + false + false + false + + + + + + + + + + + + + + + + + + + + + $(MSBuildExtensionsPath)\Microsoft\VisualStudio\Managed\Microsoft.CSharp.DesignTime.targets + + + + + + true + true + + + + + + <_ThisProjectBuildMetadata Include="$(MSBuildProjectFullPath)"> + $(TargetFrameworks) + $(TargetFramework) + true + false + + false + true + + + + + + <_TargetFramework Include="$(TargetFrameworks)" /> + <_InnerBuildProjects Include="$(MSBuildProjectFile)"> + TargetFramework=%(_TargetFramework.Identity) + + + + + + + + + + + + + + + Build + + + + + + + + + + + + $(MSBuildToolsPath32)\..\..\..\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets + $(MSBuildToolsPath)\NuGet.targets + + + + + + true + + NuGet.Build.Tasks.dll + + false + + true + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + true + + false + + WarnAndContinue + + $(BuildInParallel) + true + + <_RestoreSolutionFileUsed Condition=" '$(_RestoreSolutionFileUsed)' == '' AND '$(SolutionDir)' != '' AND $(MSBuildProjectFullPath.EndsWith('.metaproj')) == 'true' ">true + + $(MSBuildInteractive) + + + + <_GenerateRestoreGraphProjectEntryInputProperties>ExcludeRestorePackageImports=true + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(RestoreUseCustomAfterTargets)' == 'true' "> + $(_GenerateRestoreGraphProjectEntryInputProperties); + NuGetRestoreTargets=$(MSBuildThisFileFullPath); + RestoreUseCustomAfterTargets=$(RestoreUseCustomAfterTargets); + CustomAfterMicrosoftCommonCrossTargetingTargets=$(MSBuildThisFileFullPath); + CustomAfterMicrosoftCommonTargets=$(MSBuildThisFileFullPath); + + + <_GenerateRestoreGraphProjectEntryInputProperties Condition=" '$(_RestoreSolutionFileUsed)' == 'true' "> + $(_GenerateRestoreGraphProjectEntryInputProperties); + _RestoreSolutionFileUsed=true; + SolutionDir=$(SolutionDir); + SolutionName=$(SolutionName); + SolutionFileName=$(SolutionFileName); + SolutionPath=$(SolutionPath); + SolutionExt=$(SolutionExt); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + exclusionlist + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' == '.csproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vbproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.fsproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.nuproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.msbuildproj' Or '%(RestoreGraphProjectInputItems.Extension)' == '.vcxproj' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" Condition=" '%(RestoreGraphProjectInputItems.Extension)' != '.metaproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.shproj' AND '%(RestoreGraphProjectInputItems.Extension)' != '.vcxitems' AND '%(RestoreGraphProjectInputItems.Extension)' != '' " /> + + + + <_FilteredRestoreGraphProjectInputItemsTmp Include="@(RestoreGraphProjectInputItems)" /> + + + + + + + + + + + + + + + + + + + + + + + + <_GenerateRestoreGraphProjectEntryInput Include="@(FilteredRestoreGraphProjectInputItems)" Condition=" '$(RestoreRecursive)' != 'true' " /> + <_GenerateRestoreGraphProjectEntryInput Include="@(_RestoreProjectPathItems)" Condition=" '$(RestoreRecursive)' == 'true' " /> + + + + + + + + + + + + + + + + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())" Condition=" '$(RestoreProjectStyle)' != 'Unknown' "> + RestoreSpec + $(MSBuildProjectFullPath) + + + + + + + netcoreapp1.0 + + + + + + + + + + + + + + + + + + + + PackageReference + + ProjectJson + + Unknown + + + true + + + + + + true + + + + + + <_RestoreProjectFramework /> + + + + + + + <_RestoreTargetFrameworksOutputFiltered Include="$(_RestoreProjectFramework.Split(';'))" /> + + + + + + <_RestoreTargetFrameworkItems Include="$(TargetFrameworks.Split(';'))" /> + + + + + + + + + + + + + + + + + + + + + + + + + <_RestoreSettingsPerFramework Include="$([System.Guid]::NewGuid())"> + $(RestoreAdditionalProjectSources) + $(RestoreAdditionalProjectFallbackFolders) + $(RestoreAdditionalProjectFallbackFoldersExcludes) + + + + + + + + $(MSBuildProjectExtensionsPath) + + + + + + + <_RestoreProjectName>$(MSBuildProjectName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(AssemblyName)' != '' ">$(AssemblyName) + <_RestoreProjectName Condition=" '$(PackageReferenceCompatibleProjectStyle)' == 'true' AND '$(PackageId)' != '' ">$(PackageId) + + + + <_RestoreProjectVersion>1.0.0 + <_RestoreProjectVersion Condition=" '$(Version)' != '' ">$(Version) + <_RestoreProjectVersion Condition=" '$(PackageVersion)' != '' ">$(PackageVersion) + + + + <_RestoreCrossTargeting>true + + + + <_RestoreSkipContentFileWrite Condition=" '$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '' ">true + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(_RestoreProjectVersion) + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(RestoreProjectStyle) + $(RestoreOutputAbsolutePath) + @(_RestoreTargetFrameworksOutputFiltered) + $(RuntimeIdentifiers);$(RuntimeIdentifier) + $(RuntimeSupports) + $(_RestoreCrossTargeting) + $(RestoreLegacyPackagesDirectory) + $(ValidateRuntimeIdentifierCompatibility) + $(_RestoreSkipContentFileWrite) + $(_OutputConfigFilePaths) + $(TreatWarningsAsErrors) + $(WarningsAsErrors) + $(NoWarn) + $(RestorePackagesWithLockFile) + $(NuGetLockFilePath) + $(RestoreLockedMode) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(_OutputSources) + $(RestoreOutputAbsolutePath) + $(_OutputFallbackFolders) + $(_OutputPackagesPath) + $(_CurrentProjectJsonPath) + $(RestoreProjectStyle) + $(_OutputConfigFilePaths) + + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + ProjectSpec + $(MSBuildProjectFullPath) + $(MSBuildProjectFullPath) + $(_RestoreProjectName) + $(RestoreProjectStyle) + @(_RestoreTargetFrameworksOutputFiltered) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CombinedFallbacks>$(PackageTargetFallback);$(AssetTargetFallback) + + + + <_RestoreGraphEntry Include="$([System.Guid]::NewGuid())"> + TargetFrameworkInformation + $(MSBuildProjectFullPath) + $(PackageTargetFallback) + $(AssetTargetFallback) + $(TargetFramework) + + + + + + + + + + + + + <_RestoreProjectPathItems Include="$(_RestoreGraphAbsoluteProjectPaths)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_GenerateRestoreProjectPathWalkOutputs Include="$(MSBuildProjectFullPath)" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RestorePackagesPathOverride>$(RestorePackagesPath) + + + + + + <_RestoreSourcesOverride>$(RestoreSources) + + + + + + <_RestoreFallbackFoldersOverride>$(RestoreFallbackFolders) + + + + + + <_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" /> + + + + + + + true + + + + + $(MSBuildExtensionsPath)\Microsoft.TestPlatform.Build.dll + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + + <_TargetFramework Include="$(TargetFrameworks)" /> + + + + + + + + + + + + + + + + + + + VSTest + + + + + + true + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + + + true + + + + <_DirectoryBuildTargetsFile Condition="'$(_DirectoryBuildTargetsFile)' == ''">Directory.Build.targets + <_DirectoryBuildTargetsBasePath Condition="'$(_DirectoryBuildTargetsBasePath)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), '$(_DirectoryBuildTargetsFile)')) + $([System.IO.Path]::Combine('$(_DirectoryBuildTargetsBasePath)', '$(_DirectoryBuildTargetsFile)')) + + + + + + + + + + + + + + + + + + + + + + + $(MSBuildFrameworkToolsPath) + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + $(MSBuildThisFileDirectory)..\tools\ + netcoreapp2.0 + net472 + $(MicrosoftNETBuildTasksDirectoryRoot)$(MicrosoftNETBuildTasksTFM)/ + $(MicrosoftNETBuildTasksDirectory)Microsoft.NET.Build.Tasks.dll + + Microsoft.NETCore.App;NETStandard.Library + + + + <_IsExecutable Condition="'$(OutputType)' == 'Exe' or '$(OutputType)'=='WinExe'">true + $(_IsExecutable) + + + + netcoreapp$(BundledNETCoreAppTargetFrameworkVersion) + + + false + DotnetTool + $(RuntimeIdentifiers);$(PackAsToolShimRuntimeIdentifiers) + + + + + + + + + + <_IsRidAgnostic>false + <_IsRidAgnostic Condition=" '$(RuntimeIdentifier)' == '' and '$(RuntimeIdentifiers)' == '' ">true + + <_SkipNearestTargetFrameworkResolution Condition="'$(TargetFramework)' != '' and '$(ReferringTargetFramework)' == ''">true + $(TargetFramework) + + <_HasSingleTargetFramework Condition="'$(IsCrossTargetingBuild)' != 'true'">true + <_HasSingleTargetFramework Condition="'$(_HasSingleTargetFramework)' == ''">false + <_PossibleTargetFrameworks Condition="'$(TargetFramework)' != ''">$(TargetFramework) + <_PossibleTargetFrameworks Condition="'$(TargetFramework)' == ''">$(TargetFrameworks) + + + + + + + + + + + + + + <_GetAllRuntimeIdentifiersTargetFrameworks Include="$(TargetFrameworks)" /> + <_AllRuntimeIdentifiers Include="$(RuntimeIdentifiers);$(RuntimeIdentifier)" /> + + + + + + @(_AllRuntimeIdentifiers->Distinct()) + + + + + + + {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {F184B08F-C81C-45F6-A57F-5ABD9991F28F} + + + + + + + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets + $(MSBuildThisFileDirectory)..\..\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets + true + + + + + + ..\CoreCLR\NuGet.Build.Tasks.Pack.dll + ..\Desktop\NuGet.Build.Tasks.Pack.dll + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + + + + $(AssemblyName) + $(Version) + true + _LoadPackInputItems; _GetTargetFrameworksOutput; _WalkEachTargetPerFramework; _GetPackageFiles; $(GenerateNuspecDependsOn) + $(Description) + Package Description + false + true + true + tools + lib + content;contentFiles + $(BeforePack); _IntermediatePack; GenerateNuspec; $(PackDependsOn) + true + true + symbols.nupkg + DeterminePortableBuildCapabilities + $(BaseIntermediateOutputPath)$(Configuration)\ + false + false + .dll; .exe; .winmd; .json; .pri; .xml; $(AllowedOutputExtensionsInPackageBuildOutputFolder) + .pdb; .mdb; $(AllowedOutputExtensionsInPackageBuildOutputFolder); $(AllowedOutputExtensionsInSymbolsPackageBuildOutputFolder) + .pdb + false + + + $(GenerateNuspecDependsOn) + + + Build;$(GenerateNuspecDependsOn) + + + + + + + $(TargetFramework) + + + + + + + + + + + + + + + + + <_ProjectFrameworks /> + + + + + + <_TargetFrameworks Include="$(_ProjectFrameworks.Split(';'))" /> + + + + + + + <_PackageFilesToDelete Include="@(_OutputPackItems)" /> + + + + + + false + + + $(OutputPath) + $(MSBuildProjectExtensionsPath) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + $(PrivateRepositoryUrl) + $(SourceRevisionId) + + + + + + + $(MSBuildProjectFullPath) + + + + + + + + + + + + + + + + + + + <_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)"> + $(PackageVersion) + 1.0.0 + + + + + + + + + + + + + + + + + + + + + + + + + + <_TfmWithDependenciesSuppressed Include="$(TargetFramework)" Condition="'$(SuppressDependenciesWhenPacking)' == 'true'" /> + + + + + + $(TargetFramework) + + + + + + + + + + + + + %(TfmSpecificPackageFile.RecursiveDir) + %(TfmSpecificPackageFile.BuildAction) + + + + + + <_TargetPathsToSymbolsWithTfm Include="@(DebugSymbolsProjectOutputGroupOutput)"> + $(TargetFramework) + + + + + + + <_PathToPriFile Include="$(ProjectPriFullPath)"> + $(ProjectPriFullPath) + $(ProjectPriFileName) + + + + + + + <_PackageFilesToExclude Include="@(Content)" Condition="'%(Content.Pack)' == 'false'" /> + + + + <_PackageFiles Include="@(Content)" Condition=" %(Content.Pack) != 'false' "> + Content + + <_PackageFiles Include="@(Compile)" Condition=" %(Compile.Pack) == 'true' "> + Compile + + <_PackageFiles Include="@(None)" Condition=" %(None.Pack) == 'true' "> + None + + <_PackageFiles Include="@(EmbeddedResource)" Condition=" %(EmbeddedResource.Pack) == 'true' "> + EmbeddedResource + + <_PackageFiles Include="@(ApplicationDefinition)" Condition=" %(ApplicationDefinition.Pack) == 'true' "> + ApplicationDefinition + + <_PackageFiles Include="@(Page)" Condition=" %(Page.Pack) == 'true' "> + Page + + <_PackageFiles Include="@(Resource)" Condition=" %(Resource.Pack) == 'true' "> + Resource + + <_PackageFiles Include="@(SplashScreen)" Condition=" %(SplashScreen.Pack) == 'true' "> + SplashScreen + + <_PackageFiles Include="@(DesignData)" Condition=" %(DesignData.Pack) == 'true' "> + DesignData + + <_PackageFiles Include="@(DesignDataWithDesignTimeCreatableTypes)" Condition=" %(DesignDataWithDesignTimeCreatableTypes.Pack) == 'true' "> + DesignDataWithDesignTimeCreatableTypes + + <_PackageFiles Include="@(CodeAnalysisDictionary)" Condition=" %(CodeAnalysisDictionary.Pack) == 'true' "> + CodeAnalysisDictionary + + <_PackageFiles Include="@(AndroidAsset)" Condition=" %(AndroidAsset.Pack) == 'true' "> + AndroidAsset + + <_PackageFiles Include="@(AndroidResource)" Condition=" %(AndroidResource.Pack) == 'true' "> + AndroidResource + + <_PackageFiles Include="@(BundleResource)" Condition=" %(BundleResource.Pack) == 'true' "> + BundleResource + + + + + + \ No newline at end of file