0

I am trying to create a MahApps styled WPF application using IronPython 2.7.3 in Visual Studio Ultimate 2012 with PTVS. However I cannot install MahApps.Metro via Nuget using the GUI. Choosing 'Install' in the Manage NuGet Packages console trows the following error by Visual Studio:

'MahApps.Metro' could not be installed because it is not compatible with any project in the solution. The package targets the following frameworks:

.NetFramwork, Verion=v4.0

.NetFramwork, Verion=v4.5

Trying out the other packages from MahApps (MahApps.Metro.Recources (and .StanAlone)) both trough an error as well:

'MahApps.Metro.Recources' could not be installed because it is not compatible with any project in the solution. The package doesn't target any framework.

I have created a new IronPython WPF application using both the .NET 4.0 and 4.5 Framework. In the documentation on MahApps I cannot find anything resembling an exclusion of certain languages even though it seems IronPython is not supported.

Any suggestions into how I could install mahapps.metro assemblies in an IronPython WPF application either using NuGet or an alternative way would be greatly appreciated.

FYI: I made a C# WPF application using the same frameworks. Here I can install the MahApss assemblies as I should and they work perfectly fine there.

4

1 回答 1

0

谢谢杰夫的回应。我在 pytools.codeplex.com 上发布了相同的问题,并且能够找到解决此问题的解决方案。检查:https ://pytools.codeplex.com/workitem/1212了解详细的变通策略。

于 2013-05-25T12:05:23.070 回答