English 中文(简体)
电话:+3.5在机器上运行,只有 。 NET 4.0。 如何支持全职工作?
原标题:Application built with .NET 3.5 running on machine with only .NET 4.0. How does supportedRuntime element work?

We have an application that was built using .NET 3.5. There is a situation where it will run on a machine which only has .NET 4.0 installed.

如果在申请组合中存档<代码><支持Runtime>要素没有定义,或定义如下:

<startup>
    <supportedRuntime version="v2.0.50727"/>
</startup>

自www.NET 3.5和CLR v2.0.50727以来,申请启动后是否会出现故障?

注一了解,NET 4.0 标本应与NET 3.5相容,网3.5 应用程序should >在4.0中运行。 这不是问题。 我特别询问了<条码>和代号;支持的Runtime>行为。

最佳回答

Adding Hans Passant s comment as it seems a suitable answer.

申请将坠毁。 用4.NET操作,你需要加上另一个支持的Runtime属性,即“4.0”。

问题回答

暂无回答




相关问题
Test "User Must Change Password" field in .Net 3.5

I m trying to perform some basic AD User managment tasks in C# using .Net 3.5 I ve got a System.DirectoryServices.AccountManagement.UserPrincipal object that contains the user details. I can call ...

Entity Framework - Many to many question

I have a table called ASB and a table called PeopleInvolved. There is a junction table called PeopleInvolved_ASB which simply contains an ASBID and a PeopleInvolvedID column. The columns act as a ...

WCF: DuplexChannelFactory timeout error

I m using a DuplexChannelFactory when accessing my WCF service so that my service can use a callBackChannel to communicate back to the client. That s all fine but I get a timeout error when creating ...

AutoResetEvent, ManualResetEvent vs Monitor

Lets say I have to orchestrate a synchronization algorithm in .Net 3.5 SP1 and any of the synchronization primitives listed in the title fit perfectly for the task. From a performance perspective, is ...

Managing multiple .Net-Frameworks on a webserver

So I m in charge to deploy my project on the productive server where some other ASP.NET-Websites are also set up. The problem now is that I wrote my whole project under .NET 3.5 but on the webserver ...

Unit Testing .NET 3.5 projects using MStest in VS2010

There s a bug/feature in Visual Studio 2010 where you can t create a unit test project with the 2.0 CLR. https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=483891&wa=...