about visual studio 2017 build

I install visual studio 2017 Desktop development with C++, .NET desktop development and Game development with C++
It can use UE4Editor.exe to open new project .
It also can use UE4Editor.exe to compile codes success.
When I use visual studio2017 to build , it’s a bit wrong .
It only shows
TTest, 組態: Development_Editor x64 ------
UE4, 組態: BuiltWithUnrealBuildTool Win32 ------
========== 全部重建: 2 success、0 fail、 0 pass ==========

code:
void ATTestCharacter::MoveForward(float Value)
{/*
if ((Controller != NULL) && (Value != 0.0f))
{
// find out which way is forward
const FRotator Rotation = Controller->GetControlRotation();
const FRotator YawRotation(0, Rotation.Yaw, 0);

// get forward vector
const FVector Direction = FRotationMatrix(YawRotation).GetUnitAxis(EAxis::X);
AddMovementInput(Direction, Value);
}*/
}

I set startup project

It still can move forward and back on the UE4editor
and does not have the build folder

how to build success ?
thanks

Why you don’t use button Compile in Unreal?

Try the following option:

Solution Explorer -> Project -> New Solution Explorer View -> Build (Debug Game Editor)

It can compile success in a new C++ project of visual studio
but not compile in ue4 project of visual studio

I found while I build in visual studio , package is success for compile content but ue4’s play is not compile content