gentledepp / alma.debugify

MIT License
3 stars 1 forks source link

Does not work for all project types, only for .net standard and .net core #2

Open gentledepp opened 3 years ago

gentledepp commented 3 years ago

Because the tool uses dotnet pack to create the symbol packages, it does not support the kinds of project types, that need additonal MSBuild targets.

For example, you cannot debugify a project that uses MsBuild.Sdks.Extras in order to have a multi-platform nuget targeting iOS, UWP and Android.

In such cases, we need to fallback to using msbuild.exe directly.

There is a tool which ships with Visual Studio since 2017: vswhere It can easily be found by resolving an environment variable https://github.com/Microsoft/vswhere

Then, it can be used to return the path to msbuild.exe The example can be found here

gentledepp commented 3 years ago

@bruzkovsky do you want to have a take on this? ;-)

bruzkovsky commented 3 years ago

@gentledepp count me in!