Giter Club home page Giter Club logo

yuicompressor.net.msbuild's People

Contributors

purekrome avatar

Watchers

 avatar

Forkers

clairestreb

yuicompressor.net.msbuild's Issues

Unable to locate dependencies after updating to version 3.0.0

Hey guys,

YUICompressor.NET.MSBuild doesn't work directly "out of the box" when installing version 3.0.0. The folder packages\YUICompressor.NET.MSBuild.3.0.0\lib\net452 only contains the "Yahoo.Yui.Compressor.MsBuild.dll" file, which means that it is missing some dependencies. This can be fixed by copying the following files:

  1. packages\EcmaScript.NET.2.0.0\lib\net45\EcmaScript.NET.dll
  2. packages\YUICompressor.NET.3.0.0\lib\net452Yahoo.Yui.Compressor.dll

... to the folder YUICompressor.NET.MSBuild.3.0.0\lib\net452, so that all 3 files reside in the same folder.

Unless there is some obvious setting (unknown to me) that provides a better fix, it would be great if you could fix the issue.

Thank you in advance.

The "CompressorTask" task was not found.

I have followed the tutorial in https://www.youtube.com/watch?v=Cj8MHPCubuM
I am getting below error:
I am using VS 2019 in windows 10 - everything is latest as of Feb 2020

C:\Users\I868962\Documents\repos\WebApp1\yui>msbuild compressor.xml
Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 4/3/2020 8:54:55 PM.

Project "C:\Users\I868962\Documents\repos\WebApp1\yui\compressor.xml" on node 1 (default targets).

C:\Users\I868962\Documents\repos\WebApp1\yui\compressor.xml(10,5): error MSB4036: The "CompressorTask" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with in the project file, or in the *.tasks files located in the "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin" directory.
Done Building Project "C:\Users\I868962\Documents\repos\WebApp1\yui\compressor.xml" (default targets) -- FAILED.

Build FAILED.

"C:\Users\I868962\Documents\repos\WebApp1\yui\compressor.xml" (default target) (1) ->
(CompressFiles target) -> C:\Users\I868962\Documents\repos\WebApp1\yui\compressor.xml(10,5): error MSB4036: The "CompressorTask" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.)The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with in the project file, or in the *.tasks files located in the "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin" directory.

0 Warning(s)

1 Error(s)

Time Elapsed 00:00:00.06

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.