开发者

AjaxMin4 bug with Visual Studio 2010 RC?

开发者 https://www.devze.com 2022-12-25 07:40 出处:网络
When I compile my solution I get 2 errors which I did not get with开发者_JAVA技巧 version of 1.1 of AjaxMin.

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

精彩评论

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