Error when trying to build or publish primary target in 3.1

This forum is for all Flare issues related to the Microsoft HTML Help target.
This target produces "CHM" files in the output.
Post Reply
Sues
Jr. Propeller Head
Posts: 3
Joined: Wed Mar 14, 2007 2:36 pm

Error when trying to build or publish primary target in 3.1

Post by Sues »

I get the following error when I try to build or publish the primary target (HTML Help):

Failed to run command 'Build Primary'.

Exception: Culture name 'none' is not supported. Parameter name: name


I did not have this problem in 3.0. Has anyone else had this problem?
Sues
Jr. Propeller Head
Posts: 3
Joined: Wed Mar 14, 2007 2:36 pm

Post by Sues »

Tech support got back to me. It turns out that this is an issue in in Flare 3.1 when No Default Language has been set. Should anyone else have this problem, here is how you solve it:

In your Project, Click On Project, and Then Project Properties, and choose a language other than (never Spell Check). Once this is done you should be able to build your project.
RamonS
Senior Propellus Maximus
Posts: 4293
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Post by RamonS »

This is also covered in the Flare Knowledge Base here:

http://kb.madcapsoftware.com/default_csh.htm#OUTH1008F
helen
Sr. Propeller Head
Posts: 276
Joined: Thu Oct 25, 2007 5:57 am
Location: Manchester, UK

Re: Error when trying to build or publish primary target in 3.1

Post by helen »

*Bump* in case someone else has this problem and ends up here.... A very similar error is displayed when you loose your Primary Target. I have no idea how I lost my Primary Target but it caused this error when I pressed F6 (giving me mild heart attack in the process) :shock:
error.png
So if anyone else gets "Failed to run command "Build Primary" Object reference not set to an instance of an object", check that it still builds if you right-click on the Target, if it does, re-assign your Primary Target, it worked for me (thankfully)! :D

Bug submitted :wink:
You do not have the required permissions to view the files attached to this post.
Post Reply