Quantcast
Channel: RazorGenerator Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 525

Commented Unassigned: Exception calling "Item" with "1" argument(s): "The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))" [131]

$
0
0
Hello,

When I installed RazorGenerator.Templating on a class library I get the following error:

Installing 'RazorGenerator.Templating 2.1.1'.
Successfully installed 'RazorGenerator.Templating 2.1.1'.
Adding 'RazorGenerator.Templating 2.1.1' to Proj.Core
Successfully added 'RazorGenerator.Templating 2.1.1' to Proj.Core.
Exception calling "Item" with "1" argument(s): "The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))"
At C:\Lab\Proj.Core\packages\RazorGenerator.Templating.2.1.1\tools\install.ps1:4 char:39
+ $testPage = $project.ProjectItems.Item <<<< ("SampleTemplate.cshtml")
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : ComMethodTargetInvocation

You cannot call a method on a null-valued expression.
At C:\Lab\Proj.Core\packages\RazorGenerator.Templating.2.1.1\tools\install.ps1:5 char:26
+ $testPage.Properties.Item <<<< ("CustomTool").Value = "RazorGenerator"
+ CategoryInfo : InvalidOperation: (Item:String) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull

Any idea what might be wrong?

Thank You,
Miguel
Comments: I was not able to repro that: - In VS 2013, create new class library - Add RG.Templating, and all worked fine

Viewing all articles
Browse latest Browse all 525

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>