Most voted ".net-standard" questions
4 questions
Sort by count of
-
8
votes2
answers927
viewsWhat’s the difference when creating a class libray (.net framework) and class library(.net standard) project in VS2017?
What are the differences and uses of these types of projects?…
-
5
votes1
answer246
viewsCompatibility between . NET Core 2.0 and . NET Framework 4.7
I am creating general purpose libraries (Dlls), to reuse them in projects . Net Core 2.0 and . Net Framework 4.7. I wish to have projects. Net Core on Linux and projects . Net Framework 4.7 for…
-
1
votes1
answer45
views.NET Core - Class configured in container with Addsingleton() needs to be a Singleton?
A Web API application in . NET Core consumes a DLL in . NET Standard. DLL has a Foo class that depends on the Bar class: class Foo { private readonly IBar bar; public Foo(IBar bar) { this.bar = bar;…
-
0
votes0
answers38
views.NET Standard 1.2 - Fileversioninfo does not exist
Follows code: public static string GetVersion() { return FileVersionInfo .GetVersionInfo(Assembly.GetExecutingAssembly().Location) .ProductVersion; } I get error: CS0103 The name "Fileversioninfo"…