Getting XnaFrameworkVersion ref not set in Pirates.csproj

Topics: Developer Forum, User Forum
Feb 7, 2012 at 12:01 AM

Getting

Pirates_SRC\Pirates\Pirates.csproj : error : Object reference not set to an instance of an object.

 

on line

   <XnaFrameworkVersion>v4.0</XnaFrameworkVersion>

How to fix?