Skip to content

Instantly share code, notes, and snippets.

@jsakamoto
Created July 20, 2016 14:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jsakamoto/43598fb670fc44e02eeddf66ee8e02c8 to your computer and use it in GitHub Desktop.
Save jsakamoto/43598fb670fc44e02eeddf66ee8e02c8 to your computer and use it in GitHub Desktop.
pre-build script for create "custom.appSettings.config"
if exist "$(ProjectDir)custom.appSettings.config" goto SKIP
echo ^<?xml version="1.0" encoding="utf-8" ?^> > "$(ProjectDir)custom.appSettings.config"
echo ^<appSettings^> >> "$(ProjectDir)custom.appSettings.config"
echo ^<add key="(key)" value="(value)"/^> >> "$(ProjectDir)custom.appSettings.config"
echo ^</appSettings^> >> "$(ProjectDir)custom.appSettings.config"
:SKIP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment