Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dotnet/targets/Microsoft.Sdk.Mobile.targets
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
/>

<PropertyGroup>
<RunCommand>'$(MlaunchPath)'</RunCommand>
<RunCommand>$(MlaunchPath)</RunCommand>
<RunArguments>$(MlaunchRunArguments) -- </RunArguments>
Comment on lines 141 to 143
</PropertyGroup>
</Target>
Expand Down
10 changes: 5 additions & 5 deletions eng/Version.Details.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ This file should be imported by eng/Versions.props
<Project>
<PropertyGroup>
<!-- dotnet-dotnet dependencies -->
<MicrosoftDotNetArcadeSdkPackageVersion>10.0.0-beta.26319.102</MicrosoftDotNetArcadeSdkPackageVersion>
<MicrosoftDotNetBuildTasksFeedPackageVersion>10.0.0-beta.26319.102</MicrosoftDotNetBuildTasksFeedPackageVersion>
<MicrosoftDotNetArcadeSdkPackageVersion>10.0.0-beta.26322.102</MicrosoftDotNetArcadeSdkPackageVersion>
<MicrosoftDotNetBuildTasksFeedPackageVersion>10.0.0-beta.26322.102</MicrosoftDotNetBuildTasksFeedPackageVersion>
<MicrosoftDotNetCecilPackageVersion>0.11.5-alpha.26070.104</MicrosoftDotNetCecilPackageVersion>
<MicrosoftDotNetSharedFrameworkSdkPackageVersion>10.0.0-beta.26319.102</MicrosoftDotNetSharedFrameworkSdkPackageVersion>
<MicrosoftDotNetSharedFrameworkSdkPackageVersion>10.0.0-beta.26322.102</MicrosoftDotNetSharedFrameworkSdkPackageVersion>
<MicrosoftNETILLinkPackageVersion>10.0.3-servicing.26070.104</MicrosoftNETILLinkPackageVersion>
<MicrosoftNETILLinkTasksPackageVersion>10.0.3</MicrosoftNETILLinkTasksPackageVersion>
<MicrosoftNETRuntimeMonoTargetsSdkPackageVersion>10.0.3</MicrosoftNETRuntimeMonoTargetsSdkPackageVersion>
<MicrosoftNETSdkPackageVersion>10.0.400-preview.0.26319.102</MicrosoftNETSdkPackageVersion>
<MicrosoftNETSdkPackageVersion>10.0.400-preview.0.26322.102</MicrosoftNETSdkPackageVersion>
<MicrosoftNETCoreAppRefPackageVersion>10.0.3</MicrosoftNETCoreAppRefPackageVersion>
<MicrosoftTemplateEngineAuthoringTasksPackageVersion>10.0.400-preview.26319.102</MicrosoftTemplateEngineAuthoringTasksPackageVersion>
<MicrosoftTemplateEngineAuthoringTasksPackageVersion>10.0.400-preview.26322.102</MicrosoftTemplateEngineAuthoringTasksPackageVersion>
<!-- dotnet-macios dependencies -->
<MicrosoftiOSSdknet100_260PackageVersion>26.0.11017</MicrosoftiOSSdknet100_260PackageVersion>
<MicrosoftiOSSdknet90_185PackageVersion>18.5.9227</MicrosoftiOSSdknet90_185PackageVersion>
Expand Down
20 changes: 10 additions & 10 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Dependencies>
<ProductDependencies>
<Dependency Name="Microsoft.NET.Sdk" Version="10.0.400-preview.0.26319.102">
<Dependency Name="Microsoft.NET.Sdk" Version="10.0.400-preview.0.26322.102">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>9ae5b4b15619dd34a8086b2d511937505683a8c7</Sha>
<Sha>0cf89a94a121c7e768174ad0ed0cdb8ad3bbf8e7</Sha>
</Dependency>
<Dependency Name="Microsoft.NET.ILLink" Version="10.0.3-servicing.26070.104">
<Uri>https://github.com/dotnet/dotnet</Uri>
Expand Down Expand Up @@ -95,25 +95,25 @@
</Dependency>
</ProductDependencies>
<ToolsetDependencies>
<Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="10.0.0-beta.26319.102">
<Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="10.0.0-beta.26322.102">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>9ae5b4b15619dd34a8086b2d511937505683a8c7</Sha>
<Sha>0cf89a94a121c7e768174ad0ed0cdb8ad3bbf8e7</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.SharedFramework.Sdk" Version="10.0.0-beta.26319.102">
<Dependency Name="Microsoft.DotNet.SharedFramework.Sdk" Version="10.0.0-beta.26322.102">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>9ae5b4b15619dd34a8086b2d511937505683a8c7</Sha>
<Sha>0cf89a94a121c7e768174ad0ed0cdb8ad3bbf8e7</Sha>
</Dependency>
<Dependency Name="Microsoft.TemplateEngine.Authoring.Tasks" Version="10.0.400-preview.26319.102">
<Dependency Name="Microsoft.TemplateEngine.Authoring.Tasks" Version="10.0.400-preview.26322.102">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>9ae5b4b15619dd34a8086b2d511937505683a8c7</Sha>
<Sha>0cf89a94a121c7e768174ad0ed0cdb8ad3bbf8e7</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.XHarness.iOS.Shared" Version="11.0.0-prerelease.26319.2">
<Uri>https://github.com/dotnet/xharness</Uri>
<Sha>a0534aec8f776d258392f0266cbdb9cc97e1dd98</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="10.0.0-beta.26319.102">
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="10.0.0-beta.26322.102">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>9ae5b4b15619dd34a8086b2d511937505683a8c7</Sha>
<Sha>0cf89a94a121c7e768174ad0ed0cdb8ad3bbf8e7</Sha>
<SourceBuild RepoName="arcade" ManagedOnly="true" />
</Dependency>
</ToolsetDependencies>
Expand Down
6 changes: 3 additions & 3 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"sdk": {
"version": "10.0.400-preview.0.26319.102",
"version": "10.0.400-preview.0.26322.102",
"paths": [
"builds/downloads/dotnet",
"$host$"
],
"errorMessage": "The .NET SDK could not be found, please run 'make dotnet -C builds'."
},
"tools": {
"dotnet": "10.0.400-preview.0.26319.102"
"dotnet": "10.0.400-preview.0.26322.102"
},
"msbuild-sdks": {
"Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.26319.102"
"Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.26322.102"
}
}
26 changes: 10 additions & 16 deletions src/StoreKit/SKReceiptProperty.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
#endif

namespace StoreKit {
/// <summary>Defines test properties for the <see cref="StoreKit.SKReceiptRefreshRequest(Foundation.NSDictionary)" /> constructor.</summary>
/// <remarks>To be added.</remarks>
/// <summary>Defines test properties for the <see cref="SKReceiptRefreshRequest" /> constructor.</summary>
[SupportedOSPlatform ("maccatalyst")]
[SupportedOSPlatform ("ios")]
[SupportedOSPlatform ("macos")]
Expand All @@ -29,24 +28,21 @@ namespace StoreKit {
[ObsoletedOSPlatform ("tvos18.0")]
public partial class SKReceiptProperties : DictionaryContainer {
#if !COREBUILD
/// <summary>To be added.</summary>
/// <remarks>To be added.</remarks>
/// <summary>Creates a new empty <see cref="SKReceiptProperties" /> instance.</summary>
public SKReceiptProperties ()
: base (new NSMutableDictionary ())
{
}

/// <param name="dictionary">To be added.</param>
/// <summary>To be added.</summary>
/// <remarks>To be added.</remarks>
/// <summary>Creates a new <see cref="SKReceiptProperties" /> instance backed by the specified dictionary.</summary>
/// <param name="dictionary">The dictionary containing the receipt property values.</param>
public SKReceiptProperties (NSDictionary dictionary)
: base (dictionary)
{
}

/// <summary>To be added.</summary>
/// <value>To be added.</value>
/// <remarks>To be added.</remarks>
/// <summary>Gets or sets a value indicating whether the receipt represents an expired subscription.</summary>
/// <value><see langword="true" /> if the receipt is expired; otherwise, <see langword="false" />.</value>
public bool IsExpired {
get {
return GetInt32Value (_SKReceiptProperty.IsExpired) != 0;
Expand All @@ -56,9 +52,8 @@ public bool IsExpired {
}
}

/// <summary>To be added.</summary>
/// <value>To be added.</value>
/// <remarks>To be added.</remarks>
/// <summary>Gets or sets a value indicating whether the receipt has been revoked.</summary>
/// <value><see langword="true" /> if the receipt is revoked; otherwise, <see langword="false" />.</value>
public bool IsRevoked {
get {
return GetInt32Value (_SKReceiptProperty.IsRevoked) != 0;
Expand All @@ -68,9 +63,8 @@ public bool IsRevoked {
}
}

/// <summary>To be added.</summary>
/// <value>To be added.</value>
/// <remarks>To be added.</remarks>
/// <summary>Gets or sets a value indicating whether the receipt represents a volume purchase.</summary>
/// <value><see langword="true" /> if the receipt is for a volume purchase; otherwise, <see langword="false" />.</value>
public bool IsVolumePurchase {
get {
return GetInt32Value (_SKReceiptProperty.IsVolumePurchase) != 0;
Expand Down
2 changes: 1 addition & 1 deletion tests/common/shared-dotnet.mk
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ reload-and-run:
$(Q) $(MAKE) run

build: prepare
@echo "Building $(wildcard *.?sproj)..."
@echo "Building $(wildcard *.?sproj)... (binlog: $(shell tput setaf 6 2>/dev/null)$(abspath $@-$(BINLOG_TIMESTAMP).binlog)$(shell tput sgr0 2>/dev/null))"
$(Q) $(DOTNET) build "/bl:$(abspath $@-$(BINLOG_TIMESTAMP).binlog)" *.?sproj $(DOTNET_BUILD_VERBOSITY) $(BUILD_ARGUMENTS) $(CONFIG_ARGUMENT) $(UNIVERSAL_ARGUMENT) $(NATIVEAOT_ARGUMENTS) $(TEST_VARIATION_ARGUMENT)

run: export SIMCTL_CHILD_NUNIT_AUTOSTART=true
Expand Down
27 changes: 5 additions & 22 deletions tests/dotnet/UnitTests/PostBuildTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public void BuildIpaTest (ApplePlatform platform, string runtimeIdentifiers)
[Test]
[Category ("RemoteWindows")]
[TestCase (ApplePlatform.iOS, "ios-arm64")]
public void BuildIpaOnRemoteWindowsTest (ApplePlatform platform, string runtimeIdentifiers)
public void BuildIpaAndArchiveOnRemoteWindowsTest (ApplePlatform platform, string runtimeIdentifiers)
{
var project = "MySimpleApp";
var configuration = "Release";
Expand All @@ -92,37 +92,20 @@ public void BuildIpaOnRemoteWindowsTest (ApplePlatform platform, string runtimeI
var project_path = GetProjectPath (project, runtimeIdentifiers: runtimeIdentifiers, platform: platform, out var appPath, configuration: configuration);
Clean (project_path);
var properties = GetDefaultProperties (runtimeIdentifiers);
// Set both BuildIpa and ArchiveOnBuild so the (slow) remote build to the paired Mac runs only
// once while still verifying that both the .ipa and the .xcarchive are surfaced.
properties ["BuildIpa"] = "true";
properties ["ArchiveOnBuild"] = "true";
properties ["Configuration"] = configuration;

var result = DotNet.AssertBuild (project_path, properties, timeout: TimeSpan.FromMinutes (15));
var result = DotNet.AssertBuild (project_path, properties, timeout: TimeSpan.FromMinutes (25));

// The .ipa is built on the paired Mac and copied back to this Windows machine, so it must be
// surfaced in @(ApplicationArtifact) with the local (Windows) path. The .app bundle stays on the
// Mac, so it's intentionally not surfaced as an artifact on Windows.
var ipaPath = Path.Combine (appPath, "..", $"{project}.ipa");
Assert.That (ipaPath, Does.Exist, "ipa creation");
AssertApplicationArtifact (result.BinLogPath, ipaPath, platform, "ipa", isDirectory: false);
}

[Test]
[Category ("RemoteWindows")]
[TestCase (ApplePlatform.iOS, "ios-arm64")]
public void ArchiveOnRemoteWindowsTest (ApplePlatform platform, string runtimeIdentifiers)
{
var project = "MySimpleApp";
var configuration = "Release";
Configuration.IgnoreIfIgnoredPlatform (platform);
Configuration.AssertRuntimeIdentifiersAvailable (platform, runtimeIdentifiers);
Configuration.IgnoreIfNotOnWindows ();

var project_path = GetProjectPath (project, runtimeIdentifiers: runtimeIdentifiers, platform: platform, out var appPath, configuration: configuration);
Clean (project_path);
var properties = GetDefaultProperties (runtimeIdentifiers);
properties ["ArchiveOnBuild"] = "true";
properties ["Configuration"] = configuration;

var result = DotNet.AssertBuild (project_path, properties, timeout: TimeSpan.FromMinutes (20));

// The .xcarchive is produced on the paired Mac and copied back to this Windows machine by
// CopyArchiveFromMac, which sets $(ArchivePath) to the local (Windows) path while $(ArchiveDir)
Expand Down
2 changes: 1 addition & 1 deletion tests/xtro-sharpie/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $(XTRO_SANITY): $(wildcard xtro-sanity/*.cs) $(wildcard xtro-sanity/*.csproj) $(
$(Q_GEN) unset MSBUILD_EXE_PATH && $(DOTNET) build xtro-sanity/xtro-sanity.csproj /bl:xtro-sanity.binlog $(DOTNET_BUILD_VERBOSITY)

define DotNetAssemblyPath
X$(2)_DOTNET ?= $(DOTNET_DIR)/packs/$($(2)_NUGET_RUNTIME_MANAGED_NAME)/$($(2)_WORKLOAD_VERSION)/runtimes/$(DOTNET_$(2)_RUNTIME_IDENTIFIERS_NO_ARCH)/lib/$(DOTNET_TFM)/$(DOTNET_$(2)_ASSEMBLY_NAME).dll
X$(2)_DOTNET ?= $(DOTNET_DIR)/packs/$($(2)_NUGET_RUNTIME_MANAGED_NAME)/$($(2)_NUGET_VERSION_NO_METADATA)/runtimes/$(DOTNET_$(2)_RUNTIME_IDENTIFIERS_NO_ARCH)/lib/$(DOTNET_TFM)/$(DOTNET_$(2)_ASSEMBLY_NAME).dll
endef
$(foreach platform,$(XTRO_DOTNET_PLATFORMS),$(eval $(call DotNetAssemblyPath,$(platform),$(shell echo $(platform) | tr a-z A-Z))))

Expand Down
6 changes: 6 additions & 0 deletions tools/assembly-preparer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@ include $(TOP)/mk/rules.mk
include ../common/Make.common

# assembly-preparer.csproj.inc contains the $(assembly_preparer_dependencies) variable used to determine if assembly-preparer needs to be rebuilt or not.
# Don't include (and thus try to rebuild) the .inc file when the target is
# generated-files, because MSBuild may invoke 'make generated-files' in parallel
# for multiple target frameworks, and the script that creates the .inc file
# doesn't handle concurrent invocations (it uses shared intermediate files).
ifneq ($(MAKECMDGOALS),generated-files)
assembly-preparer.csproj.inc: export BUILD_VERBOSITY=$(MSBUILD_VERBOSITY)
-include assembly-preparer.csproj.inc
endif
Comment on lines +11 to +14

ASSEMBLY_PREPARER_NETCORE=bin/Debug/$(DOTNET_TFM)/assembly-preparer.dll
ASSEMBLY_PREPARER_NETSTD=bin/Debug/netstandard2.0/assembly-preparer.dll
Expand Down
Loading