IronJS icon indicating copy to clipboard operation
IronJS copied to clipboard

NuGet bug: Microsoft.Scripting.* assemblies shouldn't be referenced

Open tkellogg opened this issue 13 years ago • 1 comments

I just installed the IronJS-0.2.0.1 package which includes three Microsoft.Scripting.* DLLs. Two of these assemblies caused build warnings (Microsoft.Scripting.Core and Microsoft.Scripting.ExtensionAttribute) due to multiple assemblies with the same classes. The aspnet compile of Razor views completely failed for the same reason.

I fixed the problem by removing Microsoft.Scripting.Core and Microsoft.Scripting.ExtensionAttribute from the project references. Which brings me to the ultimate question, why were these being referenced at all?

I'm using .NET 4.5. I also asked this stack overflow question about it.

tkellogg avatar Oct 15 '12 03:10 tkellogg

They are referenced for the .NET 2.0 build, they must have been included by mistake in the .NET 4.0 project files. *

Regards, Fredrik Holmström*

On Mon, Oct 15, 2012 at 5:06 AM, Tim Kellogg [email protected]:

I just installed the IronJS-0.2.0.1 package which includes three Microsoft.Scripting.* DLLs. Two of these assemblies caused build warnings (Microsoft.Scripting.Core and Microsoft.Scripting.ExtensionAttribute) due to multiple assemblies with the same classes. The aspnet compile of Razor views completely failed for the same reason.

I fixed the problem by removing Microsoft.Scripting.Core and Microsoft.Scripting.ExtensionAttribute from the project references. Which brings me to the ultimate question, why were these being referenced at all?

I'm using .NET 4.5. I also asked this stack overflow questionhttp://stackoverflow.com/q/12840880/503826about it.

— Reply to this email directly or view it on GitHubhttps://github.com/fholm/IronJS/issues/92.

fholm avatar Oct 15 '12 08:10 fholm