如何自动将VS2003类转换为部分Designer.cs文件? [英] How to automatically convert VS2003 classes to partial Designer.cs files?

查看:105
本文介绍了如何自动将VS2003类转换为部分Designer.cs文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将一个项目从Visual Studio 2003升级到2008,并希望自动生成XXX.Designer.cs文件并更新相应的XXX.cs原始文件.

有自动的方式吗?

更新:我指的是WinForms.当然,我知道旧样式有效,但是我正在寻找一种无需手动完成新样式的方法.

解决方案

有一个宏可以实现此目的.我已经用过了,效果很好.首先查看 Nathan Jones博客.如果运气不好,请从 VSCONVERT-PasteBin 下载宏压缩包(我发布). >

I'm upgrading a project from Visual Studio 2003 to 2008 and wish to automatically generate XXX.Designer.cs files and update the corresponding XXX.cs original one.

Any automatic way to do it?

UPDATE: I'm referring to WinForms. Of course, I know the old style works but i'm looking for a way to go to the new style without doing it by hand.

解决方案

There is a macro out there floating that does this. I have used it and it works great. Start by looking at Nathan Jones Blog. If you dont have much luck then download a zip of the macro source (I posted) from VSCONVERT - PasteBin

这篇关于如何自动将VS2003类转换为部分Designer.cs文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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