Skip to content

Instantly share code, notes, and snippets.

View authored_component_proj.csproj
<PropertyGroup>
<!-- update the Windows SDK version to reflect your TargetFramework -->
<CsWinRTWindowsMetadata>10.0.19041.0</CsWinRTWindowsMetadata>
<CsWinRTComponent>true</CsWinRTComponent>
<CsWinRTEnableLogging>true</CsWinRTEnableLogging>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<GeneratedFilesDir Condition="'$(GeneratedFilesDir)'==''">$([MSBuild]::NormalizeDirectory('$(MSBuildProjectDirectory)', '$(IntermediateOutputPath)', 'Generated Files'))</GeneratedFilesDir>
</PropertyGroup>
View coords.cs
using System;
namespace Coords
{
public class Coord
{
public double X;
public double Y;
public Coord()