Thursday 16 April 2015

C# Deploy Class library with app config



While developing Class library, add app config and add all parameters.
Use all parameters in u r class library.
Now build, you will get dll (Run in release mode)

Now copy all dlls, exe and exe.config (Important), no need of app.config
Paste in to server.(All your config values will be available in exe.config)
Now run the exe from server.
Your code will execute...

Deployment using power-shell and batch file.
http://microsoft-techies.blogspot.com/2015/04/run-exe-from-bat-file.html