Start an asp.net core project as x86 under visual studio 2015

前端 未结 3 555
-上瘾入骨i
-上瘾入骨i 2020-12-18 09:48

I have a vs2015 solution containing an asp.net core project and have configured its project.json as follow :

{
  \"buildOptions\": {
    \"emitEntryPoint\":          


        
3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-18 10:43

    This is what worked for me :

    An hour ago, visual studio 2015 team released a new update labeled "Microsoft Visual Studio 2015 Update 3 (KB3165756)"

    After installation, everything works as expected.

    A big thanks to MS and .net core / vs2015 teams for this extremely timely release :)


    Addendum:

    Installing the update isn't enough ( although I suspect it is part of the fix ). The additional steps to make this work you need to follow @VictorHurdugaci directives:

    1. Ensure you have installed the x86 version of the .net SDK

    2. And ensure PATH order of "C:\Program Files (x86)\dotnet\" before "C:\Program Files\dotnet\" the runtime which is not guaranteed when you install the new package ( I wanted to keep both x86 and x64 runtimes )

    Thanks VictorHurdugaci, at the end of the day you were absolutely correct.

提交回复
热议问题