使用VS 2013构建的代码上的C#执行错误 [英] C# Execution Errors on code built with VS 2013

查看:48
本文介绍了使用VS 2013构建的代码上的C#执行错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们拥有可以在VS 2010中正常构建和执行的代码.迁移到VS 2013时,迁移过程非常干净,只有一些小警告.该代码可以在VS 2013上很好地构建.只是在执行过程中出现了一系列问题 使在VS 2013环境中构建的代码不可用.从global.asax内,一个reponse.redirect甚至不会显示全新的test.aspx,除了显示简单的注释外,它什么也不做.他们是身份代码等问题.

We have code that builds and executes just fine with VS 2010.   When migrated to VS 2013 the migrate is fairly clean with just minor warnings.  The code builds just fine on VS 2013.  It is just at execution there a set of problems that make the code built in the VS 2013 environment unuseable.  From within global.asax a reponse.redirect won't even display a brand new test.aspx that does nothing other than display a simple comment.  Their are problems with Identity code, etc.

我是否可以使用某种检查表,以便某人指出我需要对解决方案执行哪些操作以解决执行中的此类问题?

Is there a check list I could use of some kind that someone could point me to as to what I need to do to the solution to resolve problems like this with the execution?

谢谢

卡尔

推荐答案

卡尔,

请在执行项目时提供一些屏幕截图和详细的错误,以帮助我们了解您的问题.

Please provide some screenshots and detailed errors when execute your project to help us understanding your problem.

在VS2010和VS2013之间有一个Visual Studio 2012.建议您从VS2010迁移到VS2012,然后再迁移到VS2013,这样可以确保项目逐步迁移.

There has a Visual Studio 2012 between VS2010 and VS2013. I suggest you migrated from VS2010 to VS2012, and then migrated to VS2013, which can make sure the project migrated step by step.

如果不想通过VS2012进行迁移,请使用Visual Studio 2013创建一个新项目.然后将原始文件一个一个地移到新项目中.它可以帮助我们确认哪个文件导致了此问题.

If you don't want migrated through VS2012, please create a new project with Visual Studio 2013. Then move the original files to the new project one by one. It can help us confirm which file causes this issue.

此外,请检查项目中的所有软件包和扩展名.您需要对其进行升级,以使其与Visual Studio 2013相对应.

In addition, please check all packages and extensions in your project. You need to upgrade them to let them correspond to Visual Studio 2013.

最好的问候,
Weiwei

Best Regards,
Weiwei


这篇关于使用VS 2013构建的代码上的C#执行错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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