在1.8更新之后,Visual Studio停止发布从ts编译的js文件 [英] Visual Studio stopped publishing js files compiled from ts after 1.8 update

查看:177
本文介绍了在1.8更新之后,Visual Studio停止发布从ts编译的js文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个VS 2015 TS项目.它的发布情况一直很好,这意味着该项目中包含了打字稿文件,但未包含* .js文件,但是js文件已按预期发布.

I have a VS 2015 TS project. It has been publishing fine, meaning that the typescript files are included in the project, but not the *.js files, but the js files have been getting published as expected.

但是,在更新到1.8 Beta之后,*.js文件不再被发布.

However, after updating to the 1.8 beta, the *.js files are no longer being published.

毫无意义,我什至不确定更新是否是问题所在,但我没有其他解释.没有对该项目进行其他更改.我昨天进行了更新,实际上在* .js停止发布之前成功完成了几次发布.

Makes no sense, and I am not even sure the update is the issue, but I have no other explanation. No other changes were made to the project. I updated yesterday, and actually did several successful publishes before the *.js stopped getting published.

其他js文件会发布,但不会发布从ts编译的文件.

Other js files get published, but not the ones that are compiled from ts.

如果我将已编译的js包含在项目中(并因此包含源代码控制),那么它确实可以正确发布.

If I include the compiled js in the project (and thus source control) then it does publish correctly.

我只想确保我没有在这里弄糟.

I just want to make sure I didn't screw something up here.

推荐答案

如果我将已编译的js包含在项目中(并因此包含源代码控制),那么它确实可以正确发布.

If I include the compiled js in the project (and thus source control) then it does publish correctly.

您不是唯一的一个.

我只想确保我没有在这里弄糟.

I just want to make sure I didn't screw something up here.

您没有.现在是新的事实上的方式.

You didn't. That the new defacto way now.

这篇关于在1.8更新之后,Visual Studio停止发布从ts编译的js文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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