Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mads S. Christiansen 6 posts 76 karma points
    Jan 08, 2021 @ 08:43
    Mads S. Christiansen
    0

    line 1 error global.asax

    Hi Guys,

    I just cant install a new clean umbraco site in visual studio - no matter what I do.

    I know this error is related to .net framework and the web project is an empty one with 4.7.2

    I have tried removing/installing frameworks, sdks's etc etc, even uninstalled visual studio 2019. I tried installing vs2017 as I have used that before but now I'm just at the point of giving up. I tried several other computers - something just wont work for me.

    Does anybody have the same issue and not just being related to project version?

    All the best

    Mads

  • Huw Reddick 1929 posts 6697 karma points MVP 2x c-trib
    Jan 08, 2021 @ 08:52
    Huw Reddick
    0

    when creating your empty solution, you didn't by any chance update this nuget package?

    Microsoft.CodeDom.Providers.DotNetCompilerPlatform? If you did, downgrade it back to version 2.0.1

  • Mads S. Christiansen 6 posts 76 karma points
    Jan 08, 2021 @ 08:55
    Mads S. Christiansen
    0

    Hi Huw,

    Thank you for replying me.

    I didnt unfortunately - otherwise it would be a great suggestion.

  • Sotiris Filippidis 286 posts 1501 karma points
    Jan 08, 2021 @ 09:01
    Sotiris Filippidis
    0

    Do you choose to set up an "ASP.NET Web Application (.NET Framework)? I know that sounds like an obvious choice, but sometimes people set up different kinds of projects.

  • Mads S. Christiansen 6 posts 76 karma points
    Jan 08, 2021 @ 09:05
    Mads S. Christiansen
    0

    Hi Sotiris,

    Yes, it is the correct project - I am all confused!

  • Sotiris Filippidis 286 posts 1501 karma points
    Jan 08, 2021 @ 09:57
    Sotiris Filippidis
    0

    Don't know if it will actually help, but I just recorded a screencast of me installing Umbraco via nuget on VS2019. (It looks fast, but my VM is not THAT fast - I've just snipped out the waiting parts :) ) See if it differs from your install process at any point.

    https://screencast-o-matic.com/watch/crVjQ4Pu0l

  • Mads S. Christiansen 6 posts 76 karma points
    Jan 08, 2021 @ 10:04
    Mads S. Christiansen
    0

    Thank you for your effort - we are doing the same thing except yours works flawlees and mine dont.

    I just dont know what to change, and I have been googling insanely ever since

  • Huw Reddick 1929 posts 6697 karma points MVP 2x c-trib
    Jan 08, 2021 @ 10:46
  • Mads S. Christiansen 6 posts 76 karma points
    Jan 08, 2021 @ 10:50
    Mads S. Christiansen
    0

    Thank you Huw, but already been down that path :(

Please Sign in or register to post replies

Write your reply to:

Draft