On the Lucene.Net GitHub page (https://github.com/apache/lucenenet), it says that version 4.8.0 (the beta version currently available on GitHub) is compatible with the .Net Standard 1.5 and .Net 4.5.1 frameworks. Fantastic!
I did a git clone…
I have a simple Dll where I defined some class like this:
public class Parameters
{
public string Message { get; set; }
}
I added a NuGet package Newtonsoft.Json.
This DLL MUST be consumed by a netcoreapp1.1 and a net462.
I have tried to…
I created a portable class library and then targeted it at .NETStandard 1.5 from the project properties. I then created a second project with the exact same project settings, but added code to use for invoking and testing the code in the first…
I have setup a reusable base class library I wanted to use for both web, desktop and mobile. It holds basic functionaly, e.g. string, datetime manipulations etc.. Because I hate writing code twice.
VS2015 told me it was best to use the new ".NET…
I am new to .net core.
I need some help to configure my project.json file to create a class library with .net core. I actually read a lot of documents, but I am lost since there is an overwhelming amount of things to read.
I know that I have to use…
There are 4 projects:
MyProject.Domain
MyProject.Services.Contracts
MyProject.Services.Acomba
MyProject.Services.Acomba.Tests
The Acomba projects depends on a NuGet Package that I packed according to this SO Answer.
All of those projects are of…
I have a test project configured with .NET Standard 1.5
IDE: Visual Studio 2017 Community
I have included xunit and xunit.runner.console but I cannot run the tests.
I tried dotnet test on the test project but I get the following error
Could not…
I created in VS2017 two C# projects:
.NET Standard 1.5 library
.NET Framework 4.6.2 Console application. (implements Standard 1.5)
I added the reference to the library, but cannot access types from it.
Compiler just complains that it cannot find…
I have both a Xamarin Client and Asp Core Web API that need to reference the same project, which will be used as a Portable Class Library. Sounds simple, but I'll take you through my process. The PCL is just a Model so I can use the same classes for…
I have seen many articles about this, but mainly for pre release versions of Visual Studio 2017. I have VS 2017 Professional version 15.3.3 installed.
As for myself, I can create new projects or open existing projects and all is fine, but if a…
Im writing a PCL in .net-standard to be used for both android and IOS.
Currently im writing a UDP multicast listener for device discovery.
however when i do
IPAddress multicastaddress =…
According to the docs on the .NET Platform Standard, it seems like it should be possible for Xamarin apps to consume NuGet packages targetin netstandard13. However, when I try this I get the following error while trying to add the NuGet:
Unable to…
I am using the new netstandard1.5 target framework in my class library. Are you still able to use pre-processor directives to add additional functionality for the full .NET framework?
For example, I want to use System.ServiceModel.Syndication with…
How do I implement a new Exception when I am targeting .NET Standard 1.5 and earlier versions? The [Serializable] attribute is not available and my understanding is that this is required for the full .NET framework.
[Serializable]
public class…