开发者

AjaxMin4 bug with Visual Studio 2010 RC?

When I compile my solution I get 2 errors which I did not get with开发者_JAVA技巧 version of 1.1 of AjaxMin.

The "SourceFiles" parameter is not supported by the "AjaxMin" task. Verify the parameter exists on the task, and it is a settable public instance property.

The "AjaxMin" task could not be initialized with its input parameters.

If I re-install AjaxMin4 then reload VS it works again until I reboot the PC.

Is this a known issue and is there a fix?


Just use JsSourceFiles key name instead of SourceFiles.

In general try something like this:

<AjaxMin  JsSourceFiles="@(JsFilesDevelopment)" 
          JsSourceExtensionPattern="\.js$" 
          JsTargetExtension=".js" 
          CssSourceFiles="@(CssFilesDevelopment)"
          CssSourceExtensionPattern="\.css$"
          CssTargetExtension=".css"/>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜