How to solve "product does not contain the mandatory attribute 'version'. Please ensure you entered a version in the product file" - maven-3

I am facing the below error after upgrade my project to tycho 1.0.0. Earlier it was working fine. The error:
the product does not contain the mandatory attribute 'version'. Please ensure you entered a version in the product file.
How can this be resolved?

I found a solution for this.
add version tag to the product file

Related

Delphi 11 Alexandria: Version info is missing from EXE

(Original question: I added a VERSIONINFO resource to the project, but it is missing from the compiled executable. I did a text search both in ANSI and Unicode, but the pattern is not found. Of course, the "Include version information in project" checkbox is ticked. Is it a bug or something I missed?)
Edited:
I try to reproduce the problem step by step with an empty project, but I can't, because the compiled program will contain the required version info. The steps are:
– I created an empty VCL forms application project
I repeated 2 steps below for all combinations of platforms and configurations:
-- in Project options/Version info I added a key "foobar" with value "barfoo"
-- I set Locale ID to $040$
saved and compiled the project
checked with Resource Hacker, the version info contains VALUE "FooBar", "BarFoo"
But then in the original problematic project, I see very similar version info settings: all platform/target combinations contain the specific key/value pair, locale ID's are set to $040$. So there are some magically wrong settings, perhaps in the .DPROJ file, that cause that the compiled exe won't contain the added key/value pair in the version info.
Edit2:
Sorry, the correct Locale ID is $040E (Hungarian). Both projects use the same toolchain. GExperts and a hacked version of DDevExtensions is installed. I tried to use ProjectMagician but later uninstalled. But those do not affect the problem. I use UPX, but the examined exe is unpacked. Later I re-imported the problematic project into XE11 as if it was a D7 project: I deleted all the project files except the .DPR, reopened the project and added target platform Win64, version info values and all other project settings manually. After a succesful compile, the problem still persists. I think, the project has a hidden or erroneus reference to an invalid resource file. But I still can't find it.

ofxCvImage.h file have list of errors

I am working with openFrameworks based project. The version of openFrameworks is https://github.com/openframeworks/openFrameworks
for more info
But the problem is when i add the project in openFramework library i got list of errors in ofxCvImage.h file".
I updated the recommended setting in xcode and Build Active Architecture Only to No.
Please help me to solve this.Suggest me if i have to change some paths.
If you check last marge and commit for the project , you can notice that
Remove ofMain.h where appropriate since it is included in ofApp.h templates.
Check Out
https://github.com/openframeworks/openFrameworks/pull/4675

Upload new package version to the nuget.org

I 've tried to upload a new verion of my package. I have not seen any special instructions for new version uploading, so i have tried to repeat the usual steps with the nuget.exe:
1) create .nuspec file
2) correct generated .nuspec file. Package id was not changed so it is simmilar to the already existing package name. Also i've correct dll name, version (1.0.0->1.1.1) and description
3) create .Nupkg file.
But when i am trying to upload new package, it ends up with an error:
'The title of your package, 'Gin', is similar to the ID of an existing package, which can cause confusion with our users. Please modify the title of your package and try uploading again.'
Yes of coruse, previous Gin-package is already in the nuget. So what am i missing?
How can i upload a new version of my package?
The problem occurs if your title and/or assembly name of new version package differs from the origin title and/or assembly name.

ios app duplicated license: how is it built

Got error message while trying to install app on my test phone, after importing cocoa pods:
Multiple build commands for output file /Users/john/Library/Developer/Xcode/DerivedData/targetname-clmvbjcnurhbdsgnpyqpjpjerzvl/Build/Products/Release-iphoneos/targetname.app/LICENSE
I am guessing xcode is complaining about some build settings for license? If so, where in xcode is license generated? When I looked in the license file, it is just some Appache license agreement boilerplate text file...
I tried to remove the LICENSE referred and it still did not work...
BTW the same setting worked on simulator.
you might have several files in your project that have the same name. You just have to delete or rename the files with duplicate names and the problem is solved
there is the same question

build failed due to "Cannot open include file: 'WinHttpClient.h': No such file or directory"

I'm trying to build new product version using plastic.
I have added 4 header files to our working project compiled it locally and it works fine.
When I try to build a new solution to our product build is failing due to:
"HandleMessage.cpp(4): fatal error C1083: Cannot open include file: 'WinHttpClient.h': No such file or directory".
Do i need to add this files manually somewhere in plastic or something?!
I'm despaired there is no one at our company that knows the proper way to do it.
Any help will be appreciated.
For those who encounters this problem, the solution is simple.
You probably forgot to add the files to the source control.
You go to Items->Open Your project, look at the files to see if they marked as checked. If not marked as checked, select those items and then right click->add to source control. After that build a new version and pray to god! :)

Resources