Skip to content

Instantly share code, notes, and snippets.

View dtaylor-530's full-sized avatar

dtaylor-530

View GitHub Profile
Best solution (to copy to .csproj file)
- Runs after packing
- RoboCopy needs space after path arg e.g "..\df sd " if path has spaces in it otherwise do not include space.
- /XO ignores newer files in source
- /NFL /NDL /NJH partially removes RoboCopy output
- Since RoboCopy had different exit codes than MSBuild and many don't indicate error; need last two lines
<Target Name="PostPack" AfterTargets="Pack">
<Exec Command="
set source=&quot;$(ProjectDir)$(OutDir).. &quot;&#xD;&#xA;
@mikernet
mikernet / MethodBindingExtension.cs
Last active July 2, 2022 03:50
Updated Ultimate WPF Method Binding Extension
// Updated Ultimate WPF Event Method Binding implementation by Mike Marynowski
// View the article here: http://www.singulink.com/CodeIndex/post/updated-ultimate-wpf-event-method-binding
// Licensed under the Code Project Open License: http://www.codeproject.com/info/cpol10.aspx
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
@FrancesCoronel
FrancesCoronel / sampleREADME.md
Last active March 26, 2024 01:21
A sample README for all your GitHub projects.

Repository Title Goes Here

Frances Coronel

INSERT GRAPHIC HERE (include hyperlink in image)

Subtitle or Short Description Goes Here

ideally one sentence >