Error building Player because scripts had compiler errors

So, when I want to build my project for Windows x64 I get several errors:
Assets/Scripts/playerMovement.cs(5,31): error CS0246: The type or namespace name MonoBehaviour’ could not be found. Are you missing an assembly reference? Assets/Scripts/playerMovement.cs(7,2): error CS0246: The type or namespace name Transform' could not be found. Are you missing an assembly reference?
Assets/Scripts/playerMovement.cs(8,2): error CS0246: The type or namespace name Rigidbody’ could not be found. Are you missing an assembly reference? Assets/Scripts/playerMovement.cs(35,21): error CS0246: The type or namespace name Collider' could not be found. Are you missing an assembly reference?
Error building Player because scripts had compiler errors

This is my script:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class playerMovement : MonoBehaviour {
	
	Transform getTransform;
	Rigidbody getRigidbody;
	public float Speed = 15f;
	public float jumpForce = 200f;
	
	void Start () {
		getTransform = GetComponent<Transform>();
		getRigidbody = GetComponent<Rigidbody>();
	}
	
	void Update () {
		if (Input.GetKey("w")) {
			getTransform.Translate(Vector3.forward * (Time.deltaTime * Speed));
		}
		
		if (Input.GetKey("a")) {
			getTransform.Translate(Vector3.left * (Time.deltaTime * Speed));
		}
		
		if (Input.GetKey("d")) {
			getTransform.Translate(Vector3.right * (Time.deltaTime * Speed));
		}
		
		if (Input.GetKey("s")) {
			getTransform.Translate(Vector3.back * (Time.deltaTime * Speed));
		}
	}
	
	void OnTriggerStay(Collider collidingObjects) {
		if (Input.GetKey("space")) {
			getRigidbody.AddForce(0, jumpForce, 0);
		}
	}
}

Please let me know if anyone has a solution.
PS: I’m using Unity 5.6.4p2 Pro (64-bit)

That will work.

using System.Collections;
 using System.Collections.Generic;
 using UnityEngine;
 
 public class playerMovement : MonoBehaviour {
     
     private Transform getTransform;
     private Rigidbody getRigidbody;
     public float Speed = 15f;
     public float jumpForce = 200f;
     
     void Start () {
         getTransform = GetComponent<Transform>();
         getRigidbody = GetComponent<Rigidbody>();
     }
     
     void Update () {
         if (Input.GetKey("w")) {
             getTransform.Translate(Vector3.forward * (Time.deltaTime * Speed));
         }
         
         if (Input.GetKey("a")) {
             getTransform.Translate(Vector3.left * (Time.deltaTime * Speed));
         }
         
         if (Input.GetKey("d")) {
             getTransform.Translate(Vector3.right * (Time.deltaTime * Speed));
         }
         
         if (Input.GetKey("s")) {
             getTransform.Translate(Vector3.back * (Time.deltaTime * Speed));
         }
     }
     
     void OnTriggerStay(Collider collidingObjects) {
         if (Input.GetKey("space")) {
             getRigidbody.AddForce(0, jumpForce, 0);
         }
     }
 }

Thank you so much @gamesmarlac . This worked immediately!