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
Produce outputs on build is removed from RC2 and PostCompile does not work as expected #6122
Comments
Instead of "postcompile" you should use "postpublish" or "postbuild" (if you'd like the package(s) to be created after each build). |
postbuild is not working in RC2, it never gets executed whereas postcompile does |
Yes, sadly
|
Maybe not that strange... In the future all these things will maybe move to csproj so no worries... |
Any fix for this yet? |
@StefH had this right :) Preview3 moves this behavior to csproj and lets us use msbuild for build orchestration. Pack itself is now a target, making this sort of chaining even easier. |
In RC1 (dnx) you could check the option "Produce outputs on build" which creates a NuGet after the build.
However in RC2 (dotnet) this does not work anymore, and the postcompile cannot be use for that.
I've defined this in my project.json:
However this step is executed for every framework in my projoct.json ?
The text was updated successfully, but these errors were encountered: