diff --git a/src/Samples/AuthoringDemo/AuthoringDemo.sln b/src/Samples/AuthoringDemo/AuthoringDemo.sln index 8aa565bdc..3944c022b 100644 --- a/src/Samples/AuthoringDemo/AuthoringDemo.sln +++ b/src/Samples/AuthoringDemo/AuthoringDemo.sln @@ -27,8 +27,10 @@ Global GlobalSection(ProjectConfigurationPlatforms) = postSolution {7E449DC2-5334-464D-B478-1715B96C8050}.Debug|x64.ActiveCfg = Debug|x64 {7E449DC2-5334-464D-B478-1715B96C8050}.Debug|x64.Build.0 = Debug|x64 + {7E449DC2-5334-464D-B478-1715B96C8050}.Debug|x86.ActiveCfg = Debug|x64 {7E449DC2-5334-464D-B478-1715B96C8050}.Release|x64.ActiveCfg = Release|x64 {7E449DC2-5334-464D-B478-1715B96C8050}.Release|x64.Build.0 = Release|x64 + {7E449DC2-5334-464D-B478-1715B96C8050}.Release|x86.ActiveCfg = Release|x64 {96752AD7-C344-4D4D-9E0B-39BED88B191A}.Debug|x64.ActiveCfg = Debug|x64 {96752AD7-C344-4D4D-9E0B-39BED88B191A}.Debug|x64.Build.0 = Debug|x64 {96752AD7-C344-4D4D-9E0B-39BED88B191A}.Debug|x86.ActiveCfg = Debug|Win32 diff --git a/src/Samples/AuthoringDemo/AuthoringDemo/AuthoringDemo.csproj b/src/Samples/AuthoringDemo/AuthoringDemo/AuthoringDemo.csproj index be1937df9..ba6608fca 100644 --- a/src/Samples/AuthoringDemo/AuthoringDemo/AuthoringDemo.csproj +++ b/src/Samples/AuthoringDemo/AuthoringDemo/AuthoringDemo.csproj @@ -13,7 +13,7 @@ - + diff --git a/src/Samples/AuthoringDemo/CppConsoleApp/CppConsoleApp.exe.manifest b/src/Samples/AuthoringDemo/CppConsoleApp/CppConsoleApp.exe.manifest index 98191f40a..fee1685e3 100644 --- a/src/Samples/AuthoringDemo/CppConsoleApp/CppConsoleApp.exe.manifest +++ b/src/Samples/AuthoringDemo/CppConsoleApp/CppConsoleApp.exe.manifest @@ -6,8 +6,6 @@ name="AuthoringDemo.Example" threadingModel="both" xmlns="urn:schemas-microsoft-com:winrt.v1" /> - - - - true - diff --git a/src/Samples/AuthoringDemo/CppConsoleApp/WinRT.Host.runtimeconfig.json b/src/Samples/AuthoringDemo/CppConsoleApp/WinRT.Host.runtimeconfig.json deleted file mode 100644 index b8ddcfcca..000000000 --- a/src/Samples/AuthoringDemo/CppConsoleApp/WinRT.Host.runtimeconfig.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "runtimeOptions": { - "tfm": "net5.0", - "rollForward": "LatestMinor", - "framework": { - "name": "Microsoft.NETCore.App", - "version": "5.0.0" - } - } -} diff --git a/src/Samples/AuthoringDemo/README.md b/src/Samples/AuthoringDemo/README.md index 8cd05069b..60777cf4d 100644 --- a/src/Samples/AuthoringDemo/README.md +++ b/src/Samples/AuthoringDemo/README.md @@ -1,6 +1,6 @@ # C#/WinRT Authoring Sample -This sample demonstrates how to author a simple C#/WinRT component, create a NuGet package for the component, and consume the component as a package reference from a C++/WinRT console app. This sample currently uses [CsWinRT version 1.1.1](https://www.nuget.org/packages/Microsoft.Windows.CsWinRT/1.1.1). Refer to the [authoring docs](https://github.com/microsoft/CsWinRT/blob/master/docs/authoring.md) for more details. +This sample demonstrates how to author a simple C#/WinRT component, create a NuGet package for the component, and consume the component as a package reference from a C++/WinRT console app. This sample currently uses [CsWinRT version 1.1.4](https://www.nuget.org/packages/Microsoft.Windows.CsWinRT/1.1.4). Refer to the [authoring docs](https://github.com/microsoft/CsWinRT/blob/master/docs/authoring.md) for more details. - **AuthoringDemo** is is a C# .NET 5 authored component using a **Class Library (.NET Core)** project with some project file modifications. There are two runtime classes authored in *Example.cs* and *FolderEnumeration.cs*, which demonstrate the usage of basic types and WinRT types.