FireSharp icon indicating copy to clipboard operation
FireSharp copied to clipboard

Unclear which Target Frameworks are supported.

Open DavidRieman opened this issue 9 years ago • 14 comments

I'm using Visual Studio 2010 Premium. I had to use the NuGet commandline to try to install it as directed by the readme, since it wasn't showing up in the normal Extension Manager Online Gallery.

With a brand new project, I've tried retargeting .NET 3, .NET 4 Client Profile, and .NET 4, and always getting errors like the following:

Install-Package : Could not install package 'FireSharp 2.0.3'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0,Profile=Client', 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.

If there's something major I'm missing, it would be nice to get that in the readme. Or perhaps the nuget package is broken?

DavidRieman avatar Jul 13 '15 00:07 DavidRieman

Got this working. Had to switch to a less convenient machine, in order to get > Vista, in order to get > VS2010, in order to get .NET targeting > 4.0, in order to get the FireSharp package to take. So I suspect you can list development environment requirements as Windows 7+, .NET 4.5 (Client?)+, VS 2012+.

DavidRieman avatar Jul 13 '15 00:07 DavidRieman

Hi @DavidRieman , I'll take a look at this asap. Thank you for your feedback.

bugthesystem avatar Jul 13 '15 08:07 bugthesystem

I am also running into the same issue, and I couldn't find the DotNet requirement. As @DavidRieman said, it'd be nice to know the requirements, is it required to have .Net > 4.5?

Thanks

yonguelink avatar Oct 13 '15 19:10 yonguelink

I get: "Could not install package 'FireSharp 2.0.3'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile111', but the package does not contain any assembly references or content files that are compatible with that framework." Trying to use this package for a Xamarin project. Am I doing something wrong?

jvanheugten avatar Dec 15 '15 13:12 jvanheugten

Cant install on framework 4.0.

"Install-Package : Could not install package 'FireSharp 2.0.3'. 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."

Any advice?

Andr2d2 avatar Jan 07 '16 13:01 Andr2d2

Still get problems with firesharp together with Xamarin.

Could not install package 'FireSharp 2.0.3'. You are trying to install this package into a project that targets 'portable-net45+win+wpa81+MonoAndroid10+xamarinios10+MonoTouch10', 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.

Might be related to this: https://forums.xamarin.com/discussion/28314/you-are-trying-to-install-this-package-into-a-project-that-targets-xamarin-ios10 http://www.jimbobbennett.io/creating-a-nuget-pcl-that-works-with-xamarin-ios/

A solution that worked for me in Xamarin Studio: Change Build profile of PCL to PCL 4.5 - Profile49

jvanheugten avatar Jan 11 '16 11:01 jvanheugten

Could not install package 'Microsoft.Bcl.Build 1.0.14'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.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.

Adding Microsoft Build - from nuget first Microsoft.Bcl.Build.1.0.21 and then adding the firesharp solved it

gondar00 avatar Jan 21 '16 11:01 gondar00

I had the same problem when trying to install the package to a "Blank App (Native Portable)" in Visual Studio. The solution for me was to either create a "Blank App(Xamarin.forms Portable)" or Create the project in Xamarin studio as a single view application and then install the Nuget from there

sindresola avatar May 22 '16 12:05 sindresola

I am having the same issue, trying to install FireSharp 2.0.4 in a Xamarin Portable project.

Tried installing with 'ignore dependencies' turned on in an attempt to isolate the issue. I get the following error; Could not install package 'FireSharp 2.0.4'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile111', 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.

-- EDIT -- It appears that the FireSharp project targets .NET 4.0

MarkLawson avatar May 27 '16 02:05 MarkLawson

I have the same problem as MarkLawson, sindersola and kittythecat. Install-Package : Could not install package 'FireSharp 2.0.4'. You are trying to install a package into a project that targets '.NETPortable,Version=v.4.5,Profile=Profile111', but the package does not contain any assebly references or content files that are compatible with that framework. For more information, contact the package author.

Would be nice if it will be fixed soon, since it already exists over half a year now

brothers28 avatar Jul 13 '16 10:07 brothers28

I have the same issue. Could not install package 'FireSharp 2.0.4'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile259', 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.

vprysiazhnyi avatar Jul 18 '16 11:07 vprysiazhnyi

Here is the solution for Xamarin Studio:

Right-click on your Project (not solution) > Options > Build > General > Set your current Profile to PCL 4.0 - Profile 78. After clicking "OK" you need to Retarget the packages. Just right-click on the packages directory and select retarget. Now try to install the nuget package again :) It should work.

malohr avatar Dec 07 '16 15:12 malohr

same problem. Windows 10, VS 2015 Community.

Could not install package 'FireSharp 2.0.4'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile259', 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.

muehan avatar Mar 19 '17 19:03 muehan

i am using .net framework 4.5.2 and windows 8 and visual studio 2013 for my website but i am not able to install firesharp. below error occure when i am trying to run command in my package manager console

command: Install-Package FireSharp -Version 1.1.0 Error: Install-Package : The current environment doesn't have a solution open. At line:1 char:1

  • Install-Package FireSharp -Version 1.1.0
  •   + CategoryInfo          : InvalidOperation: (:) [Install-Package], InvalidOperationException
      + FullyQualifiedErrorId : NuGetNoActiveSolution,NuGet.PowerShell.Commands.InstallPackageCommand
    
    
    

Can anyone help me?

dhruviSanghani avatar Jul 04 '17 14:07 dhruviSanghani