Getting XnaFrameworkVersion ref not set in Pirates.csproj

Topics: Developer Forum, User Forum
Feb 6, 2012 at 11:01 PM

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?