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

Nuget has contains debug build #62

Open
rstm-sf opened this issue Jul 17, 2023 · 6 comments
Open

Nuget has contains debug build #62

rstm-sf opened this issue Jul 17, 2023 · 6 comments

Comments

@rstm-sf
Copy link

rstm-sf commented Jul 17, 2023

Nuget has contains debug build , see

dotnet nuget add source "$cwd/Antlr4BuildTasks/bin/Debug/" --name nuget-antlr4buildtasks 2>&1 > /dev/null

@kaby76
Copy link
Owner

kaby76 commented Jul 17, 2023

It is debug so crashes can be traced. Is there an issue?

@rstm-sf
Copy link
Author

rstm-sf commented Jul 17, 2023

There are no problems, but I somehow got used to using the release build, because, for example, optimization is turned on there. And I don’t know about stack trace problems with release builds

@kaby76
Copy link
Owner

kaby76 commented Jul 17, 2023

Release builds don't have a stack trace.

The main problem with the package is that it is included downsteam to a build. Once the build is done the package should then be removed in the user's Release or Debug output directory. But I didn't think of this before. This seems not too hard to do in Antlr4BuildTasks.targets.

@rstm-sf
Copy link
Author

rstm-sf commented Jul 17, 2023

Release builds don't have a stack trace.

I'm sorry, but this is news to me. F. ex. see https://stackoverflow.com/a/3137915

@rstm-sf
Copy link
Author

rstm-sf commented Jul 17, 2023

Once the build is done the package should then be removed in the user's Release or Debug output directory

Can't we use PrivateAssets? https://stackoverflow.com/a/65297502

@kaby76
Copy link
Owner

kaby76 commented Jul 17, 2023

I need to see as much information in a stack trace. Privateassets works but only with "dotnet publish", which I hardly do.

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

No branches or pull requests

2 participants