Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment