Fix build errors caused by broken project references missing compilation symbols

Fix broken project references

Add missing NET45 compilation symbol for Debug