nikhilk / scriptsharp

Script# Project - a C# to JavaScript compiler, to power your HTML5 and Node.js web development.
http://scriptsharp.com
Other
659 stars 183 forks source link

Unable to Build - ScriptSharp 0.7.5.1 - Visual Studio 2012 (Windows 10) #438

Closed syafrin-liong closed 8 years ago

syafrin-liong commented 8 years ago

Hi nikhilk,

I have not been able to build a Script# project. The error as follows:

The "ScriptCompilerTask" task could not be loaded from the assembly C:\TestProject\packages\ScriptSharp.0.7.5.1\tools\ScriptSharp.Build.dll. Could not load file or assembly 'Microsoft.Build.Utilities, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.

Can you help?

Cheers, Sy

michaelaird commented 8 years ago

Can you confirm that the ScriptSharp.Build.dll file is in your packages\ScriptSharp.0.7.5.1\tools\ folder?

On 24 September 2015 at 01:40, syafrin-liong notifications@github.com wrote:

Hi nikhilk,

I have not been able to build a Script# project. The error as follows:

The "ScriptCompilerTask" task could not be loaded from the assembly C:\TestProject\packages\ScriptSharp.0.7.5.1\tools\ScriptSharp.Build.dll. Could not load file or assembly 'Microsoft.Build.Utilities, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.

Can you help?

Cheers, Sy

— Reply to this email directly or view it on GitHub https://github.com/nikhilk/scriptsharp/issues/438.

syafrin-liong commented 8 years ago

Hi michaelaird,

Thank you for your reply. What happened was Script# requires .NET 2.0 to build targets and on my Windows 10 the older .NET Frameworks are not installed by default. Once installed, all works fine.

Cheers, Sy