Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
B

birdman1234

@birdman1234
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • C# Class Library - Updating Application Settings
    B birdman1234

    Thanks for the reply, but that isn't really what I'm looking for. I'm familiar with web configs and the configuration manager. My problem relates to C# class libraries. They don't allow the settings file to be modified at runtime and my typed datasets use the application settings file to determine the connection string. I would like to dynamically set the connection string property based on the application environment at runtime. Cheers.

    C# csharp question visual-studio com tools

  • C# Class Library - Updating Application Settings
    B birdman1234

    Looking for a workaround :rolleyes: ......I'm trying to update the settings file for a C# class library at runtime. Specifically, I'm trying to update the connectionstring setting for my typed datasets. Microsoft officially doesn't support this functionality in C# (click here) "Because there is no configuration file model for class libraries, application settings do not apply for Class Library projects. The exception is a Visual Studio Tools for Office DLL project, which can have a configuration file." I could create a custom config file but how do I get my typed datasets to reference it?? Thanks, Kevin

    C# csharp question visual-studio com tools
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups