4

Is there any existing solution to embed the app.config file into the resulting assembly? I know there's costura for embedding DLL's into the assembly (costura also provides a really nice VS plugin!)

Some equalient project for the app.config?

buckley
  • 13,690
  • 3
  • 53
  • 61
GameScripting
  • 16,092
  • 13
  • 59
  • 98

1 Answers1

3

Its not really config if you are not allowed to configure it. Why dont you set these things in code instead? That way only a dev can change them and there is no need for a config file?

Richard Hooper
  • 809
  • 1
  • 12
  • 27
  • 1
    Cause I am lazy and I don't want to transform my complete WCF config with custom bindings etc. into code config. – GameScripting Jun 19 '12 at 10:29
  • 1
    lol, an honest admission there! There may be a way to get round this issue but the problem you are hitting is that the .net default behaviour is to have the .config file separate so it CAN be configured. Its like providing a UI to configure your system and then making all the fields read-only! – Richard Hooper Jun 19 '12 at 10:39
  • But even the UI would be useful, cause you could see the default config, and that's exaclty what I want! – GameScripting Jun 19 '12 at 10:43