JamesZhuBt / dapper-dot-net

Automatically exported from code.google.com/p/dapper-dot-net
Other
0 stars 0 forks source link

Nuget package installation fails in .Net3.5 projects #45

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a .Net3.5 project
2. Try to install dapper.

What is the expected output? What do you see instead?
Expected to get the package installed. 

Error message: Install failed. Rolling back...
Unable to find framework assemblies that are compatible with the target 
framework '.NETFramework,Version=v3.5'.

What version of the product are you using? On what operating system?
Dapper 1.5, Visual Studio 2010 SP1, Windows 7.

Please provide any additional information below.
The installation fails because of references to .Net 4.0 assemblies.

Original issue reported on code.google.com by mcnamara...@gmail.com on 15 Jul 2011 at 8:28

Attachments:

GoogleCodeExporter commented 8 years ago
There is a .NET 3.5 branch of the code; it is possible the nuget package needs 
some love. As a temporary fix, it is also possible to use the .cs file directly 
(http://dapper-dot-net.googlecode.com/hg/Dapper/SqlMapper.cs) and add the 
CSHARP30 build symbol. I'll try and get nuget fixed when possible.

Original comment by marc.gravell on 15 Jul 2011 at 9:21

GoogleCodeExporter commented 8 years ago

Original comment by marc.gravell on 5 Aug 2014 at 3:44