- Visual Studio For Mac Tutorial
- Crack Visual Studio For Mac
- Visual Studio For Mac Os
- Download Visual Studio For Mac
- Visual Studio For Mac
Visual Studio Dev Essentials – Get all of the above and more Get all these free tools and services, plus Pluralsight training, Azure credit, downloads, and more – for free. Visual Studio for Mac is a full-featured IDE built natively for the Mac, to help you develop, debug, and test anything from mobile and web apps to games. Teams across PC and Mac can share code seamlessly by relying on the same solutions and projects.
I just recently swapped my MS PC for an Mac, I'm trying to continue working on an MVC project, but I'm getting an error (Error CS1902: Invalid option 'portable' for /debug; must be full or pdbonly (CS1902)).
Are there any good documents that explain how to make it work? I have seen people porting MVC to .NET Core, but I can't get the analyser to work on my Mac (not sure it's supported yet).
3 Answers
I had this same problem when trying to use Visual Studio for Mac to build a solution that works fine in Windows. Turns out the /debug:portable
flag was being passed to the build command, even though the 'Debug Information' was correctly set to 'Full' in my project settings. Search the build output for 'portable' and you will indeed find the flag there regardless of your settings.
The fix is to upgrade the Microsoft.Net.Compilers nuget package. In my case, it upgraded from 1.0 to 2.7, and then the project built successfully.
Visual Studio For Mac Tutorial
I did two things.
I update the Microsoft.Net.Compliers via nuget.https://www.nuget.org/packages/Microsoft.Net.Compilers/
Change one value in the properties of project.https://johnharold.wordpress.com/2017/08/16/csc-error-cs1902-invalid-option-portable-for-debug-must-be-full-or-pdbonly-cs1902/
Crack Visual Studio For Mac
I wish you can solve the problem
Visual Studio For Mac Os
Right click on the project in the solution explorer and go to Options, Build, Compiler and change Debug information to Full