Skip to content

Commit

Permalink
Stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
shmuelie committed Dec 16, 2023
1 parent e96d5a6 commit 091cb68
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
<!-- Only needed for WinRT activation -->
<Extension Category="windows.activatableClass.outOfProcessServer">
<OutOfProcessServer ServerName="Shmuelie.WinRTServer.WinRtServer" uap5:IdentityType="activateAsPackage" uap5:RunFullTrust="true">
<Path>Shmuelie.WinRTServer.Sample.Server\Shmuelie.WinRTServer.Sample.Server.exe</Path>
<Path>Shmuelie.WinRTServer.Sample.ServerNet6\Shmuelie.WinRTServer.Sample.ServerNet6.exe</Path>
<Arguments>-WINRT</Arguments>
<Instancing>singleInstance</Instancing>
<ActivatableClass ActivatableClassId="Shmuelie.WinRTServer.Sample.RemoteThing" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
</ItemGroup>
<Import Project="$(WapProjPath)\Microsoft.DesktopBridge.targets" />
<PropertyGroup>
<AssetTargetFallback>native;net481;net6.0-windows$(TargetPlatformVersion);$(AssetTargetFallback)</AssetTargetFallback>
<AssetTargetFallback>native;net462;net481;net6.0-windows$(TargetPlatformVersion);net8.0-windows10.0.22000.0;$(AssetTargetFallback)</AssetTargetFallback>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.1" PrivateAssets="all" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<OutputType>winexe</OutputType>
<DebugType>full</DebugType>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<RuntimeIdentifiers>win-x64;$(RuntimeIdentifiers)</RuntimeIdentifiers>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Windows.SDK.Contracts" Version="10.0.22000.197" />
Expand Down
3 changes: 0 additions & 3 deletions tests/Shmuelie.WinRTServer.Sample.ServerNet6/Program.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
using System;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using Shmuelie.WinRTServer.Sample.Interfaces;

[assembly: DisableRuntimeMarshalling]

namespace Shmuelie.WinRTServer.Sample.Server;

public static class Program
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<TargetPlatformVersion>10.0.22000.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows10.0.22000.0</TargetFramework>
<TargetFramework>net8.0-windows$(TargetPlatformVersion)</TargetFramework>
<Nullable>enable</Nullable>
<Platforms>x64;x86</Platforms>
<AssetTargetFallback>native;net481;$(AssetTargetFallback)</AssetTargetFallback>
<RuntimeIdentifiers>win-x64;$(RuntimeIdentifiers)</RuntimeIdentifiers>
<IsAotCompatible>true</IsAotCompatible>
<CsWinRTIncludes>Shmuelie.WinRTServer.Sample</CsWinRTIncludes>
<CsWinRTIncludesPrivate>Shmuelie.WinRTServer.Sample</CsWinRTIncludesPrivate>
<DefineConstants>$(DefineConstants);NET</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.1" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<Nullable>enable</Nullable>
<UseWPF>true</UseWPF>
<Platforms>x64;x86</Platforms>
<RuntimeIdentifiers>win-x64;$(RuntimeIdentifiers)</RuntimeIdentifiers>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Windows.SDK.Contracts" Version="10.0.22000.197" />
Expand Down

0 comments on commit 091cb68

Please sign in to comment.