ASDAlexander77 / cs2cpp

C# to C++ transpiler (Cs2Cpp) (Powered by Roslyn)
http://csnative.codeplex.com
254 stars 62 forks source link

This project doesn't contain the Configuration and Platform combination of Release|Win32. #14

Closed Modify24x7 closed 2 years ago

Modify24x7 commented 2 years ago
git clone https://github.com/ASDAlexander77/cs2cpp.git Il2Native

cd Il2Native

MSBuild Il2Native.sln /p:Configuration=Release /p:Platform="Any CPU"

cd CoreLib

MSBuild CoreLib.csproj /p:Configuration=Release /p:Platform="AnyCPU"

cd ..\..

mkdir playground

cd playground

..\Il2Native\Il2Native\bin\Release\Cs2Cpp.exe /release ..\Il2Native\CoreLib\CoreLib.csproj

cd CoreLib

build_prerequisite_vs2019_release.bat (modify build_prerequisite_vs2017_release.bat)
Build started 16/08/2022 6:32:43 AM.
     1>Project "D:\GitHub\playground\CoreLib\__build_win32_release_bdwgc\ALL_BUILD.vcxproj" on node 1 (default targets).
     1>Project "D:\GitHub\playground\CoreLib\__build_win32_release_bdwgc\ALL_BUILD.vcxproj" (1) is building "D:\GitHub\playground\CoreLib\__build_win32_release_bdwgc\ZERO_CHECK.vcxproj" (2) on node 1 (default targets).
     2>E:\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(436,5): error MSB8013: This project doesn't contain the Configuration and Platform combination of Release|Win32. [D:\GitHub\playground\CoreLib\__build_win32_release_bdwgc\ZERO_CHECK.vcxproj]
     2>Done Building Project "D:\GitHub\playground\CoreLib\__build_win32_release_bdwgc\ZERO_CHECK.vcxproj" (default targets) -- FAILED.
     1>Done Building Project "D:\GitHub\playground\CoreLib\__build_win32_release_bdwgc\ALL_BUILD.vcxproj" (default targets) -- FAILED.

Build FAILED.

       "D:\GitHub\playground\CoreLib\__build_win32_release_bdwgc\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\GitHub\playground\CoreLib\__build_win32_release_bdwgc\ZERO_CHECK.vcxproj" (default target) (2) ->
       (PrepareForBuild target) -> 
         E:\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(436,5): error MSB8013: This project doesn't contain the Configuration and Platform combination of Release|Win32. [D:\GitHub\playground\CoreLib\__build_win32_release_bdwgc\ZERO_CHECK.vcxproj]

    0 Warning(s)
    1 Error(s)

Il2Native-Log.zip

Can you provide me prebuild binary?

Modify24x7 commented 2 years ago

Error fix.

Fix.zip