After setting up VS Code, I'm trying to run an ASP.NET 5 project using Visual studio code's command palette on Ubuntu Linux 14.4.
The DNVM installed is for Mono. Following the steps given on VS code's official docs, the project is created with Yeoman scaffolder.
Whenever trying to start the project, I get the following error:
OmniSharp server is not running.
I found some posts when trying to solve this but most seems to be addressing either Console project or are given for OS x:
For a Console App
This is for debugging not running
The output of mono --version shows that it is >3.12:
My dnvm is already the latest
I can run the project by using dnx web command from Terminal.
However, my simple question:
How do I run ASP.NET 5 on Ubuntu using VS Code?
Side question : Not sure by when the debugging will be supported. Any rumours about the extension will be appreciated.
This seems to be a bug with OmniSharp and not specifically with VSCode
Related
I used Ionide F# a lot in the past for the amazing code completion in F# scripts. I didn't use it in a while and it doesn't work at all. I checked the debug output on level DEBUG or INFO and I only get:
[16:00:00 INFO ] .Net runtime specified
[16:00:00 INFO ] finding FSAC for
runtime: NET
mono: mono
dotnet: null
Ionide doesn't show up in Running Extensions, and there's also no more other debug output. So it seems the extension crashes, but Log(Extension Host) only shows the activation of the service, not that it crashed or any other errors:
[2018-11-19 16:00:00.507] [exthost] [info] ExtensionService#_doActivateExtension Ionide.Ionide-fsharp {"startup":false,"activationEvent":"onLanguage:fsharp"}
[2018-11-19 16:00:00.507] [exthost] [info] ExtensionService#loadCommonJSModule C:\Users\mcu3si\.vscode\extensions\ionide.ionide-fsharp-3.30.0\fsharp
I'm using F# 4.5 on Windows with .NET 4.7.2. VSCode is version 1.29.1 and Ionide is version 3.30.0.
I recently had issues with Ionide in VSCode and the workaround I used to fix it was to uninstall and reinstall both the extension and vscode.
To me it seems the extension updates has mangled something in the Ionide setup.
I found the answer and forgot to post it back in the day:
You need to have dotnet installed (that is .NET core). IMHO it should show an error message, but in case it still doesn't, that's the reason why.
I am windows developer and trying to write a program on ubuntu in F#
I have ubuntu 16.04 and I am following video https://channel9.msdn.com/Events/Build/2016/T661
I have installed dotnet-dev-1.0.0-preview2.1-003177
Now I am able to do a small hello world program in C#
But when I follow steps from above video I get error when I do 'dotnet run'
"
The specified framework 'Microsoft.NETCore.App', version '1.0.0' was not found.
- Check application dependencies and target a framework version installed at:
/usr/share/dotnet/shared/Microsoft.NETCore.App
- The following versions are installed:
1.1.0
- Alternatively, install the framework version '1.0.0'.
"
Also one thing I observed is I don't have 'Nuget.config' like the video shows.
I have below questions:
How to resolve above query
Is there any tutorial available for development of f# on ubuntu either using .net core or mono as finally I would like to port my Actor model akka.net code from windows to ubuntu.
Regards,
Amit Bhagwat
When i try to run the ASP NET 5 solution, i get below error.
Microsoft Visual Studio Error
The following error occurred attempting to run the DNX design time process (dnx-clr-win-x86.1.0.0-beta8).
The system cannot find the file specified.
The DNX design time process provides intellisense, build, and reference information to Visual Studio and without it your experience will be very limited. Please try closing and reopening Visual Studio to see if that corrects the problem. Alternatively, check that the DNX version is properly installed or try changing to a different installed DNX version using the project property pages.
The project is not finding DNX SDK (if you look at the project properties you may see an empty drop-list next to 'Solution DNX SDK version').
If you are on windows 7, I suspect you may have an old version of powershell installed. You need at least version 3.0.
See this answer on a similar issue:
https://stackoverflow.com/a/31549273/299529
I am trying to deploy a HTML/CSS/JS Apache Cordova application from a windows machine to a Mac. I believe they are communicating properly through the remotebuild agent but when I attempt to build a blank project to deploy on the Mac this error is thrown at the very beginning of the build:
MDAVSCLI : error : The edge module has not been pre-compiled for node.js version v4.1.1. You must build a custom version of edge.node. Please refer to https://github.com/tjanczuk/edge for building instructions.
I have followed the link and have searched for the solution as to how to fix this error but the link does not seem to apply to what I am doing at all. I am not using any node.js functions in my code so I am confused as to why this error is occuring. I am only trying to build a nearly blank HTML page and I still get the error regardless of how simple I make the page.
How can I go about fixing this solution? what is the best way to get rid of this error or to as the error suggests pre-compile edge to work with node.js version 4.1.1?
There is an issue with Cordova 5.3.1 and Node v4.
https://github.com/Microsoft/cordova-docs/blob/master/articles/known-issues/known-issues-ios.md#building-for-ios-hangs-when-nodejs-v40-is-installed
I fixed by uninstalling Node v4.1.1 and installing Node v0.12.7
https://nodejs.org/en/download/releases/
#Dustin,
you have a misconception about how Cordova works. You say you want to deploy to a Mac, but I think you mean iOS. If so, you should read:
What's needed for iOS Development?
https://groups.google.com/forum/?fromgroups=#!topic/phonegap/bf1Hgkel3W4
I Quote
The short and sweet of it is as follows:
You need OS X + Xcode
You need several iDevices
You need $99/year for Apple Developer program (which you've already indicated is not a problem)
All of the above = cost-of-doing-business.
If you read the entire thread (especially the part from Kerri Shotz), you will get more information and more options.
Best of Luck
After losing a fair bit of hope and following a lot of posts, blogs and bug work-arounds with no luck I decided to click on the 'Run Dependency Checker' button in Visual Studio - Tools -> Options -> Tools For Apache Cordova -> Cordov Tools. This checker told me that Joyent Node.js wast installed. I did have node.js and npm set up on the latest version, im not sure what the difference is.
I went through the process of modifying the VS installation (change or remove a program) and sure enough Joyent Node.js wasnt checked. I cheked it and it went through the process of installing.
My VS installation now looks like the below and my project is building without:
MDAVSCLI : error : The edge module has not been pre-compiled for node.js version v4.1.1
I've downloaded Umbraco, connected to a database and installed a sample site but when I try to run in Visual Studio, I get this error:
Could not load type 'Umbraco.Web.UmbracoApplication'.
Any ideas?
I usually follow this guide to get Umbraco up and running with Visual Studio: Setting up Umbraco 7 in Visual Studio 2013 for MVC 4 development
You are possibly missing a reference. Also - I found this happens in my version 7.2.4 too.
Check that the install completes - especially if you installed with NuGet. Sometimes powershell doesn't work and the installation is not completed. Look for yellow text during installation. If this fails, try an older version.