Giter VIP home page Giter VIP logo

Comments (9)

viniciusjarina avatar viniciusjarina commented on July 26, 2024 2

You are correct. It seems there is something strange with the sn. I will take a look into that. Thank you for your report @UweKeim

from keralua.

viniciusjarina avatar viniciusjarina commented on July 26, 2024 1

which version specifically? The previous version has a bug where the nuspec file was including lua53.dll as a .NET framwork dll. The latest version should work, if isn't working we should fix and update, not downgrade 😉
How can I repro the issue?

from keralua.

viniciusjarina avatar viniciusjarina commented on July 26, 2024 1

Also, the listing is only for search.
If you really want to target old versions just point the old version on PackageReference or package.config and use NuGet restore.

https://support.appharbor.com/discussions/problems/2959-downloading-unlisted-nuget-packages

from keralua.

viniciusjarina avatar viniciusjarina commented on July 26, 2024 1

This seem to be an error with the strong name assembly signature.

https://forums.asp.net/t/1168781.aspx?+Strong+name+signature+could+not+be+verified+

from keralua.

viniciusjarina avatar viniciusjarina commented on July 26, 2024 1

from keralua.

UweKeim avatar UweKeim commented on July 26, 2024 1

What a fast fix, thank you very much!

from keralua.

UweKeim avatar UweKeim commented on July 26, 2024

Thanks, Vinicius

I honestly don't know. The build command that does bring up the error in #40 is:

"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe" "C:\MyProject\MySolution.sln" /p:Configuration=Release;optimize=true;MvcBuildViews=true /t:Clean;Rebuild

And to quote the error again, it is:

ASPNETCOMPILER : error ASPCONFIG: Die Datei oder Assembly "KeraLua, Version=1.0.3.0, Culture=neutral, PublicKeyToken=6a194c04b9c89217" oder eine Abhängigkeit davon wurde nicht gefunden. Die Signatur mit starkem Namen konnte nicht überprüft werden. Die Assembly wurde möglicherweise geändert oder verzögert aber nicht vollständig mit dem richtigen privaten Schlüssel signiert. (Ausnahme von HRESULT: 0x80131045) [c:\MyProject\MyMvcApplication.csproj]

What stands out here to me is the "ASPNETCOMPILER" and "error ASPCONFIG".

Seems that the error is no "normal" compilation error but something related to ASP.NET MVC. I'm using .NET Framework 4.5.2.

Since the project runs normally when compiling from within Visual Studio 2017 and the error only seems to occur with the "MvcBuildViews" parameter for msbuild.

In case it helps, this is the web.config file for the project that failes to compile.

If I change "MvcBuildViews=true" to "MvcBuildViews=false", the msbuild command succeeds. But after all, I do want to also build all views to get any potential errors in CSHTML files, too.

from keralua.

UweKeim avatar UweKeim commented on July 26, 2024

I've created a new project from scratch to reproduce the error:

Dropbox download link of ZIP

There are two batch files:

  • "build-fail.cmd" to illustrate the msbuild error.
  • "build-success.cmd" to illustrate the msbuild success., when setting "MvcBuildViews=false".

I was able to reproduce the error with the above ZIP on two independent machines.

from keralua.

UweKeim avatar UweKeim commented on July 26, 2024

Thanks. From what I read from your forum link, this is something that has to be done on your side, not mine.

Correct?

from keralua.

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.