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开发者_Python百科 Solve this Problem ??
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.
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.
精彩评论