I'm trying to use the DesktopAppConverter to convert an .EXE package into UWP compatible executable so I can publish on Windows Stores.
The exe package is compiled from Unity3D for standalone.
When I use the convert command I get an error.
DesktopAppConverter.exe -Installer .\eve.exe -Destination .\Converted
-PackageName "eve" -Publisher "CN=C9839D08-E518-4B7C-BA6C-FCA61493C7F3" -Version 1.0.0.0 -MakeAppx
C:\Program Files\WindowsApps\Microsoft.DesktopAppConverter_2.1.4.0_x64__8wekyb3d8bbwe\DesktopAppConverter.ps1 : Exception calling "Compile" with "0" argument(s): "Reference
to undeclared attribute group 'http://schemas.microsoft.com/appx/manifest/preview/windows10/msixappcompatsupport:PreviewEntryPointAttributesGroup'."
At line:1 char:1
+ &'C:\Program Files\WindowsApps\Microsoft.DesktopAppConverter_2.1.4.0_ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,DesktopAppConverter.ps1
I would appreciate the help , I tried looing online but couldn't find a solution.
The DesktopAppConverter is Microsoft's first try at building a tool for converting older packages to MSIX/APPX.
They deprecated it and instead released the MSIX Packaging Tool. I included a link that teaches you how to use this tool to convert your package, give it a try.
If this still does not work, you can use the free Express edition from Advanced Installer. This was released in a partnership with Microsoft before they built their own solution (the MSIX Packaging Tool).
Related
I'm trying to install the package WebSocketSharp.Standard but I getting installing error.
Install-Package : Could not install package 'WebSocketSharp.Standard 1.0.3'. 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 WebSocketSharp.Standard -Version 1.0.3
CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
I download the NuGet and extract and I check the library only the netstandard2.0
how can I use the package in my current project? Im using VS2013.
.Net standard 2.0 support works starting with .net framework 4.6.1, but you get a lot of system DLLs next to your app. So use .net 4.8 and not 4.6.x.
The minimum requirement to use .net standard libs is to use Visual Studio 2015 (with the update 3 + a special hotfix), but it is better to use VS2017 or 2019:
If you only need to consume .NET Standard 2.0 libraries in your
projects, you can also do that in Visual Studio 2015. However, you
need NuGet client 3.6 or higher installed.
So your VS2013 is too old.
I am trying to install a few online or external packages into my project using nuget in Visual Studio 2017. I tried the package console and it fails. The problem seems to be that the only package source I have available as an option is "Microsoft Visual Studio Offline". There is no "All" option in the package source drop down at the top of the package console, which I believe I need to see if I am trying to add online packages. I have searched all over the place for what might be a simple answer, but all answers seem to deal with other related matters and not specifically this one. Maybe I didn't type the correct phrase to yield results, but I tried and couldn't find them. What am I missing? A setting? Not the correct license? Thanks.
PM> install-package jquery
install-package : Unable to find package 'jquery'
At line:1 char:1
+ install-package jquery
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Go to manage NuGet package manager, click to setting gear button.
Then add new package source:
Name: nuget.org
URL: https://api.nuget.org/v3/index.json
i'm trying to install "Install-Package Xamarin.Android.Support.Design" into Xamarin Visual Studio 2015, but after it starts downloading, this error occurs
Install-Package : Unable to find package 'Xamarin.Android.Support.Design'
At line:1 char:1
+ Install-Package Xamarin.Android.Support.Design
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
i don't understand any of that, what is wrong?
Ensure that you have a proper NuGet source defined. You can go to Tools -> Options -> NuGet Package Manager -> Package Sources to make sure. i.e.: https://api.nuget.org/v3/index.json
Secondly you should double check that your NuGet version is the latest. Go to Tools -> Extensions and Updates and update if you aren't on the latest version.
Finally you could also try to manually download the package from https://www.nuget.org/packages/Xamarin.Android.Support.Design/ and setup a local NuGet repository to ensure that works. Chances are one of the first bullets should fix this.
Source: https://github.com/NuGet/Home/issues/842
I need to install version 3.0.14 of MvvmCross.Plugin.Location since I am way behind the times.
Issued command nuget install mvvmcross.hottuna.plugin.location 3.0.14 and received
install-package : No compatible project(s) found in the active solution.
At line:1 char:1
+ install-package MvvmCross.HotTuna.Plugin.Location 3.0.14
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetNoCompatibleProjects,NuGet.PowerShell.Commands.InstallPackageCommand
Navigated my packages folder and the specific folder in question is there:
MvvmCross.HotTuna.Plugin.Location.3.0.14
and within this folder are the
Cirrious.MvvmCross.Plugins.Location.dll and
Cirrious.MvvmCross.Plugins.Location.WindowsPhone.dll
I can manually add these but would prefer to do so via NuGet. What is the deal here?
I have migrated my project into Visual Studio 2013 from 2010. I am trying to install Microsoft.AspNet.WebPages.WebData to fix some erors I am getting. When I try install from the Nuget console I get this error:
Install-Package : Could not install package
'Microsoft.AspNet.WebPages.WebData 3.2.2'. You are trying to install
this package into a project that targets '.NETFramework,Version=v4.0',
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:16
+ Install-Package <<<< Microsoft.AspNet.WebPages.WebData
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Anyone know how I can fix this?