Merge branch 'main' into xcode13.0-quicklookui-b1
This commit is contained in:
Коммит
ebec4f33dc
|
@ -44,4 +44,3 @@ namespace fixcatalystsystemnethttp {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Xml.Linq;
|
||||
using System.IO;
|
||||
|
||||
|
|
|
@ -52,6 +52,8 @@ Files are imported in the following order:
|
|||
* targets/Microsoft._platform_.Sdk.targets: contains logic specific to _platform_.
|
||||
* targets/Xamarin.Shared.Sdk.DefaultItems.targets: contains logic to enable the
|
||||
default behavior we want.
|
||||
* targets/Xamarin.Shared.Sdk.Publish.targets: contains logic to publish the
|
||||
app bundle.
|
||||
* targets/Xamarin.Shared.Sdk.targets: all of the build logic shared between all
|
||||
platforms.
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ $(1)_NUGET_TARGETS = \
|
|||
$(DOTNET_DESTDIR)/Microsoft.$(1).Sdk/targets/Microsoft.$(1).Sdk.Versions.props \
|
||||
$(DOTNET_DESTDIR)/Microsoft.$(1).Sdk/targets/Microsoft.$(1).Sdk.targets \
|
||||
$(DOTNET_DESTDIR)/Microsoft.$(1).Sdk/targets/Xamarin.Shared.Sdk.DefaultItems.targets \
|
||||
$(DOTNET_DESTDIR)/Microsoft.$(1).Sdk/targets/Xamarin.Shared.Sdk.Publish.targets \
|
||||
$(DOTNET_DESTDIR)/Microsoft.$(1).Sdk/targets/Xamarin.Shared.Sdk.TargetFrameworkInference.props \
|
||||
$(DOTNET_DESTDIR)/Microsoft.$(1).Sdk/targets/Xamarin.Shared.Sdk.props \
|
||||
$(DOTNET_DESTDIR)/Microsoft.$(1).Sdk/targets/Xamarin.Shared.Sdk.targets \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0-maccatalyst</TargetFramework>
|
||||
<RuntimeIdentifier>maccatalyst-x64</RuntimeIdentifier>
|
||||
|
|
|
@ -52,4 +52,3 @@ public class SceneDelegate : UIResponder, IUIWindowSceneDelegate {
|
|||
// to restore the scene back to its current state.
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0-ios</TargetFramework>
|
||||
<RootNamespace Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">iOSApp1</RootNamespace>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0-ios</TargetFramework>
|
||||
<RootNamespace Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">iOSLib1</RootNamespace>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// WARNING
|
||||
// WARNING
|
||||
//
|
||||
// This file has been generated automatically by Visual Studio to store outlets and
|
||||
// actions made in the UI designer. If it is removed, they will be lost.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//
|
||||
//
|
||||
// This file has been generated automatically by Visual Studio to store outlets and
|
||||
// actions made in the Xcode designer. If it is removed, they will be lost.
|
||||
// Manual changes to this file may not be handled correctly.
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Target Name="_PrePublish">
|
||||
<PropertyGroup>
|
||||
<BuildIpa Condition="'$(_PlatformName)' == 'iOS' Or '$(_PlatformName)' == 'tvOS'">true</BuildIpa>
|
||||
<CreatePackage Condition="'$(_PlatformName)' == 'macOS' Or '$(_PlatformName)' == 'MacCatalyst'">true</CreatePackage>
|
||||
</PropertyGroup>
|
||||
</Target>
|
||||
<Target Name="Publish" DependsOnTargets="_PrePublish;Build">
|
||||
<Message Importance="high" Text="Created the package: $(IpaPackagePath)" Condition="'$(_PlatformName)' == 'iOS' Or '$(_PlatformName)' == 'tvOS'" />
|
||||
<Message Importance="high" Text="Created the package: $(PkgPackagePath)" Condition="'$(_PlatformName)' == 'macOS' Or '$(_PlatformName)' == 'MacCatalyst'" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -149,6 +149,9 @@
|
|||
<!-- Default item includes (globs and implicit references) -->
|
||||
<Import Project="Xamarin.Shared.Sdk.DefaultItems.targets" />
|
||||
|
||||
<!-- dotnet publish -->
|
||||
<Import Project="Xamarin.Shared.Sdk.Publish.targets" />
|
||||
|
||||
<!-- This is a hack until we get the TFM values for real from the .NET build logic -->
|
||||
<PropertyGroup>
|
||||
<_TargetFrameworkPlatform Condition="'$(_PlatformName)' == 'iOS'">ios</_TargetFrameworkPlatform>
|
||||
|
@ -416,6 +419,7 @@
|
|||
PartialStaticRegistrarLibrary=$(_LibPartialStaticRegistrar)
|
||||
Platform=$(_PlatformName)
|
||||
PlatformAssembly=$(_PlatformAssemblyName).dll
|
||||
RelativeAppBundlePath=$(_RelativeAppBundlePath)
|
||||
Registrar=$(_BundlerRegistrar)
|
||||
RuntimeConfigurationFile=$(_RuntimeConfigurationFile)
|
||||
SdkDevPath=$(_SdkDevPath)
|
||||
|
@ -466,6 +470,9 @@
|
|||
-->
|
||||
<_ExtraTrimmerArgs>$(_ExtraTrimmerArgs) --disable-opt unusedtypechecks</_ExtraTrimmerArgs>
|
||||
|
||||
<!-- If a release build and the app is not extensible (no interpreter or JIT/code-loading for macOS) then the sealer optimization can be used -->
|
||||
<_ExtraTrimmerArgs Condition="'$(_BundlerDebug)' != 'true' And '$(MtouchInterpreter)' == '' And '$(_RunAotCompiler)' == 'true' And '$(_PlatformName)' != 'macOS'">$(_ExtraTrimmerArgs) --enable-opt sealer</_ExtraTrimmerArgs>
|
||||
|
||||
<!-- We always want the linker to process debug symbols, even when building in Release mode, because the AOT compiler uses the managed debug symbols to output DWARF debugging symbols -->
|
||||
<TrimmerRemoveSymbols Condition="'$(TrimmerRemoveSymbols)' == ''">false</TrimmerRemoveSymbols>
|
||||
|
||||
|
@ -545,7 +552,7 @@
|
|||
</Target>
|
||||
|
||||
<!-- Look in the NativeReference items for frameworks that need to be added to the app bundle, and add all those frameworks to ResolvedFileToPublish (as separate files) -->
|
||||
<Target Name="_ComputeFrameworkFilesToPublish" DependsOnTargets="_ExpandNativeReferences;_ComputeVariables">
|
||||
<Target Name="_ComputeFrameworkFilesToPublish" DependsOnTargets="_ExpandNativeReferences;_ComputeVariables;_LoadLinkerOutput">
|
||||
<ItemGroup>
|
||||
<!-- Expand each framework (which are directories) into all the files in the framework -->
|
||||
<!-- Support a 'CopyToAppBundle' metadata that can be set to 'false' to avoid copying a framework to the app bundle -->
|
||||
|
@ -569,7 +576,7 @@
|
|||
</Target>
|
||||
|
||||
<!-- Look in the NativeReference items for dylibs that need to be added to the app bundle, and add all those frameworks to ResolvedFileToPublish (as separate files) -->
|
||||
<Target Name="_ComputeDynamicLibrariesToPublish" DependsOnTargets="_ExpandNativeReferences;_ComputeVariables">
|
||||
<Target Name="_ComputeDynamicLibrariesToPublish" DependsOnTargets="_ExpandNativeReferences;_ComputeVariables;_LoadLinkerOutput">
|
||||
<ItemGroup>
|
||||
<!-- Support a 'CopyToAppBundle' metadata that can be set to 'false' to avoid copying a framework to the app bundle -->
|
||||
<_DynamicLibraryToPublish Include="@(_FileNativeReference)" Condition="'%(_FileNativeReference.Kind)' == 'Dynamic' And '%(_FileNativeReference.CopyToAppBundle)' != 'false'">
|
||||
|
@ -584,7 +591,7 @@
|
|||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="_LoadLinkerOutput">
|
||||
<Target Name="_LoadLinkerOutput" DependsOnTargets="ComputeFilesToPublish">
|
||||
<!-- Load _MainFile -->
|
||||
<ReadItemsFromFile SessionId="$(BuildSessionId)" File="$(_LinkerItemsDirectory)/_MainFile.items" Condition="Exists('$(_LinkerItemsDirectory)/_MainFile.items')">
|
||||
<Output TaskParameter="Items" ItemName="_MainFile" />
|
||||
|
@ -625,6 +632,14 @@
|
|||
<ReadItemsFromFile SessionId="$(BuildSessionId)" File="$(_LinkerItemsDirectory)/_AssembliesToAOT.items" Condition="Exists('$(_LinkerItemsDirectory)/_AssembliesToAOT.items')">
|
||||
<Output TaskParameter="Items" ItemName="_AssembliesToAOT" />
|
||||
</ReadItemsFromFile>
|
||||
<!-- Load _FrameworkFilesToPublish -->
|
||||
<ReadItemsFromFile SessionId="$(BuildSessionId)" File="$(_LinkerItemsDirectory)/_FrameworkFilesToPublish.items" Condition="Exists('$(_LinkerItemsDirectory)/_FrameworkFilesToPublish.items')">
|
||||
<Output TaskParameter="Items" ItemName="_FrameworkFilesToPublish" />
|
||||
</ReadItemsFromFile>
|
||||
<!-- Load _DynamicLibraryToPublish -->
|
||||
<ReadItemsFromFile SessionId="$(BuildSessionId)" File="$(_LinkerItemsDirectory)/_DynamicLibraryToPublish.items" Condition="Exists('$(_LinkerItemsDirectory)/_DynamicLibraryToPublish.items')">
|
||||
<Output TaskParameter="Items" ItemName="_DynamicLibraryToPublish" />
|
||||
</ReadItemsFromFile>
|
||||
</Target>
|
||||
|
||||
<!-- Native code -->
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System.Diagnostics;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using Xamarin.Messaging.Client;
|
||||
using System.Threading.Tasks;
|
||||
using Xamarin.MacDev;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
[assembly: InternalsVisibleTo ("Xamarin.Messaging.UnitTests")]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//------------------------------------------------------------------------------
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net472</TargetFramework>
|
||||
<OutputType>Exe</OutputType>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0-ios</TargetFramework>
|
||||
<RuntimeIdentifier>ios-arm64</RuntimeIdentifier>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System.Reflection;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//
|
||||
//
|
||||
// MmpTask.cs
|
||||
//
|
||||
// Author:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//
|
||||
//
|
||||
// XamMacArch.cs
|
||||
//
|
||||
// Author:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>netstandard2.0</TargetFrameworks>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using Xamarin.MacDev;
|
||||
using Xamarin.MacDev;
|
||||
using Xamarin.MacDev.Tasks;
|
||||
|
||||
namespace Xamarin.Mac.Tasks {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using Xamarin.MacDev;
|
||||
using Xamarin.MacDev;
|
||||
using Xamarin.MacDev.Tasks;
|
||||
|
||||
namespace Xamarin.Mac.Tasks
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//
|
||||
//
|
||||
// CompileAppManifestTask.cs
|
||||
//
|
||||
// Author:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using Xamarin.MacDev.Tasks;
|
||||
using Xamarin.MacDev.Tasks;
|
||||
|
||||
namespace Xamarin.Mac.Tasks
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using Xamarin.MacDev.Tasks;
|
||||
using Xamarin.MacDev.Tasks;
|
||||
|
||||
namespace Xamarin.Mac.Tasks
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//
|
||||
//
|
||||
// DetectSigningIdentityTask.cs
|
||||
//
|
||||
// Author:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using Xamarin.MacDev;
|
||||
using Xamarin.MacDev;
|
||||
using Xamarin.MacDev.Tasks;
|
||||
|
||||
namespace Xamarin.Mac.Tasks {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System.IO;
|
||||
using System.IO;
|
||||
using Xamarin.MacDev;
|
||||
using Xamarin.MacDev.Tasks;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using Xamarin.MacDev.Tasks;
|
||||
using Xamarin.MacDev.Tasks;
|
||||
|
||||
namespace Xamarin.Mac.Tasks
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using Xamarin.MacDev.Tasks;
|
||||
using Xamarin.MacDev.Tasks;
|
||||
|
||||
namespace Xamarin.Mac.Tasks
|
||||
{
|
||||
|
@ -6,4 +6,3 @@ namespace Xamarin.Mac.Tasks
|
|||
{
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Collections.Generic;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
|
||||
namespace Xamarin.MacDev.Tasks
|
||||
{
|
||||
|
|
|
@ -90,4 +90,3 @@ namespace Xamarin.MacDev.Tasks {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using Microsoft.Build.Framework;
|
||||
using Microsoft.Build.Framework;
|
||||
using Microsoft.Build.Utilities;
|
||||
|
||||
namespace Xamarin.MacDev.Tasks
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Microsoft.Build.Tasks
|
||||
namespace Microsoft.Build.Tasks
|
||||
{
|
||||
public abstract class CopyBase : Copy
|
||||
{
|
||||
|
|
|
@ -5,4 +5,3 @@ namespace Microsoft.Build.Tasks
|
|||
public string SessionId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Microsoft.Build.Tasks
|
||||
namespace Microsoft.Build.Tasks
|
||||
{
|
||||
public abstract class ExecBase : Exec
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Microsoft.Build.Tasks
|
||||
namespace Microsoft.Build.Tasks
|
||||
{
|
||||
public abstract class MakeDirBase : MakeDir
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Microsoft.Build.Tasks
|
||||
namespace Microsoft.Build.Tasks
|
||||
{
|
||||
public abstract class MoveTaskBase : Move
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Microsoft.Build.Tasks
|
||||
namespace Microsoft.Build.Tasks
|
||||
{
|
||||
public abstract class TouchBase : Touch
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Microsoft.Build.Tasks
|
||||
namespace Microsoft.Build.Tasks
|
||||
{
|
||||
public abstract class WriteLinesToFileBase : WriteLinesToFile
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Xamarin.MacDev.Tasks
|
||||
namespace Xamarin.MacDev.Tasks
|
||||
{
|
||||
public enum NativeReferenceKind {
|
||||
Static,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//
|
||||
//
|
||||
// PlatformFramework.cs
|
||||
//
|
||||
// Author: Jeffrey Stedfast <jeff@xamarin.com>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace Xamarin.MacDev.Tasks
|
||||
namespace Xamarin.MacDev.Tasks
|
||||
{
|
||||
public static class PlatformUtils
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//
|
||||
//
|
||||
// AssemblyInfo.cs
|
||||
//
|
||||
// Author: Jeffrey Stedfast <jeff@xamarin.com>
|
||||
|
@ -51,4 +51,3 @@ using System.Runtime.CompilerServices;
|
|||
//[assembly: AssemblyKeyFile("")]
|
||||
|
||||
[assembly: InternalsVisibleTo ("Xamarin.MacDev.Tasks.Tests")]
|
||||
|
||||
|
|
|
@ -87,4 +87,3 @@ namespace Xamarin.MacDev {
|
|||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.Collections.Generic;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Text.Json;
|
||||
using System.Linq;
|
||||
|
|
|
@ -121,4 +121,3 @@ namespace Xamarin.MacDev.Tasks {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
using Microsoft.Build.Framework;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Collections.Specialized;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System.IO;
|
||||
using System.IO;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using Microsoft.Build.Framework;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
using Microsoft.Build.Framework;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Diagnostics;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Collections.Generic;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
|
@ -44,6 +44,9 @@ namespace Xamarin.MacDev.Tasks
|
|||
|
||||
public string PackagingExtraArgs { get ; set; }
|
||||
|
||||
// both input and output
|
||||
[Output]
|
||||
public string PkgPackagePath { get; set; }
|
||||
#endregion
|
||||
|
||||
string GetProjectVersion ()
|
||||
|
@ -109,9 +112,13 @@ namespace Xamarin.MacDev.Tasks
|
|||
}
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty (PkgPackagePath)) {
|
||||
string projectVersion = GetProjectVersion ();
|
||||
string target = string.Format ("{0}{1}.pkg", Name, String.IsNullOrEmpty (projectVersion) ? "" : "-" + projectVersion);
|
||||
args.AddQuoted (Path.Combine (OutputDirectory, target));
|
||||
PkgPackagePath = Path.Combine (OutputDirectory, target);
|
||||
}
|
||||
args.AddQuoted (PkgPackagePath);
|
||||
|
||||
return args.ToString ();
|
||||
}
|
||||
|
||||
|
@ -174,4 +181,3 @@ namespace Xamarin.MacDev.Tasks
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
using Microsoft.Build.Framework;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
using Microsoft.Build.Framework;
|
||||
|
|
|
@ -65,4 +65,3 @@ namespace Xamarin.MacDev.Tasks
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -50,4 +50,3 @@ namespace Xamarin.MacDev.Tasks
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -70,4 +70,3 @@ namespace Xamarin.MacDev.Tasks
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System.IO;
|
||||
using System.IO;
|
||||
|
||||
using Microsoft.Build.Framework;
|
||||
using Microsoft.Build.Utilities;
|
||||
|
|
|
@ -49,4 +49,3 @@ namespace Xamarin.MacDev.Tasks {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
|
||||
using Microsoft.Build.Framework;
|
||||
using Microsoft.Build.Utilities;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
|
||||
using Microsoft.Build.Framework;
|
||||
using Microsoft.Build.Utilities;
|
||||
|
|
|
@ -156,11 +156,6 @@ namespace Xamarin.MacDev.Tasks {
|
|||
arguments.Add (DylibRPath ?? "@executable_path");
|
||||
}
|
||||
|
||||
if (hasEmbeddedFrameworks) {
|
||||
arguments.Add ("-rpath");
|
||||
arguments.Add (FrameworkRPath ?? "@executable_path/Frameworks");
|
||||
}
|
||||
|
||||
if (Frameworks != null) {
|
||||
foreach (var fw in Frameworks) {
|
||||
var is_weak = fw.GetMetadata ("IsWeak") == "true";
|
||||
|
@ -170,12 +165,18 @@ namespace Xamarin.MacDev.Tasks {
|
|||
arguments.Add ("-F");
|
||||
arguments.Add (Path.GetDirectoryName (Path.GetFullPath (framework)));
|
||||
framework = Path.GetFileNameWithoutExtension (framework);
|
||||
hasEmbeddedFrameworks = true;
|
||||
}
|
||||
arguments.Add (is_weak ? "-weak_framework" : "-framework");
|
||||
arguments.Add (framework);
|
||||
}
|
||||
}
|
||||
|
||||
if (hasEmbeddedFrameworks) {
|
||||
arguments.Add ("-rpath");
|
||||
arguments.Add (FrameworkRPath ?? "@executable_path/Frameworks");
|
||||
}
|
||||
|
||||
if (ObjectFiles != null)
|
||||
foreach (var obj in ObjectFiles)
|
||||
arguments.Add (Path.GetFullPath (obj.ItemSpec));
|
||||
|
@ -227,4 +228,3 @@ namespace Xamarin.MacDev.Tasks {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
using Microsoft.Build.Framework;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Collections.Generic;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
using Microsoft.Build.Utilities;
|
||||
|
|
|
@ -186,4 +186,3 @@ namespace Xamarin.MacDev.Tasks {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Collections.Generic;
|
||||
|
|
|
@ -48,4 +48,3 @@ namespace Xamarin.MacDev.Tasks
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Globalization;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
using Microsoft.Build.Utilities;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
using Microsoft.Build.Framework;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
using Microsoft.Build.Framework;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Collections.Generic;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
|
|
@ -132,4 +132,3 @@ namespace Xamarin.MacDev.Tasks {
|
|||
public bool ShouldExecuteRemotely () => this.ShouldExecuteRemotely (SessionId);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -76,4 +76,3 @@ namespace Xamarin.MacDev.Tasks {
|
|||
public bool ShouldExecuteRemotely () => this.ShouldExecuteRemotely (SessionId);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Diagnostics;
|
||||
using System.ComponentModel;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
using Microsoft.Build.Framework;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (c) Microsoft Corp
|
||||
// Copyright (c) Microsoft Corp
|
||||
|
||||
using System;
|
||||
using Microsoft.Build.Framework;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System.Threading.Tasks;
|
||||
using System.Threading.Tasks;
|
||||
using Xamarin.Messaging.Ssh;
|
||||
|
||||
namespace Xamarin.Messaging.Build.Client {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using Xamarin.Messaging.Build.Client;
|
||||
using Xamarin.Messaging.Build.Client;
|
||||
|
||||
namespace Microsoft.Build.Tasks
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using Xamarin.Messaging.Build.Client;
|
||||
using Xamarin.Messaging.Build.Client;
|
||||
|
||||
namespace Microsoft.Build.Tasks
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче