-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Make apphost generation work correctly during incremental build #2554
Comments
I wonder if we can actually solve this on top of #2545 with just use cc @peterhuene |
If there are additional properties or items that matter beyond the assembly, you can use a pattern like we do for C#: collect all relevant properties into an item and write its hash to a file with See https://github.com/Microsoft/msbuild/blob/90506c8f6c5e4b82a09bafa6ae62a41e9e7367bb/src/Tasks/Microsoft.Common.CurrentVersion.targets#L3404-L3431 (right now that only does items but you could add properties too). |
https://github.com/dotnet/sdk/pull/2413/files#diff-fc9ca72fce3be7d1f0119f6666a307bdR148 I think genshim's incremental build is correct. Normal apphost should be similar to that |
It should be similar to that if necessary, but I think the standard apphost might be a pure function of the managed assembly. |
….3 (#2554) - Microsoft.DotNet.Cli.Runtime - 3.0.100-rc1.19451.3
The apphost generation currently will not overwrite an existing apphost. The result is that changing properties that influence the apphost (setting the target to WinExe/Exe, or adding resources to the managed dll that get copied over to the apphost via #2545) won't result in a new apphost being created for incremental builds, which seems incorrect.
See the discussion in #2467 and the related issue #2473.
The text was updated successfully, but these errors were encountered: