如何在Windows 64位开发利用C#3.5的安装项目? [英] How to Setup Project Developed by C# 3.5 on Windows 64 bit?

查看:117
本文介绍了如何在Windows 64位开发利用C#3.5的安装项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发使用C#3.5和MSSQL 2005年项目,,并发布后,,它不会安装在任何Windows 64位上的客户端电脑,, 问题是,该项目是32位的,你的电脑是46位, PS。这个项目我公司开发的是32位。 我应该怎么做才能解决这个问题?

i have Developed a Project using C# 3.5 and MSSQL 2005 ,, and after publishing it ,, it does not setup in any windows 64-bit on the Clients PCs ,, The Problem is the Project is 32-bit and your PC is 46-bit , PS. the project i developed in was 32-bit . What should i do to Solve this Problem ??

推荐答案

通常的安全的管理项目,建立IL程序集是从视图中的目标架构点中性。在32位的开发环境中创建的组件工作正常在64位计算机上,只要适当的64位.NET Framework是安装在机器上。只有当你使用不安全的构造,如PInvoke的,或者如果你专门建立自己的组件为目标平台时出现的问题。

Normally safe managed projects build IL assemblies that are neutral from the target architecture point of view. An assembly created on a 32bit development environment works fine on a 64 bit machine, as long as the proper 64bit .Net Framework is installed on that machine. Problems appear only if you use unsafe constructs, like PInvoke, or if you specifically build your assemblies for a target platform.

现在的问题是,为什么你标记这个问题的SQL Server 2005和.Net 3.5? SQLCLR组件的SQL 2005只支持NET 2.0。当在64位的SQL Server部署SQLCLR组件时,.NET 2.0的64位必须,显然,安装。

Now the question is why did you tag this question SQL Server 2005 and .Net 3.5? SQLCLR assemblies for SQL 2005 support only .Net 2.0. When deploying a SQLCLR assembly on a 64bit SQL Server, the .Net 2.0 64 bit must be, obviously, installed.

这篇关于如何在Windows 64位开发利用C#3.5的安装项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆