Questions tagged [.net-standard-1.6]

13 questions
43
votes
3 answers

Dynamic reference in a .net core app targeting net standard 1.6?

I'm trying to use a dynamic variable in a C# .net core app that's targeting .net standard 1.6. (platform? library? framework? meta-framework?) I first encountered this problem in a real application, but I have reduced it to a minimal…
recursive
  • 83,943
  • 34
  • 151
  • 241
18
votes
1 answer

iTextSharp: Any support for dotnet core (netstandard1.6)?

I've been using iTextSharp with regular dotnet applications for a while now. We're interested in using it with dotnet core. But it seems that the library is still not supported on the new dotnet core platform: Package iTextSharp 5.5.10 is not…
Pieter
  • 4,721
  • 6
  • 19
  • 18
10
votes
1 answer

Problems with .net-core self contained publish

I`m trying to publish a self-contained app, made in .net-core, following the steps in https://learn.microsoft.com/en-us/dotnet/articles/core/deploying/index. The repository with the code is in https://github.com/fontanaricardo/httpecho I execute the…
Ricardo Fontana
  • 4,583
  • 1
  • 21
  • 32
3
votes
1 answer

Dapper / SQL Server : passing TVP to stored procedure with needed fields only

I need to pass a collection of items to a stored procedure. A stored procedure inserts them into several tables. I use a table value parameter of custom user type declared. TVP type: CREATE TYPE [dbo].[Type1] AS TABLE ( [Id] [int] IDENTITY(1,1)…
3
votes
1 answer

Odd Async Issues with HttpClient

Working on using the HttpClient to convert WebClient code from .Net Framework 4.6.1 to NetStandard 1.6, and having an odd issue. Here's my code blocks that are in question: public double TestDownloadSpeed(Server server, int simultaniousDownloads =…
JW52761
  • 78
  • 10
3
votes
1 answer

Error on netcoreapp1.1 when adding a netstandard1.6.1 reference

I tried to update my website project netcoreapp1.0 to netcoreapp1.1 and DAL project (netstandard1.6.1) but this error pops up when i try to add my DAL project as reference to my website project. Heres the project.json of my projects: DAL…
Jicking
  • 768
  • 6
  • 12
2
votes
1 answer

ASP.NET Web API 2 cannot return stream when NET Standard 1.6 project is referenced

This is one of the weird issue I have seen and here are the steps to reproduce 1> Create new Web API project in VS 2017 with Target Framework 4.6.2 Create new ASP.NET Web Application -> Select Empty -> Check Web API -> Click OK 2> Add Controller…
LP13
  • 30,567
  • 53
  • 217
  • 400
2
votes
0 answers

Referencing multiple-targets .NET Core library from a .NET console app using conditional compile

I'm migrating a legacy .NET 4.6.2 library to the new .NET Core framework (for .NET Standard 1.6) using VS2017 (RTM). The library should be consumed by both .NET Core and .NET462 clients, so its .csproj file targets both frameworks e.g. (notice the…
Naftis
  • 4,393
  • 7
  • 63
  • 91
2
votes
1 answer

No StreamReader constructor accepting a string

I'm porting a .NET 4.6.1 console app to .NET Core. I have NETStandard.Library 1.6 installed, and it's not letting me pass a file path string into a StreamReader constructor. Viewing the definition confirms that it's not available: Where's it gone?
user888734
  • 3,797
  • 5
  • 36
  • 67
1
vote
1 answer

.NET Standard Class Library in .NET Framework 4.7 project

I'd like to share code between a .NET Framework 4.7 solution and a .NET Core solution for use in AWS Lambda. I have created a .NET Standard 1.6 class library project and have moved some code from the .NET Framework 4.7 solution into this project in…
Anthony
  • 1,706
  • 2
  • 22
  • 46
1
vote
1 answer

Support .net Core for a nuget package

I have created a nuget package implementing TinyEncryptionAlgorithm but it supports only .Net 4.6.1 Now I want to use this nuget into a .net core application NETStandard.Library and I don't know what I have to do. Do I have to implement a completely…
Menelaos Vergis
  • 3,715
  • 5
  • 30
  • 46
0
votes
1 answer

ECDSA signature - Is a conclusion to the used key possible?

I noticed that if I used the ECDsa.SignData Method I always get different ECDSA signature. So I wonder if it is possible to conclude from the ECDSA signature to the used key? If Alice sends a message to Bob1 and Bob2, can Eve determine without the…
hdev
  • 6,097
  • 1
  • 45
  • 62
0
votes
0 answers

Can't add Microsoft.Azure.Search 3.0.2 nuget package in VS2017

I load up a Visual Studio 2017 and create an empty ASP.NET Core console application. I go to manage nuget packages and "Install-Package Microsoft.Azure.Search" and get the following error: Install-Package : One or more packages are incompatible…