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

Template in Visual Studio that adds a DiagnosticSource binding redirect in web.config, but doesn’t publish the assembly #46

Open
SergeyKanzhelev opened this issue Nov 16, 2018 · 0 comments

Comments

@SergeyKanzhelev
Copy link
Contributor

The issue is caused by a broken template in Visual Studio that adds a DiagnosticSource binding redirect in web.config, but doesn’t publish the assembly.

<dependentAssembly>
        <assemblyIdentity name="System.Diagnostics.DiagnosticSource" publicKeyToken="cc7b13ffcd2ddd51" />
        <bindingRedirect oldVersion="0.0.0.0-4.0.2.1" newVersion="4.0.2.1" />
      </dependentAssembly>

Workaround if to remove that dependentAssembly node. VS folks are aware of the problem and they have a fix for it in 15.9.1

We may need to fix it by not crash if DiagnosticsSource cannot be found.

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

1 participant