-
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
Update support libraries to those that are only lib. #1582
Conversation
@ericstj Looks like this breaks the test that is supposed to check that the facades aren't deployed once netstandard.dll is inbox. That test has some hacky workarounds, so I'm not sure if the issue is with the hacky workarounds or whether there's actually a break with the new package. |
Got it, I need to update the test. |
efe515b
to
2df15b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you link to the corresponding issues and PRs with more of the context for this change?
And could you also fill out the approval template for this, which you can see here?
Customer scenario Customer had desktop project referencing netstandard1.5 or later assembly. In their solution they have a web project Bugs this fixes Related Issues: https://github.com/dotnet/corefx/issues/23229, #1522, https://github.com/dotnet/corefx/issues/23505, dotnet/corefx#23711 Workarounds, if any To all desktop project files add the following:
Risk Low Performance impact Improves performance by removing a number of items and wildcard expansion (further changes aim to improve more). Root cause analysis Web project system ignores CopyLocal metadata on references and will copy them to the output directory outside of the build if the file is absent. This breaks if any assembly is intentionally CopyLocal=false (AKA: Private=false), and a ReferenceAssembly without a corresponding implementation in the GAC. It will be copied to the output directory and later loaded for execution by ASP.NET. XAML compiler attempts to load all references for execution and fails for any that are ReferenceAssemblies without a corresponding implementation in the GAC. How was the bug found? Customer reports @MattGertz for approval |
FYI this will likely need to be updated once CoreFx has a final 2.0.2 servicing build /cc @weshaggard |
This PR prevents the use of the .net standard ref during the build and as a result the compilation fails.
It is possible that this PR breaks a build in the following context?
With this patch, the netstandard.dll doesn't get added to the compilation step, and the build fails. |
@emmanuelguerin do your patch work for .NET Framework 4.7.1 ? to my csproj , but did not fix the problem, I get this error But i m not referincing this DLL in my project ! any help please ? |
@dsplaisted you may want to take this and create your own PR. Not sure if its complete.