发布项目和视觉工作室 [英] publish project and visual studio

查看:53
本文介绍了发布项目和视觉工作室的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家早上好,
我有两个疑问...在我们公司里,我们使用FTP将文件上传到服务器.我是从这里新鲜加入的..他们在这里所做的是他们在本地系统中发布项目并将文件上传到FTP ...我我们是否应该根据服务器更改web.config文件中的连接设置,否则是否不需要....这些项目已经在实施中,仅支持正在进行.某些文件正在进行一些修改. .
另一个疑问是我的系统具有Visual Studio2005.由于它很旧,我正在考虑更新我的Studio.它是否也将支持该现有项目.如果我更新Visual Studio会出现任何问题...

Hi Good Morning Everybody,
I have two doubts...Here in our company we use FTP to upload files into the server.I joined here as fresher..What they do here is they publish the project in local system and upload the files into FTP...My doubt is while publishing Should we change the connection settings in web.config file as per server or else no need....These projects are already in implementation only Supporting is going on now..Some modifications are going on for some files...
Another Doubt is my system has visual studio 2005..Since it is old Am thinking to update my Studio..Will it support to that existing projects also..Any problem if I update my Visual Studio...

推荐答案

VisualStudio支持向后兼容.这不是问题.

如果服务器连接在迁移到不同环境时有所不同,则需要在web.config文件中进行更新.否则,它将指向较旧/先前的服务器连接.这取决于您的项目要求.
VisualStudio supports the backward compatibility. It is not an issue.

If the server connectivity differs on moving to different environment, then you need to update in the web.config file. Otherwise, it will point to the older/previous server connection. It depends on your project requirement.


.我的疑问是发布时我们是否应根据服务器更改web.config文件中的连接设置,否则不需要
如果连接设置与已部署网站的连接设置不符,则需要对其进行更改.

我的系统具有Visual Studio2005.由于它很旧,我想更新我的Studio.它也将支持该现有项目.
当您尝试使用新的Visual Studio时,它将要求您升级项目.升级后,程序集引用将发生变化.您需要确保在部署后所有必需的程序集都已在服务器上放置到位.首先,请更正.NET Framework.

如果您继续进行这些更改,请确保咨询项目中的老者,以获取见识和正确的指导.
.My doubt is while publishing Should we change the connection settings in web.config file as per server or else no need
If the connection settings are not as it should be for the deployed website then you need to change it.

my system has visual studio 2005..Since it is old Am thinking to update my Studio..Will it support to that existing projects also.
When you try to use new Visual Studio, it will ask you to upgrade your project. Once upgraded, there will be change in assembly references. You need to make sure, post deployement all the needed assemblies are in place on server. To start with, correct .NET Framework.

If you go ahead for these changes, make sure you consult someone old in the project to get the insights and proper direction.


这篇关于发布项目和视觉工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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