Problem with msbuild

I'm trying to do an msbuild for a project and I'm getting this error.

Microsoft (R) Build Engine Version 2.0.50727.42
[Microsoft .NET Framework, Version 2.0.50727.42]
Copyright (C) Microsoft Corporation 2005. All rights reserved.

MSBUILD : error MSB1001: Unknown switch.
Switch: /restricted

For switch syntax, type "MSBuild /help"
Action Failed
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\msbuild.exe returned : 1


I can't figure out where it's getting the "Switch /Restricted" from.

any ideas?

I'm using FB 5 and the project file is under %FBPROJECT%\Controls\RBL

Hi Allen

It seems the /restricted option was removed sometime between the beta and the release of .net 2.0 and I guess we missed it. You must have the Restricted property checked for the action, turn that off. I’ll removed the option from the action.