Como instalo o Win2D no visual studio?

2

Estou tentando instalar o Win2D no visual studio. Eu executei o seguinte no console do gerenciador de pacotes nuget:

PM> Install-Package Win2D

Eu recebo o seguinte erro:

Install-Package : Could not install package 'Win2D 0.0.10'. You are trying to install this package into a project that 
targets '.NETFramework,Version=v4.5', but the package does not contain any assembly references or content files that are 
compatible with that framework. For more information, contact the package author.
At line:1 char:1
+ Install-Package Win2D
+ ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

Acabei de instalar o Visual Studio Community 2013 hoje, portanto, devo usar a versão mais recente. O que estou fazendo errado?

    
por gloo 23.01.2015 / 21:56

2 respostas

0

É o contrário.

You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', but the package does not contain any assembly references or content files that are compatible with that framework.

Isso lista dois fatos:

  1. Seu projeto é baseado em .NET 4.5.
  2. O pacote ('Win2D 0.0.10') é incompatível com o .NET 4.5.

Portanto, você precisa direcionar uma versão compatível do .NET ou solicitar ao autor do pacote que o suporte.

    
por 23.01.2015 / 22:03
0

Parece que eles segmentam apenas o WinRT (aplicativos metro / telefone). Você não poderá usá-lo em projetos comuns de computador.

link

    
por 23.01.2017 / 00:32
yii\base\ErrorException
Copied! Copy Stacktrace Search Stackoverflow Search Google Error

PHP Core Warning – yii\base\ErrorException

PHP Startup: Unable to load dynamic library 'memcached.so' (tried: /usr/lib/php/20190902/memcached.so (/usr/lib/php/20190902/memcached.so: undefined symbol: igbinary_serialize), /usr/lib/php/20190902/memcached.so.so (/usr/lib/php/20190902/memcached.so.so: cannot open shared object file: No such file or directory))

$_GET = [
    'id' => '387218',
    'url' => 'how-do-i-install-win2d-in-visual-studio',
];

$_COOKIE = [
    'advanced-frontend' => 'h5g88lfp94895pa13doogi20no',
    '_csrf-frontend' => '72883e5ea1c66f6e8195e61f4cbc6f1ccf01a63a91f1741336fe9b3cc1d50deca:2:{i:0;s:14:"_csrf-frontend";i:1;s:32:"_PbFCB-rr1EcVw_zKcNRMoQoQRs5WPSz";}',
];

$_SESSION = [
    '__flash' => [],
];