dnvm

ASP.NET vNext - MissingMethodException: Method not found: Microsoft.CodeAnalysis.Diagnostic> EmitResult.get_Diagnostics()'

大城市里の小女人 提交于 2019-12-10 14:14:25
问题 I upgraded this morning to VS2015 RC, and I created a new project using the ASP.NET 5 Template - Web Site. I have an error that I am not able to solve: An unhandled exception occurred while processing the request. MissingMethodException: Method not found: 'System .Collections.Immutable.ImmutableArray`1 Microsoft.CodeAnalysis.Emit.EmitResult.get_Diagnostics()'. Microsoft.AspNet.Mvc.Razor.RoslynCompilationService.Compile(RelativeFileInfo fileInfo, String compilationContent) Here is the full

.net core installation on Windows 10 iot (Raspberry PI3 - ARM)

时间秒杀一切 提交于 2019-12-10 13:35:33
问题 I test .net core on different OSs and I'd like to know if it's possible to install dotnet/cli (.net Core) on Windows 10 iot over my Raspberry PI3. My objective would be ro run simple GPIO tests. What I do so far : I went on the .NET core site and do not find anything about Windows 10 iot target. I found a nice blog post titled How to run .NET Core Application on Pi2 - Win10 IoT Core? but it use DNVM which seems to be obsolete, and I don't read anything about Windows 10 iot target in the sites

DNX: The current runtime target framework is not compatible with project

霸气de小男生 提交于 2019-12-08 14:39:47
问题 I am getting the following run-time error: [InvalidOperationException: The current runtime target framework is not compatible with 'TestDeployProject'. Current runtime Target Framework: 'DNX,Version=v4.5 (dnx45)' Type: CLR Architecture: x86 Version: 1.0.0-beta6-12256 Please make sure the runtime matches a framework specified in project.json] Project settings DNX SDK version: project.json target frameworks: "frameworks": { "dnx46": { } }, DNVM list : Active Version Runtime Architecture

What parameters are showing undefined in this dnvm.ps1 command? Deployment to Azure Web Site Fails as a result

感情迁移 提交于 2019-12-07 16:48:53
问题 I have been developing a new ASP.NET 5 (MVC 6) website on Linux. I am using Git with Azure and have been able to successfully push it to SCM. However my deployment fails due to some undefined parameters. Hoping someone can tell me what the undefined parameters are in the command shown in the terminal output so I can modify the script and finish this process. I run the command # git push azure master The following is the output, auto deployment should happen after a successful commit. The

How to Force Visual Studio to Use a Specific Version of DNX

笑着哭i 提交于 2019-12-07 07:29:01
问题 I was messing around with the dnvm, and I ran dnvm upgrade, putting me into beta5. However, the project I am working on is staying in beta4 (at least for now). I have been attempting to revert and failing. I have gone as far as to delete the runtime folder. Now, when I open the project or attempt to make a new one I get the following error: This is expected because I deleted the folder. However, I want to use dnx-clr-beta4. My dnvm list is as follows: What do I need to do to make Visual

Couldn't determine an appropriate version of runtime to run

一世执手 提交于 2019-12-06 15:57:10
I just finished upgrading to beta4. My code compiles successfully with no errors/warnings but I am unable to launch my web api hosted in IIS Express (by hitting F5 ). I get the following error: Couldn't determine an appropriate version of runtime to run. See http://go.microsoft.com/fwlink/?LinkId=517742 for more information. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: Couldn't determine an

What parameters are showing undefined in this dnvm.ps1 command? Deployment to Azure Web Site Fails as a result

旧街凉风 提交于 2019-12-06 02:27:51
I have been developing a new ASP.NET 5 (MVC 6) website on Linux. I am using Git with Azure and have been able to successfully push it to SCM. However my deployment fails due to some undefined parameters. Hoping someone can tell me what the undefined parameters are in the command shown in the terminal output so I can modify the script and finish this process. I run the command # git push azure master The following is the output, auto deployment should happen after a successful commit. The commit works but when it tries to run the following command it fails. dnvm.ps1' " install undefined -arch

DNX Web command throwing 'unable to resolve project' error after publishing from VS2015

感情迁移 提交于 2019-12-04 17:58:08
问题 This is about an obsolete pre-release version of .net core. I have created a basic project in pre-release ASP.Net 5 (later on was renamed to asp.net core) using a beta/preview of visual studio 2015, I have published the project to a file system and am trying to run it from there using the command dnx . web the error that results is 'unable to resolve project'. I have checked that dnvm is using the default framework. My published directory has web, web.cmd, wwwroot, and approot folders. Is

DNX Web command throwing 'unable to resolve project' error after publishing from VS2015

十年热恋 提交于 2019-12-03 11:33:21
This is about an obsolete pre-release version of .net core. I have created a basic project in pre-release ASP.Net 5 (later on was renamed to asp.net core) using a beta/preview of visual studio 2015, I have published the project to a file system and am trying to run it from there using the command dnx . web the error that results is 'unable to resolve project'. I have checked that dnvm is using the default framework. My published directory has web, web.cmd, wwwroot, and approot folders. Is there anything else I should be checking? I am using: asp.net core 1.0.0-beta4 clr For ASP.NET Core

What is the DNVM?

本秂侑毒 提交于 2019-11-30 11:00:52
I'm playing with the new Visual Studio Code editor, and created an ASP.NET 5 template project. To restore the packages, I found in the tutorials that I need to run the dnu restore command, which gets all the server side references that I need. After that, to build it I must run the dnx: web or kestrel command, and everything goes as expected. But, what are those tools? In the Git repository of the DNVM we don't have much information about it. Does the dnu restore uses NuGet? Is there some complete documentation about all that in the new .NET? I would like to know too if its possible to use the