Comments (4)
are you referring to .net 4.5.0? I see 4.5.2 in project properties. I changed to 4.5.0 and it built and tests were run successfully so it should work with 4.5.0.
To be honest though, I'm not entirely sure how best to do framework targeting in a package. Would be happy to merge a pull request if you figure it out.
Kyle
from dotnetshipping.
Hi, I changed from 4.5.2 to 4.5.
I still get errror:
Error 22 'DotNetShipping.ShippingProviders.UPSProvider.DEVELOPMENT_RATES_URL' is a 'field' but is used like a 'type' C:\dev\other project\DotNetShipping-master\DotNetShipping-master\DotNetShipping\ShippingProviders\UPSProvider.cs 129 75 DotNetShipping
Error 21 'DotNetShipping.ShippingProviders.UPSProvider.UseProduction' is a 'property' but is used like a 'type' C:\dev\other project\DotNetShipping-master\DotNetShipping-master\DotNetShipping\ShippingProviders\UPSProvider.cs 129 36 DotNetShipping
Error 18 ; expected C:\dev\other project\DotNetShipping-master\DotNetShipping-master\DotNetShipping\ShippingProviders\UPSProvider.cs 129 33 DotNetShipping
Error 19 ; expected C:\dev\other project\DotNetShipping-master\DotNetShipping-master\DotNetShipping\ShippingProviders\UPSProvider.cs 129 73 DotNetShipping
Error 20 Invalid token ';' in class, struct, or interface member declaration C:\dev\other project\DotNetShipping-master\DotNetShipping-master\DotNetShipping\ShippingProviders\UPSProvider.cs 129 96 DotNetShipping
Error 23 The call is ambiguous between the following methods or properties: 'DotNetShipping.Extensions.ToUpsShipCode(string)' and 'DotNetShipping.Extensions.ToUpsShipCode(string)' C:\dev\other project\DotNetShipping-master\DotNetShipping-master\DotNetShipping\ShippingProviders\UPSProvider.cs 217 51 DotNetShipping
Error 14 The type or namespace name 'IRateAdjuster' could not be found (are you missing a using directive or an assembly reference?) C:\dev\other project\DotNetShipping-master\DotNetShipping-master\SampleApp\PercentageRateAdjuster.cs 3 43 SampleApp
Error 16 The type or namespace name 'Rate' could not be found (are you missing a using directive or an assembly reference?) C:\dev\other project\DotNetShipping-master\DotNetShipping-master\SampleApp\PercentageRateAdjuster.cs 12 16 SampleApp
Error 17 The type or namespace name 'Rate' could not be found (are you missing a using directive or an assembly reference?) C:\dev\other project\DotNetShipping-master\DotNetShipping-master\SampleApp\PercentageRateAdjuster.cs 12 32 SampleApp
Error 15 The type or namespace name 'ShippingProviders' does not exist in the namespace 'DotNetShipping' (are you missing an assembly reference?) C:\dev\other project\DotNetShipping-master\DotNetShipping-master\SampleApp\Program.cs 5 22 SampleApp
Error 4 Unexpected character '$' C:\dev\other project\DotNetShipping-master\DotNetShipping-master\DotNetShipping.Tests\Features\UPSRates.cs 48 29 DotNetShipping.Tests
Error 5 Unexpected character '$' C:\dev\other project\DotNetShipping-master\DotNetShipping-master\DotNetShipping.Tests\Features\UPSRates.cs 71 29 DotNetShipping.Tests
Error 6 Unexpected character '$' C:\dev\other project\DotNetShipping-master\DotNetShipping-master\DotNetShipping.Tests\Features\UPSRates.cs 94 29 DotNetShipping.Tests
Error 7 Unexpected character '$' C:\dev\other project\DotNetShipping-master\DotNetShipping-master\DotNetShipping.Tests\Features\UPSRates.cs 117 29 DotNetShipping.Tests
Error 8 Unexpected character '$' C:\dev\other project\DotNetShipping-master\DotNetShipping-master\DotNetShipping.Tests\Features\UPSRates.cs 143 29 DotNetShipping.Tests
Error 9 Unexpected character '$' C:\dev\other project\DotNetShipping-master\DotNetShipping-master\DotNetShipping.Tests\Features\UPSRates.cs 166 29 DotNetShipping.Tests
Error 10 Unexpected character '$' C:\dev\other project\DotNetShipping-master\DotNetShipping-master\DotNetShipping.Tests\Features\UPSRates.cs 189 29 DotNetShipping.Tests
from dotnetshipping.
I didn't have the same issue. I changed the targeting to .net 4.5 and will publish a new NuGet package shortly.
from dotnetshipping.
v0.9.5.90 now available on NuGet.
from dotnetshipping.
Related Issues (20)
- UPS International rate is not correct HOT 5
- Not able to get International rate HOT 1
- USPS rating engine does not handle 5 + 4 zip codes HOT 3
- UPS Rates Not being returned HOT 5
- SurePost not an option HOT 2
- Address in Spain does not return UPS rate HOT 3
- Get XML Request from request HOT 1
- Postal code of International address (ship-to) is not sent in request HOT 7
- UPS Saturday delivery not an option HOT 1
- Question: How do I get my License Number for UPS? HOT 1
- USPS: Not calculating packages total correctly when multiple packages HOT 1
- UPS - UseNegotiatedRates not working because of StateProvinceCode
- FedEx API is old
- Delivery vs Transit Times (FEDEX)
- Returning Charges even wrong postal code HOT 1
- USPS Signature Required On Delivery
- Log Requests/Responses
- USPS not returning Commitment Date / Delivery Date HOT 1
- Still being maintained? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotnetshipping.