Skip to content

Instantly share code, notes, and snippets.

View aaronmorgan's full-sized avatar

Aaron Morgan aaronmorgan

View GitHub Profile
@aaronmorgan
aaronmorgan / gist:9fecfce2acb871571f22a0195f0bfa87
Created June 19, 2021 10:07
Add the autoproperty get/set
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>{ get; set; }</Title>
<Shortcut>gs</Shortcut>
<Description>Inserts a { get; set; } expression</Description>
<Author>Aaron Morgan</Author>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
Better option than marking files as embedded resources, particularly when working on cross platform environments with strings.
.csproj
```
<ItemGroup>
<TestData Include="./SampleFiles/**" />
</ItemGroup>
<Target Name="CopyCustomContent" AfterTargets="AfterBuild">