Troubleshooting Installation

Error loading pipeline assembly “C:\…\FlatRedBallXna4Template\Libraries\Xna4Pc\FlatRedBall.dll”.

If you are experiencing this or any other problem with assemblies loaded in the Content project:

  • Navigate to the Libraries folder where the .dlls that your project links are located
  • Right-click on the .dll that is causing problems
  • Select “Properties”
  • At the bottom of the properties window, look for a “Unblock” button. Click it.
  • Click OK to apply changes
  • Rebuild (not just build, but rebuild) your project.

c:\PROJECT PATH : error : Could not load type ‘Microsoft.Build.Framework.IProjectElement’ from assembly ‘Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’.

The global assembly cache is not finding Microsoft.Build.Framework. Instructions for fixing it can be found here: https://developercommunity.visualstudio.com/content/problem/94979/cannot-open-any-projects-in-solution-after-install.html

Error: Invalid static method invocation syntax: “[Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath), $(TargetFrameworkFallbackSearchPaths))”. Method ‘Microsoft.Build.Utilities.ToolLocationHelper.GetPathToStandardLibraries’ not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(ab)). C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets

See this post:

https://developercommunity.visualstudio.com/content/problem/311632/error-after-updating-to-1580-invalid-static-method.html