Can .Net 3.5 applications run on machines running .Net 2.0 runtime?

I am writing my application in VS 2008 and therefore use all fancy things like LINQ, object initializers, etc. Now my application can run on machines that only have the .NET environment, but no .Net 3.5 runtime? .Net 3.5 runtime is a huge load, as you all know.

+3
source share
8 answers

What you can use is, for example, the var keyword, auto-getters and autoinstallations, object initializers. That is, syntactic sugar that is compiled into 2.0 code.

What you cannot use is the functionality found in the .Net framework 3.0 and 3.5 library. For example, LINQ.

, , Visual Studio .Net Framework 2.0. , Framework 3.0 3.5.

:

namespace System.Runtime.CompilerServices
{
    public class ExtensionAttribute : Attribute { }
}

2.0, .

+9

.NET 2.0, .NET 3.5. . Visual Studio LinqBridge Linq .NET 2.0

. MSVS screencast Channel9.

+5

Smallest DotNet, Framework 3.0 3.5.

+1

, , , .NET 3.5 .NET 2.0 CLR, , , , , , , , , .Net 3.5.

VS2008 .Net 2.0. , Solution.

http://en.wikipedia.org/wiki/Microsoft_.NET#Microsoft_.NET .

0

.Net 3.5, .

0

, , VMWare ThinApp Xenocode Postbuild, .NET .NET.

0

Jean-Baptiste Evain , # 3.0 LINQ , .NET 2.0 .

System.Core Mono, MIT/X11.

. .

0
source

No, they cannot.

-3
source

Source: https://habr.com/ru/post/1697293/


All Articles