来自VS 2013工具的宏汇编程序问题 - 权限问题? [英] Macro Assembler problem from VS 2013 tooling - permission issue?

查看:121
本文介绍了来自VS 2013工具的宏汇编程序问题 - 权限问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好 - 我有一个VS 2013 C ++解决方案,几年来一直运行良好。它有一个汇编文件,在编译时汇编并链接(使用ml64)。突然间,它停止了工作。

Hello all - I have a VS 2013 C++ solution that has been working perfectly fine for a few years. It has one assembly file which gets assembled and linked (using ml64) at compile time. Suddenly, it stopped working.

我可以用"hello world"复制它。键入app并直接从命令行使用ml64.exe。

I am able to reproduce with a "hello world" type app and with using ml64.exe directly from the command line.

如果我执行命令:

If I execute the command:

ml64.exe /Fo"x64\Debug\Test.x64.obj" /TaTest.x64.asm / c



导致:

致命错误A1000:无法打开文件:x64 \Debug \ Test.x64.obj



但是,如果我首先创建输出目录(x64 \Debug)它可以正常工作,然后我可以编译我的C ++应用程序。 br />


正如我所提到的,这只是突然开始,只有VS 2013. VS 2015和2017仍然可以在相同的情况下正常工作。有任何想法吗?最近的更新包括Windows 10更新,VS 2017常规更新(之前已安装)以及VS 2017的Windows 10
SDK / C ++工作负载。我不确定首先回滚什么,或者它是否会产生影响。

ml64.exe /Fo"x64\Debug\Test.x64.obj" /TaTest.x64.asm /c

It results in:
fatal error A1000:cannot open file : x64\Debug\Test.x64.obj

However, if I create the output directory (x64\Debug) first it works fine, and I can then compile my C++ application.

As I mentioned, this just suddenly started, and only with VS 2013. VS 2015 and 2017 still work fine with the same scenario. Any ideas? Recent updates include Windows 10 updates, and VS 2017 regular updates (had been installed previously) plus the Windows 10 SDK / C++ workloads from VS 2017. I'm not sure what to roll back first, or if it would even have an impact.

推荐答案

您好tig66208,

Hi tig66208,

根据您的描述,在安装某些Windows 10和VS2017更新后会出现此问题,是不是?

According to your description, this issue occurs after installing some Windows 10 and VS2017 updates, is it right?

请尝试执行该命令或以管理员身份运行Visual Studio 2013。如果它可以成功运行,则问题与Visual Studio 2013的权限有关。

Please try execute the command or run your Visual Studio 2013 as administrator. If it could run successful, the problem is related to permissions for your Visual Studio 2013.

否则,请考虑已安装的更新导致此问题。由于这是一个与C ++相关的程序集,请首先尝试回滚C ++相关更新,以检查此类更新是否导致此问题。然后回滚Windows
10 SDK,Visual Studio 2017相关更新。

Otherwise, please consider the installed Updates causes this issue. Since this is a C++ related assembly, please try roll back the C++ related updates first to check whether this issue causes by this type of updates. Then roll back Windows 10 SDK, Visual Studio 2017 related updates.

此外,请尝试修复Visual Studio 2013以检查安装一些更新后是否损坏。

In addition, please try repair your Visual Studio 2013 to check whether it is broken after installing some updates.

最好的问候,

Weiwei

Best Regards,
Weiwei


这篇关于来自VS 2013工具的宏汇编程序问题 - 权限问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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