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

Add a runtimeconfig.json sample to generated project #189

Closed
adrianoc opened this issue Sep 17, 2022 · 1 comment
Closed

Add a runtimeconfig.json sample to generated project #189

adrianoc opened this issue Sep 17, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@adrianoc
Copy link
Owner

this will simplify the workflow:

  1. Generate project
  2. Extract locally
  3. dotnet build
  4. dotnet run assembly.dll
  5. dotnet assembly.dll

As of today to run step 6 user needs to provide assembly.runtimeconfig.json

to simplify this process we could include such file in the compressed file; in the worst case (the assembly name does not match the one used by user) user will need to rename this file to match whatever he/she passed in the command line in step 4.

@adrianoc adrianoc added the enhancement New feature or request label Sep 17, 2022
@adrianoc
Copy link
Owner Author

I think it is possible to reuse the very same file created by the compiler in step 3

maybe we can copy that file to the root folder through a MSBUILD task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant