AssemblyAttributes.asm put in non-existent location
I wrote some interop library using C++/CLI. However, compiling it in VS2017 and VS2019 causes a problem: C:\Temp\User\.NETFramework,Version=v4.0.AssemblyAttributes.cpp : fatal error C1083: Cannot open compiler generated file: 'Debug/.NETFramework,Version=v4.0.AssemblyAttributes.asm': No such file or directory
The workaround to get it compiling is changing ASM List Location
from Debug/
(CMake's default) to $(IntDir)
(value for Object File Name
).
Full details in this PR: https://github.com/PlusToolkit/PlusLib/pull/575
I tried to reproduce the problem using this simple project, but the issue doesn't occur there.
My problem appears similar to this report on VSConnect.