.NET应用程序的部署问题。是ThinApp的一个解决方案吗?应用程序、解决方案、问题、NET

2023-09-07 09:12:53 作者:◇霸劍皇侯

首先,我想清楚了,我是在非常大的麻烦。我开发的应用程序没有做任何research.I花了3月开发一个项目。本项目使用Visual Studio 2010,Visual Studio 2010报表查看器,.NET 3.5SP1,MS SQL Server 2005中,sql3.5 compat的加法。

First i want to clear that i am in very big trouble. I developed application without doing any research.I spent 3 month in developing that project .This project uses vs2010,vs2010 report viewer, .net 3.5sp1, ms sql server 2005 , sql3.5 compat addition.

我所有的客户都是XP SP2的用户。他们都没有XP SP3。所以我不能用.NET4。并安装的所有这些至少需要30分钟。在客户机。我认为这会影响我的生意。

all of my customers are xp sp2 users. none of them have xp sp3. so i cant use .net4. and installation of all these takes at least 30 min. in clients machine. I think that could affect my business.

我用Google搜索这个问题,但我没有发现任何可以帮助我来缩短安装再寄一次也想说,我没有使用任何额外的功能。我可以伊斯利回去.NET 2.0或.NET 3.0。但对于VS2010报告viver我必须使用.NET3.5 SP1。所以我其实卡住了。

I have googled this problem but i found nothing that could help me to shorten installation time.I also want to say that i am not using any extra feature. I can easly go back to .net 2.0 or .net 3.0. but for vs2010 report viver i have to use .net3.5 sp1. so i am stuck actually.

后来我才知道,ThinApp的是一个解决办法。但我可以用ThinApp分配到bundle.net 3.5 SP1和SQL Server 2005?将它的工作?如果没有的话请给我一些其他的解决办法。我被困在中间

then i came to know that thinapp can be a solution. But can i use thinapp to bundle.net 3.5 sp1 and sql server 2005? will it work? if not then pls give me some other solution. I am stuck in middle

推荐答案

有可能是不同的事情可以做......

There may be various things you can do...

首先设置项目构建选项,.NET 2.0在Visual Studio 2010中,以确保它可以运行在一个旧的XP版本。

First of all set the project build option to .Net 2.0 in Visual Studio 2010 to be sure it will run on an old XP version.

其次,我认为你应该能够使用报表查看器从这里:的 http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=21916 ,而不是随VS 2010中(注意规定的该链接是.NET 2.0)。它可能不具备所有的功能,但它应该工作。

Secondly, I think you should be able to use the report viewer from here: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=21916 instead of the one that comes with VS 2010 (notice that the requirements on that link are .net 2.0). It may not have all the features but it should work.

然后让这一切编译可硬取决于你如何编写好code,但也许不是,只是作为一个搁置...

Then make it all compile which may be hard depending on how you have written your code, but maybe not, just as an aside...

如果您是从System.Linq命名空间使用任何有一个名为 LinqBridge 您可以使用,这意味着你不会有改变任何的code在所有。

If you are using anything from the System.Linq namespace there is a library called LinqBridge that you can use which means you will not have to change any of that code at all.

我给那几个东西去,然后,如果你有具体的问题背移植的code,你可以问更具体的问题。

I'd give those few things a go and then if you have specific problems back-porting your code you could ask more specific questions.