My friend, you are wrong here. Primary NOC [for which you have applied for] should have minimum of 1 year of experience in past 10 years, if you have that, you are good to apply.
You can claim rest of the points by showing other jobs that you have done, and that should be listed in Skill Type 0, Skill Level A or B. So if you have applied for 2174 and have an experience of 1 year and worked 5 years in 2173, you'll be awarded 6 years points instead of 1.
2174 [or any other primary NOC] is the basic criteria to qualify, but CIC is not that harsh and will not ruthlessly reject the rest of the experience you had.
Proof?
I have almost 2.5 years of experience in 2174, and almost same in 2175 cum 2174 [web development], in my GCMS, I have been awarded for all the experience I have. Even Visa Officer had no issue that I have been working as web programmer for past 2 years.