Questions tagged [dnx50]
54 questions
1
vote
1 answer
Is it possible to produce *.pdb with dnu
I'm trying to debug C# project with VS Code. I like build system with "project.json" file and "dnu" utility. But "dnu build" produce only *.dll files and no *.pdb files. As result I see "Source code not available" in VS during debug session.
Is…

Dmitry
- 201
- 3
- 5
1
vote
1 answer
Framework DNX451 working in a Mac or Linux
I have created my project using YeoMan. In my project.json I have these frameworks:
"frameworks": {
"dnx451": { },
"dnxcore50": {
"dependencies": {
"System.Runtime.Serialization.Primitives": "4.0.10-*"
}
…

chemitaxis
- 13,889
- 17
- 74
- 125
0
votes
0 answers
Does DNX core 5.0 support SignalR 2.2.0?
I am new to SignalR and have to use it in my upcoming project but I am stuck on an error with references. The problem is that signalR 2.2.0 is available in DNX 4.5.1 but not available in DNX Core 5.0 and I am getting errors such as
"The type or…

Martin
- 455
- 1
- 11
- 34
0
votes
0 answers
Entity Framework 7 - SET IDENTITY_INSERT skips entity id mapping - Fails to insert values
I have a simple Entity Class as under:
[Table("Grade")]
public class Grade
{
//Tried changing this annotation to Identity
//[DatabaseGenerated(DatabaseGeneratedOption.None), Key]
[Key]
public int GradeId { get; set; }
public…

NBaua
- 583
- 4
- 16
- 33
0
votes
1 answer
How do net451 assemblies work in a project.JSON on DNX?
I've been tinkering with learning DNX and .Net Core 5 lately. However I an confused as to why net451 is available in the project.Json.
The way I understand it is DNX compatible projects compile to be cross platform against .Net Core 5.
What happens…

Ryan Mann
- 5,178
- 32
- 42
0
votes
1 answer
Adding class Library reference to DNX Core project
I have created a Asp.Net 5 project with some rest APIs. I have added a reference to another class library. I can see that the reference has been added in the DNX 4.5.2 (MessageQueue)references however it has not been added to the DNX Core 5.0…

chrisblue13
- 263
- 3
- 18
0
votes
1 answer
Reference error
I am getting reference error after i created new project in Asp.net core:
How can i fix that?

user3210023
- 164
- 13
0
votes
1 answer
MissingMethodException on connect with Npgsql + Dotnet CLI on CentOs 7.1
I'm running Dotnet CLI version 1.0.0-rc2-002439 on CentOS 7.1
I've built a prototype Console application that just performs a select against a PostgreSQL 9.4 database.
I'm only targeting DNXCORE50 and on windows, everything works just fine. When I'm…

Drewman
- 947
- 11
- 23
0
votes
1 answer
DNXCORE 5.0 and mysql / mariadb
For a new project which has to target Linux and Windows, I am searching for a solution to support MySQL (or MariaDB).
Because we have to support those different platforms I wish to work on DNX Core5.0. However I can't find any nuget packages /…

Rob Van Pamel
- 734
- 1
- 8
- 23
0
votes
1 answer
Phased migration - running ASP.NET 4 alongside ASP.NET 5
We have MVC ASP.NET Web Applications written within the ASP.NET 4.* scope that we would like to phase across to ASP.NET 5. While we transition (as well as client-side JavaScript scripts/libraries, CSS, etc) we'd like the old app (which obviously…

TerrorBight
- 334
- 4
- 23
0
votes
1 answer
Microsoft DNX application Angular2 does not run when deployed on Azure
I have followed this tutorial describing how to build an ASP.NET MVC app using Angular2 and typescript https://ievangelistblog.wordpress.com/2016/01/13/building-an-angular2-spa-with-asp-net-5-mvc-6-web-api-2-and-typescript-1-7-5/
App deployed…

Abdelkrim
- 2,048
- 5
- 30
- 44
0
votes
1 answer
How Createx509certificate2 given certificate bytes and private key - dnx50
Basically i am using a LetsEncrypt service to get a certificate byte[] back that i can turn into a X509Certificate2 but then it is missing the private key to then use it on a SSLStream. I have the private key as a RSAParameters but can also convert…

Seer
- 495
- 5
- 20
0
votes
2 answers
access mysql using dnxcore on linux/osx
So MySql.Data dependency does not support DNXCORE version 5. Is there another dependency I could use to connect to MySql data source? I don't need Entity Framework.

Alex Polkhovsky
- 3,340
- 5
- 29
- 37
0
votes
1 answer
SqlCredential - missing assembly/namespace in .Net5.0 mvc6 - rc2
I'm using vs2015 with .net5.0
- SqlCredential works in DNX 4.5.1 but not DNX Core 5.0 even though I added this line below (under dnxcore50 section) to the dependencies
"System.Data.SqlClient": "4.0.0-rc2-23819"
still getting error msg from the…

nerrad
- 49
- 7
0
votes
0 answers
Asp.net WindowsImpersonationContext not found in DNX 5
In a Mvc WebApp I am stuck at this line in a controller:
WindowsImpersonationContext impersonationContext = WindowsIdentity.GetCurrent().Impersonate();
VS 2015 Community complaints about WindowsImpersonationContext which is not defined in DNX 5…

Lookaji
- 1,023
- 10
- 21