使用Web.Config转换ASP.NET [英] Using Web.Config Transforms ASP.NET

查看:91
本文介绍了使用Web.Config转换ASP.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在ASP.NET项目中使用web.config转换.它是用VB.NET编写的.当我单击添加变换时,它会在解决方案资源管理器中的Web.Config下短暂显示一个变换文件,然后消失.在查看了内容之后,我发现它确实创建了文件并更新了项目文件.但是,解决方案资源管理器不会显示文件.

当我尝试创建C#Web项目时,这似乎工作正常.我想知道VB.NET项目是否不支持此功能.有人知道吗?


谢谢,
Scott

I''m trying to use web.config transforms in our ASP.NET project. It''s written in VB.NET. When I click add transform it briefly shows a transforms file under Web.Config in the solution explorer then dissapears. After looking at things I found it does create the files and updates the project file. However, the solution explorer just won''t show the files.

This does seems to work fine when I tried creating a C# web project. I''m wondering if this isn''t supported with a VB.NET project. Does someone know?


Thanks,
Scott

推荐答案

请参阅

我为VB项目/解决方案找到的唯一解决方案是显示所有文件.我还没有找到像C#一样显示所有子文件的首选项.
The only solution I have found for a VB project/solution is to show all files. I have yet to find a preference to show all sub-files like C# does.


这篇关于使用Web.Config转换ASP.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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