Visual Studio 2008 Managed Incremental Build not working

I have a managed incremental build included in my C ++ managed project. I have a dll written in C # and this solution contains C ++ and C # projects. I did not define dependencies between projects, but the C ++ project refers to the C # DLL.

The problem is that whenever a C # project is rebuilt, C ++ projects perform a complete rebuild. I get this error message when this happens:

Cannot verify c: \ MyProj \ MyCScode.dll. Assuming significant changes.

I am running Windows 7 in a virtual machine (maybe this is a synchronization problem?).

+3
source share
2 answers

, Visual Studio 2008 1 (SP1), , SP1 . .

, # ++ ( /target: module csc.exe) ++ , #, :

#using "MyCScode.obj"

:

Netmodule .obj, , -, ​​, Visual Studio , ( .netmodule ).

- ++, #using, , # . , .

+1

, :

$(OutDir) "Resolve #using References" "C/++ | General" ++/CLI. " ... ". , .

+1

Source: https://habr.com/ru/post/1719223/


All Articles