question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't build project referencing 2.0.0-beta* on MacOS

See original GitHub issue

On latest MacOS with dotnet core 3.1.5, a 3.1 project referencing RazorLight will fail with:

/Users/georgiosd/Documents/studoyo/api/xxxx.csproj : error NU1102: Unable to find package Microsoft.CodeAnalysis.CSharp with version (>= 3.3.0)
/Users/georgiosd/Documents/studoyo/api/xxxx.csproj : error NU1102:   - Found 62 version(s) in nuget.org [ Nearest version: 3.0.0 ]
/Users/georgiosd/Documents/studoyo/api/xxxx.csproj : error NU1102: Unable to find package Microsoft.CodeAnalysis.Common with version (>= 3.3.0)
/Users/georgiosd/Documents/studoyo/api/xxx.csproj : error NU1102:   - Found 62 version(s) in nuget.org [ Nearest version: 3.0.0 ]
    0 Warning(s)
    2 Error(s)

I tried downgrading all the way down to beta1 and it fails with a different error.

Any ideas?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:30

github_iconTop GitHub Comments

1reaction
jzabroskicommented, Jun 30, 2020

@georgiosd I think this issue might only happen on Mac, which is why I can’t reproduce it. It may be a duplicate of #292

I guess, my question is, how can I repro a Mac issue? What’s the best practice? I don’t own mac any more. Mine fried two years ago and I went Lenovo/Windows 10 Pro due to WSL support letting me run Linux inside Windows. One way would be to move to GitHub Actions for CI/CD and use a Mac host runner type. https://devblogs.microsoft.com/dotnet/continuous-integration-workflow-template-for-net-core-desktop-apps-with-github-actions/ But I am curious as you also run your own software company, what your best practices are?

0reactions
georgiosdcommented, Jan 5, 2021

Well done! Happy new year.

On Tue, Jan 05, 2021 at 1:57 AM, John Zabroski < notifications@github.com > wrote:

Closed #350 ( https://github.com/toddams/RazorLight/issues/350 ).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub ( https://github.com/toddams/RazorLight/issues/350#event-4167271928 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AAMYG5SNN35IIJLJE3S4QMTSYJIX5ANCNFSM4OLHDUPQ ).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular error when loading project on Mac
I fixed it. Clearing it all and cloning the project again then deleting all the '^' from the package.json everything worked as expected....
Read more >
VS for Mac cannot build .Net Standard projects
I have VS2017 running on Windows under a parallels VM. I select File, New Project and create an empty, Xamarin Forms project using...
Read more >
Can't do anything on Mac OS X Big Sur - IDE 2.x
Hi everyone, I just downloaded the new IDE 2.0, in both standard and Nightly version, but after install I really cannot do a...
Read more >
Xcode 14 Release Notes
When running in macOS 13 beta, AppIntents code may fail to build with Xcode 14. ... Fixed an issue where multiple Xcode projects...
Read more >
NCrunch cannot build .NET Standard 2.0 projects - Page 3
This file contains the references to the Nuget package root used by the build system, and is the main way MSBuild finds the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found