You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Create app.config file if it's missing and binding redirects requested #808
I've done the main work of creating an app.config and associated BRs in it - is there an easy example somewhere of how to add a file reference to a cs/fs/vb proj file somewhere in the source?
How do we identify unit test projects? This was actually the trigger behind this change I.e. Allow unit tests to run properly. We need some way of identifying what a "unit test" project is.
You're right about content, that should have been done originally.
In my setup, config files are generated during the build (from some other config files) and copied to app.config. Therefore app.config is always a derived thing and is not even added to my *.csproj files.
I'd go mad if running paket would recreate and readd this file to my project.
So if you consider doing so, please make it an optional feature.
Activity
davidfowl commentedon May 2, 2015
Does packet work in ASP.NET 4.x projects as well? What about web.config?
isaacabraham commentedon Sep 3, 2015
I'm on this one now.
Started work on fsprojects#808.
isaacabraham commentedon Sep 3, 2015
I've done the main work of creating an app.config and associated BRs in it - is there an easy example somewhere of how to add a file reference to a cs/fs/vb proj file somewhere in the source?
pavel-khritonenko commentedon Sep 10, 2015
Hm... but I don't need app.config for my class libraries. Actually I need it only for assemblies with entry point and for tests assemblies.
Furthermore, for FSharp projects app.config should be included with Build Action = Content otherwise it will cause unwanted rebuilds of this project.
forki commentedon Sep 10, 2015
@isaac_abraham could you please look into this?
isaacabraham commentedon Sep 10, 2015
How do we identify unit test projects? This was actually the trigger behind this change I.e. Allow unit tests to run properly. We need some way of identifying what a "unit test" project is.
You're right about content, that should have been done originally.
isaacabraham commentedon Sep 10, 2015
Hmm, just checked - newly added config files are added as Content files.
pavel-khritonenko commentedon Sep 11, 2015
I added myself app.config for all project where it is needed and I just don't want that paket do it for me.
dzendras commentedon Oct 19, 2015
+1 for paket not adding app.config files.
In my setup, config files are generated during the build (from some other config files) and copied to app.config. Therefore app.config is always a derived thing and is not even added to my *.csproj files.
I'd go mad if running paket would recreate and readd this file to my project.
So if you consider doing so, please make it an optional feature.
forki commentedon Oct 19, 2015
it's aöready optional.