Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying wsconfig.json location #1084

Closed
Jand42 opened this issue Dec 31, 2019 · 1 comment
Closed

Allow specifying wsconfig.json location #1084

Jand42 opened this issue Dec 31, 2019 · 1 comment

Comments

@Jand42
Copy link
Member

Jand42 commented Dec 31, 2019

Adding WebSharperConfigFile MSBuild property, automatically passed to WebSharper compiler to specify where to look for configuration file instead of using hard-coded wsconfig.json only. Can be set explicitly, or automatically set to wsconfig.ProjectName.json if file that exists then wsconfig.json if that file exists.

Example:

<WebSharperConfigFile>mywsconfig.json</WebSharperConfigFile>
@Jand42
Copy link
Member Author

Jand42 commented Jan 1, 2020

Followup: do not pass config file location to compiler args, parse it from outside task and pass final options to compiler for more transparency. See #1085

@Jand42 Jand42 closed this as completed Jan 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant