Giter VIP home page Giter VIP logo

Comments (4)

kylewest avatar kylewest commented on July 16, 2024

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.

SANOZUKESAKARA avatar SANOZUKESAKARA commented on July 16, 2024

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.

kylewest avatar kylewest commented on July 16, 2024

@SANOZUKESAKARA @solmead

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.

kylewest avatar kylewest commented on July 16, 2024

v0.9.5.90 now available on NuGet.

from dotnetshipping.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.