Skip to content

The imported project "C:\Microsoft.Cpp.Default.props" was not found #412

@ArtichaTM

Description

@ArtichaTM

I've been googl-ing it for hour, but found fixes for Visual Studio, but I don't have it...

Choose the branch you wish to build against:

   (1) blade
   (2) bms
   (3) csgo
   (4) css
   (5) dods
   (6) gmod
   (7) hl2dm
   (8) l4d2
   (9) tf2

3
Cloning into '.'...
remote: Enumerating objects: 24312, done.
remote: Counting objects: 100% (98/98), done.
remote: Compressing objects: 100% (83/83), done.
remote: Total 24312 (delta 20), reused 38 (delta 9), pack-reused 24214 eceiving objects: 100% (24312/24312), 474.38 MiB | 11.06 MiB/s
Receiving objects: 100% (24312/24312), 474.46 MiB | 11.02 MiB/s, done.
Resolving deltas: 100% (11083/11083), done.
Updating files: 100% (3805/3805), done.
Updating files: 100% (5786/5786), done.
Switched to a new branch 'csgo'
Branch 'csgo' set up to track remote branch 'csgo' from 'origin'.
Already up to date.
C:\Source\src\patches\csgo\lib\public\tier1.lib
C:\Source\src\patches\csgo\lib\win32\release\vs2010\libprotobuf.lib
C:\Source\src\patches\csgo\public\networkvar.h
3 File(s) copied
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error in CMakeLists.txt:
  Failed to run MSBuild command:

    C:/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe

  to get the value of VCTargetsPath:

    Microsoft (R) Build Engine version 4.8.4084.0
    [Microsoft .NET Framework, version 4.0.30319.42000]
    Copyright (C) Microsoft Corporation. All rights reserved.

    Build started 9/18/2021 11:27:28 PM.
    Project "C:\Source\src\Builds\Windows\csgo\CMakeFiles\3.21.2\VCTargetsPath.vcxproj" on node 1 (default targets).
    C:\Source\src\Builds\Windows\csgo\CMakeFiles\3.21.2\VCTargetsPath.vcxproj(14,2): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
    Done Building Project "C:\Source\src\Builds\Windows\csgo\CMakeFiles\3.21.2\VCTargetsPath.vcxproj" (default targets) -- FAILED.

    Build FAILED.

    "C:\Source\src\Builds\Windows\csgo\CMakeFiles\3.21.2\VCTargetsPath.vcxproj" (default target) (1) ->
      C:\Source\src\Builds\Windows\csgo\CMakeFiles\3.21.2\VCTargetsPath.vcxproj(14,2): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

        0 Warning(s)
        1 Error(s)

    Time Elapsed 00:00:00.28


  Exit code: 1



-- Configuring incomplete, errors occurred!
See also "C:/Source/src/Builds/Windows/csgo/CMakeFiles/CMakeOutput.log".
Press any key to continue . . .

CMakeOutput.log: The system is: Windows - 10.0.19043 - AMD64

I want build #353 , but can't even master. Tried to laucnh from user directory and from c:/

Latest on 18.09.2021:
CMake 2.8
Git
Visual C++ 2010
Microsoft Build Tools (Installed after 2 unsuccessful builds, didn't help btw)

And I found attribute of player, named "set_transmit", but didn't found reference or any information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions