Build Error with PaymentGateways - virtocommerce

I downloaded the last source code, but I cannot build mainly because of this error:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2428,5): error MSB6006: "LC.exe" exited with code -1.
in the PaymentGatewaysProject.
Error List in Visual Studio:
Error 1 "LC.exe" exited with code -1. PaymentGateways
Error 2 Metadata file 'C:\Users\Ale\Documents\Visual Studio 2012\Projects\virtoCommerce\src\Extensions\Payments\PaymentGateways\bin\Debug\VirtoCommerce.PaymentGateways.dll' could not be found C:\Users\Ale\Documents\Visual Studio 2012\Projects\virtoCommerce\Tests\FunctionalTests\CSC FunctionalTests
Error 3 Metadata file 'C:\Users\Ale\Documents\Visual Studio 2012\Projects\virtoCommerce\src\Extensions\Payments\PaymentGateways\bin\Debug\VirtoCommerce.PaymentGateways.dll' could not be found C:\Users\Ale\Documents\Visual Studio 2012\Projects\virtoCommerce\src\Presentation\FrontEnd\StoreWebApp\CSC StoreWebApp
Error 4 Metadata file 'C:\Users\Ale\Documents\Visual Studio 2012\Projects\virtoCommerce\Tests\FunctionalTests\bin\Debug\CommerceFoundation.FunctionalTests.dll' could not be found C:\Users\Ale\Documents\Visual Studio 2012\Projects\virtoCommerce\Tests\UI.FrontEnd.FunctionalTests\CSC UI.FrontEnd.FunctionalTests
Error 5 Metadata file 'C:\Users\Ale\Documents\Visual Studio 2012\Projects\virtoCommerce\src\Presentation\FrontEnd\StoreWebApp\bin\VirtoCommerce.Web.dll' could not be found C:\Users\Ale\Documents\Visual Studio 2012\Projects\virtoCommerce\Tests\UI.FrontEnd.FunctionalTests\CSC UI.FrontEnd.FunctionalTests
Error 6 Metadata file 'C:\Users\Ale\Documents\Visual Studio 2012\Projects\virtoCommerce\Tests\FunctionalTests\bin\Debug\CommerceFoundation.FunctionalTests.dll' could not be found C:\Users\Ale\Documents\Visual Studio 2012\Projects\virtoCommerce\Tests\UI.FunctionalTests.Helpers\CSC UI.FunctionalTests.Helpers
Error 7 Metadata file 'C:\Users\Ale\Documents\Visual Studio 2012\Projects\virtoCommerce\Tests\FunctionalTests\bin\Debug\CommerceFoundation.FunctionalTests.dll' could not be found C:\Users\Ale\Documents\Visual Studio 2012\Projects\virtoCommerce\Tests\UI.FunctionalTests\CSC UI.FunctionalTests
Error 8 Metadata file 'C:\Users\Ale\Documents\Visual Studio 2012\Projects\virtoCommerce\Tests\UI.FunctionalTests.Helpers\bin\Debug\UI.FunctionalTests.Helpers.dll' could not be found C:\Users\Ale\Documents\Visual Studio 2012\Projects\virtoCommerce\Tests\UI.FunctionalTests\CSC UI.FunctionalTests

After trying and googling a little bit I found this simple step that solved the build problem:
Delete the CONTENT of the file: licenses.licx
nsoftware.InPay.Icharge, nsoftware.InPayWeb, Version=6.0.5329.0,
Culture=neutral, PublicKeyToken=cdc168f89cffe9cf

Related

Microsoft Visual Studio "error cs0103: the name"

I'm getting this error in Microsoft Visual Studio when using a textbox in the code behind.
Error CS0103 The name 'tb_dt_inic' does not exist in the current context
The textbox exist's in the *.aspx file:
It's suggested when I type in the code behind but still getting the error!
https://i.stack.imgur.com/05fSI.png
https://i.stack.imgur.com/9XISV.png
https://i.stack.imgur.com/fCXFT.png
Is it a bug or am I missing something?
Already check I have the latest Microsoft Visual Studio Version (17.4.4).

Folly compiler error making build fail. Is there a workaround?

Error message:
Building Solution: C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\XamlCompiler\Microsoft.Windows.UI.X...
× Build failed with message C:\Users\Larkuo\Documents\Work\El-Parah\Code\storeWindows\store\node_modules.folly\folly-2021.06.28.00\folly\lang\Assume.cpp(26,3):
error C2131: expression did not evaluate to a constant [C:\Users\Larkuo\Documents\Work\El-Parah\Code\storeWindows\store\node_modules\react-native-windows\Folly\Folly.vcxproj].
Check your build configuration.
react-native run-windows fails to build
Original build on windows 11 works fine but on windows 10 it returns this error
Run with visual studio code

Converting to VS 2017 .csproj format with PackageReference

I have a legacy solution which I've been gradually upgrading and now want to upgrade the .csproj and .vbproj files to the new 2017 format with PackageReference rather than the packages.config.
The overall solution has around 60+ projects so migrating by hand would be VERY painful. I've been searching for a utility to automate the process without success. Does anyone know of any scripts out there for doing this?
I've tried using NuGet PackageReference Upgrader but id doesn't work. I get the following error in my output window
24/05/2018 8:37:22 AM: Update failed. Exceptions:
24/05/2018 8:37:22 AM: Message: Object reference not set to an instance of an object.
at CloudNimble.PackageReferenceUpgrader.NuGetUpgraderPackage.<>c__DisplayClass9_1.<UpgradePackagesConfig>b__12(XElement c) in C:\projects\packagereferenceupgrader\src\CloudNimble.PackageReferenceUpgrader\NuGetUpgraderPackage.cs:line 187
at System.Linq.Enumerable.<>c__DisplayClass6_0`1.<CombinePredicates>b__0(TSource x)
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at CloudNimble.PackageReferenceUpgrader.NuGetUpgraderPackage.<>c__DisplayClass9_0.<UpgradePackagesConfig>b__1(Int32 i) in C:\projects\packagereferenceupgrader\src\CloudNimble.PackageReferenceUpgrader\NuGetUpgraderPackage.cs:line 187
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object )
24/05/2018 8:37:43 AM: Backup created for D:\workspace\e5tfs\dataract461\e5 Releases\Dev\e5 Foundation\e5 Legacy\Source\SharedAssemblies\Repository\packages.config.
24/05/2018 8:37:43 AM: Update failed. Exceptions:
24/05/2018 8:37:43 AM: Message: Object reference not set to an instance of an object.
at CloudNimble.PackageReferenceUpgrader.NuGetUpgraderPackage.<>c__DisplayClass9_1.<UpgradePackagesConfig>b__12(XElement c) in C:\projects\packagereferenceupgrader\src\CloudNimble.PackageReferenceUpgrader\NuGetUpgraderPackage.cs:line 187
at System.Linq.Enumerable.<>c__DisplayClass6_0`1.<CombinePredicates>b__0(TSource x)
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at CloudNimble.PackageReferenceUpgrader.NuGetUpgraderPackage.<>c__DisplayClass9_0.<UpgradePackagesConfig>b__1(Int32 i) in C:\projects\packagereferenceupgrader\src\CloudNimble.PackageReferenceUpgrader\NuGetUpgraderPackage.cs:line 187
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object )
Converting to VS 2017 .csproj format with PackageReference
I have created a simple sample with packages.config, I can migrate it to PackageReference via the tool NuGet PackageReference Upgrader. It is difficult to figure out the reason why you get that error based on the error log.
You can contact the owner of that extension by Q & A, If you are interested in.
To accomplish migrate Packages.config to PackageReference, you can download the Visual Studio Version 15.7 Preview 3, which supports migrating a project from the packages.config management format to the PackageReference format. Check the Visual Studio Blog: Visual Studio 2017 version 15.7 Preview 3 for some more details.

Error migrating from GeneXus 9 to GeneXus Evo 2 U5

I'm migrating a KB from GeneXus 9 to GeneXus Evo 2 U5. I'm using .Net and SQL Server, and followed the steps that are mentioned in GXTechnical but I have the following error:
========== DeveloperMenu Compilation started ==========
gxexec "C:\Modelos GX\Postulantes\DATAPROT\bldDevelopermenu.cs" -r:GxBaseBuilder.dll -arg:csc="C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe" -arg:mdlpath="C:\Modelos GX\Postulantes\DATAPROT"
Building bin\messages.spa.dll
Read in 570 resources from 'messages.spa.txt'
Writing resource file... Done.
Compilador de Microsoft (R) Visual C# 2008, versi¢n 3.5.30729.5420 para Microsoft (R) .NET Framework, versi¢n 3.5
(C) Microsoft Corporation. Reservados todos los derechos.
Error:Build error for target bin\GeneXus.Programs.Common.dll: .\GxObjectCollection.cs does not exist.
DeveloperMenu Compilation Failed
========== Assemblies Compilation started ==========
gxexec "C:\Modelos GX\Postulantes\DATAPROT\bldAssemblies.cs" -r:GxBaseBuilder.dll -arg:csc="C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe" /noconfig -arg:mdlpath="C:\Modelos GX\Postulantes\DATAPROT"
Error:Build error for target bin\GeneXus.Programs.Common.dll: .\GxObjectCollection.cs does not exist.
Assemblies Compilation Failed
Rebuild All Failed
What should I do to solve this problem?
Try these steps:
In GeneXus, go to Tools -> Explore Knowledgebase Directory
Delete all *.ari, *.0?? files
In GeneXus, go to Tools -> Explore Target Environment Directory
Delete that folder
In GeneXus, go to Build -> Rebuild All
If you keep having the same error, look at the entire output; there may be other errors before that one. If not, contact the GeneXus support team. If yes, search in google or search.genexus.com for solutions of that new errors.

Visual Studio 2010 Crash on project/form load

First i want to apologize for my english :S.
Hi i just got visual studio pro 2 days ago and every time i create a project, close VS 2010 and when i come back to work on my project and i click on my Form.vb i got every time : Visual Studio has stopped working.Then i tried run as administrator it doesn't work. What i don't understand it's when i click on show code the form load but the moment i click on it ,it just crashing and it's make me wanna drop laptop cascade...I've look on forum and post here but i haven't saw what i was searching.
Here the error that VS show me :(Those files doesn't exist i search)
Files that help describe the problem:
C:\Users\Usager\AppData\Local\Temp\WER152.tmp.WERInternalMetadata.xml
C:\Users\Usager\AppData\Local\Temp\WER18C9.tmp.appcompat.txt
C:\Users\Usager\AppData\Local\Temp\WER3520.tmp.hdmp
An unhandle win32 exception occured in devenv.exe[1688]
Unhandled exception at 0x777715de in devenv.exe: 0xC0000005: Access violation reading
location 0x00000000.
An unhandled exception of type 'System.ExecutionEngineException' occurred in
Microsoft.VisualStudio.Design.dll
Again thank you for your time to helping me.**
Here the Error log :
[02/07/12,18:22:19] Microsoft Visual Studio 2010 Professional - FRA: [2] UpdateFileFetcherFromMsi: Warning: Missing fwlink entry for cabinet: #GDR.cab
[02/07/12,18:22:19] Microsoft Visual Studio 2010 Professional - FRA: [2] UpdateFileFetcherFromMsi: Warning: Missing fwlink entry for cabinet: #QFE.cab
[02/07/12,18:55:04] VS70pgui: [2] Return for Visual Studio 2010 Tools pour SQL Server Compact 3.5 SP2 FRA indicates a failed installation. DepCheck indicates the component is installed.
[02/07/12,18:57:05] Microsoft Visual Studio 2010 Professional - FRA: [2] UpdateFileFetcherFromMsi: Warning: Missing fwlink entry for cabinet: #GDR.cab
[02/07/12,18:57:05] Microsoft Visual Studio 2010 Professional - FRA: [2] UpdateFileFetcherFromMsi: Warning: Missing fwlink entry for cabinet: #QFE.cab
[02/07/12,19:15:44] Microsoft Visual Studio 2010 Professional - FRA: [2] UpdateFileFetcherFromMsi: Warning: Missing fwlink entry for cabinet: #GDR.cab
[02/07/12,19:15:44] Microsoft Visual Studio 2010 Professional - FRA: [2] UpdateFileFetcherFromMsi: Warning: Missing fwlink entry for cabinet: #QFE.cab
**EndOfSession
Could be the *.suo file next to the .sln file. Delete it and retry?
See this for more info
I had a similar error. I found out that the destination path had too many characters and was too long. I fixed it by moving the whole project to my main drive (C:).