I have developed a modeling tool based on DSL, every things was fine with no problem, but suddenly when I right click on the model first I get "Value does not fall within the expected range."
error and after clicking again I get "Exception from HRESULT: 0x80070057 (E_INVALIDARG)"
error.
I have emptied "C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\"
and "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files"
But I still get the error.
Finally I overcome the problem: The problem was caused by having different GUIDs in DslPackage\GeneratedCode\GeneratedVSCT.tt
and DslPackage\GeneratedCode\Constants.tt[CommandSetId]
while they should be same.
User contributions licensed under CC BY-SA 3.0