microsoft / MSBuildLocator

An API to locate MSBuild assemblies from an installed Visual Studio location. Use this to ensure that calling the MSBuild API will use the same toolset that a build from Visual Studio or msbuild.exe would.
Other
212 stars 83 forks source link

Is there a way to avoid needing the exe.config with bindingRedirects? #299

Open eriknielsen opened 2 weeks ago

eriknielsen commented 2 weeks ago

Hi! When I build my analyzer it has some generated bindingRedirects but I don't understand why. I would like to understand why to see if there's a way to avoid it so that I can distribute my analyzer as a single exe that is framework dependent. The exe.config looks like this:

`<?xml version="1.0" encoding="utf-8"?>

` This project started from the template Standalone Code Analysis Tool in Visual Studio
YuliiaKovalova commented 2 weeks ago

Hi @eriknielsen,

I have no insight on why it was added. Hopefully, @rainersigwald can tell us more.